solus-project / ypkg

Modern, declarative, structured build format

Home Page:https://solus-project.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unbreak Haskell

ikeydoherty opened this issue · comments

The latest ypkg change for .a files went that bit too far:
4ac22fb

Effectively we're removing the symbol tables too. strip is using default behaviour and actually doing a full strip on the archives, making them useless. Need to revert this change.

It's worth mentioning that --strip-debug does not affect the symbol tables enough to brick static linking. It only happens when you remove .comment or .note

That's actually not the problem here. When you call strip -R .comment it actually does it's normal behaviour as if it had been invoked as strip. I'm guessing its a binutils bug but meh.