TritonDataCenter / illumos-extra

Extra non-ON software required for Illumos
Other
39 stars 47 forks source link

OS-8599 binutils does needless link against libfl #135

Closed tsoome closed 15 hours ago

tsoome commented 1 day ago

I got build error while building binutils, proto.strap compiler failed to locate libfl. Investigating the issue, I have determined the binutils does not actually need to be linked against libfl at all. Therefore the fix would be a small patch of Makefile.am to prevent libfl to be used to link the binaries.

tsoome commented 1 day ago

Please make sure you update the bug report to link to relevant other bugs.

It is pretty standalone really -- I only discovered it because I had gcc from illumos-extras in proto.strap tree and build used it to construct binutils. Builds with this update are good, neither gcc10 nor gcc14 are complaining, issue is updated, also provided sample outputs from ldd and basic command execution.

danmcd commented 17 hours ago

IA is here, but will be cleared when you sync. It is here, however.