[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2020-01-30 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=2834 Alan Modra changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2009-12-24 Thread arxidiamidia at yahoo dot com
--- Additional Comments From arxidiamidia at yahoo dot com 2009-12-24 08:08 --- Found this http://gcc.gnu.org/faq.html#gas and i make a symlink to ld and as that i have build in my machine and it shows the same error but collect2: ld returned 1 exit status is no longer there and it compi

[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2009-12-23 Thread arxidiamidia at yahoo dot com
--- Additional Comments From arxidiamidia at yahoo dot com 2009-12-23 19:43 --- (In reply to comment #4) > Hi Bert, > > If you need to link objects compiled with an old (unfixed) gcc, why not use > an > old set of binutils as well ? > > The problem with trying to patch the current

[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2008-05-21 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-05-21 09:43 --- Hi Bert, If you need to link objects compiled with an old (unfixed) gcc, why not use an old set of binutils as well ? The problem with trying to patch the current binutils is that essentially it would be to s

[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2008-05-06 Thread bert dot barbe at oracle dot com
--- Additional Comments From bert dot barbe at oracle dot com 2008-05-06 11:44 --- We see the same problem with ld 2.17 . The problem is as said , that there is code that is/ needs to be compiled with unfixed gcc compilers and it won't relink on systems with newer binutils (eg rhel5). Al

[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2006-07-07 Thread hniksic at xemacs dot org
--- Additional Comments From hniksic at xemacs dot org 2006-07-07 07:10 --- Even if this is caused by a GCC issue, there are still two things to consider: 1. The problem does not appear with older binutils, so they must be doing something right, even if inadvertently. 2. Even if the GC

[Bug ld/2834] Linker reports error "X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o" with g++ 3.3

2006-07-06 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-07-06 17:59 --- It is a gcc bug. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16276 is one of them. -- What|Removed |Added -