On 10/26/25 2:57 PM, Andreas Schwab wrote:
On Okt 26 2025, Alexandre Oliva wrote:

OTOH, the uses of the INT_MAX constant in testcases from the duped PRs
114168 and 117460, that get added to data symbols because of loop IV
optimizations, don't seem artificial to me.  It looks like reasonable
code to me, not something we could respond to with "don't do that then".

See
https://build.opensuse.org/project/monitor/home:Andreas_Schwab:riscv:binutils
for two examples of packages that fail to build.  Note that the mame
package actually succeeds to build when using ld.mold instead of ld.bfd,
because mold places the rodata section differently, which shortens the
offset enough to fit.
I'll assume that mame fits in the medlow model? I haven't built mame in ages, but my recollection was that it was extremely large. The static parts all have to fit in a 2G.

Assuming that mame as a whole fits in the medium model, then yea, we have to do something about this.

jeff

Reply via email to