https://sourceware.org/bugzilla/show_bug.cgi?id=33723

--- Comment #13 from Nick Clifton <nickc at redhat dot com> ---
This might not actually be a binutils problem.  Maybe.

Whilst investigating the issue I came across the fact that Fedora risc-v rpm
build system is post processing static archives by running them through a tool
called add-determinism.

This tool appears to be corrupting the symbols and relocations in the object
files inside the libraries.  Where in this case "corrupting" means that it is
changing the relocations for entries into mergeable string sections so that
they reference symbols placed beyond the end of the section and use negative
offsets to reach the desired place inside the section.  This sort of thing
might work for normal sections, but it breaks when megreable sections are
combined together.

I am unfamiliar with the add-determinism tool itself, so I cannot be sure that
this analysis is correct, but it is certainly worth a deeper investigation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to