http://sourceware.org/bugzilla/show_bug.cgi?id=5276 http://sourceware.org/bugzilla/show_bug.cgi?id=12608 http://lists.debian.org/debian-alpha/2011/05/msg00000.html Once these issues are worked out, we should patch our binutils and remove the use alpha && append-ldflags "-Wl,--no-relax" work-arounds from the following packages: dev-lang/ocaml mail-client/thunderbird net-libs/webkit-gtk net-libs/xulrunner sys-fs/jfsutils www-client/firefox www-client/icecat www-client/seamonkey
The problem in binutils has been fixed, see http://sourceware.org/bugzilla/show_bug.cgi?id=12928
there an easy patch we can put into binutils-2.21 ? and i wonder if upstream has added this for 2.21.1 ...
The patch (http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-alpha.c.diff?cvsroot=src&r1=1.179&r2=1.180) applies cleanly (offset 82 lines) to binutils-2.21. I'll do some testing on alpha and verify that it fixes some of the --relax problems seen with the packages we have workarounds in place for.
No, ld PR/12928 only fixes a problem that was introduced upstream about a year ago. It's not the big one causing the GPREL16 relocation errors on large C++ packages. You can also libreoffice (IIRC it is the sc and sm components) to your list of packages that need --no-relax. RTH also admitted to me that --no-relax is used in linking the kernel.
ive added the patch for pr12608 to 2.21 and 2.21.1
binutils-2.25 contains a fix for this. The bug in $URL is now marked as fixed.
i've added the fix to binutils-2.24-r3 http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.24/52_all_binutils-alpha-relax.patch?rev=1.1