public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15599] New: Building groff elicits "ld: warning: relocation error: R_SPARC_UA32"
@ 2004-05-23 23:31 eggert at twinsun dot com
2004-05-24 1:23 ` [Bug c++/15599] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: eggert at twinsun dot com @ 2004-05-23 23:31 UTC (permalink / raw)
To: gcc-bugs
I get this problem when building groff 1.19.1 on Solaris 8 using GCC 3.4.0.
g++ -g -O2 -R/opt/reb/lib/gcc/gcc-3.4.0/lib -o troff dictionary.o div.o env.o
input.o majorminor.o node.o number.o reg.o
/reb/src/base/groff/src/libs/libgroff/libgroff.a -lm
ld: warning: relocation error: R_SPARC_UA32: file
/reb/src/base/groff/src/libs/libgroff/libgroff.a(getopt.o): symbol optarg:
external symbolic relocation against non-allocatable section .debug_info;
cannot be processed at runtime: relocation ignored
This problem reminds me of a long-ago bug I tried to file against
the Sun linker. See
http://groups.google.com/groups?selm=6ig3u8%248pg%241%40shade.twinsun.com
Sun has apparently rediscovered this bug using its own compiler; it's
Sun bugs 4910101 and 4910810, filed in September 2003. There is no
public fix yet.
It's not surprising that the bug would occur with GCC 3.4.0, as GCC
changed the default SPARC debug format in the 3.4.0 release.
Also see the following ancient bug report I filed against GCC:
http://groups.google.com/groups?selm=199802170858.AAA14957%40shade.twinsun.com
(groff 1.19.1 build note:
If you use Solaris make you need to substitute "shdeps.sh" for "$<" in
line 25 of groff-1.19.1/arch/misc/Makefile.sub to work around a groff
porting glitch.)
--
Summary: Building groff elicits "ld: warning: relocation error:
R_SPARC_UA32"
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eggert at twinsun dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15599
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-23 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 23:31 [Bug c++/15599] New: Building groff elicits "ld: warning: relocation error: R_SPARC_UA32" eggert at twinsun dot com
2004-05-24 1:23 ` [Bug c++/15599] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).