Binutils causes abnormally large, non-working binaries since 2.43
Bastiaan Timmer
basjetimmer@yahoo.com
Mon Feb 17 17:35:14 GMT 2025
Again apologies, I keep forgetting to hit "reply all" instead of just
"reply". However, this time this message is also updated with some more
info:
Thanks you for your thorough reply. It looks like you are onto
something: I've compiled binutils-2.43 with just that commit undone, and
all sizes seem to be back to normal.
Contrary to what I mentioned in my previous (accidentally private)
message, this also solves the problem of executables linked to this
package not working: this change seems to solve everything. I've updated
the github page I made for this with this new information, including a
diff:
https://github.com/bepaald/binutils_issue/tree/main?tab=readme-ov-file#update
Of course I do not know the intended use for this particular commit, so
I won't suggest reverting it, maybe it simply needs fixing. But I'm well
out of my depth here, so I hope someone else can pick up, though I'm
more than willing to follow any instructions if I can help in any way.
Thank you again.
Kind regards,
Bas
On 17-02-2025 14:08, Dimitry Andric wrote:
> My first guess would be https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=121a3f4b4f4aac216abe239f6f3bd491b63e5e34, "Update objcopy's --section-alignment option so that it sets the alignment flag on PE sections". But I'm unsure whether the build process for this openssl package is using objcopy.
>
> -Dimitry
>
More information about the Binutils
mailing list