Relocation error, Solaris/SPARC, 20000320
Jim McKelvey
mckelvey@bean.jpl.nasa.gov
Tue Mar 21 11:52:00 GMT 2000
mushroom...PM>g++ -I/usr/local/include -DNO_NAMESPACE -D__USE_GNU
-D_GNU_SOURCE -g -ansi -pedantic -pedantic-errors -fsjlj-exceptions
-fno-keep-static-consts -fshort-enums -fstrict-aliasing -ffloat-store
-fno-common -ffor-scope -Wsign-promo -ftemplate-depth-30 -fverbose-asm
-fimplicit-templates -fno-external-templates -fno-repo -Wall -W -Wpointer-arith
-Wcast-qual -Wconversion -Wmissing-prototypes -Wwrite-strings -Winline
-Wno-long-long -L. -o compare --save-temps -v compare.cc
Reading specs from
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/specs
gcc version 2.96 20000320 (experimental)
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/cpp -lang-c++ -v -I/usr/local/include -D__GNUC__=2 -D__GNUG__=2
-D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__cplusplus -trigraphs
-D__STRICT_ANSI__ -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc
-D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -g -Wsign-promo
-Wall -W -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes
-Wwrite-strings -Winline -Wno-long-long -pedantic -pedantic-errors
-D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) -DNO_NAMESPACE -D__USE_GNU
-D_GNU_SOURCE compare.cc compare.ii
GNU CPP version 2.96 20000320 (experimental) (cpplib)
(sparc)
ignoring duplicate directory `/usr/local/include'
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/include/g++-3
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/include
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/sparc-sun-solaris2.5.1/includ
e
/usr/include
End of search list.
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/cc1plus compare.ii -quiet -dumpbase compare.cc -g -Wsign-promo -Wall
-W -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -Wwrite-strings
-Winline -Wno-long-long -pedantic -pedantic-errors -ansi -version
-fsjlj-exceptions -fno-keep-static-consts -fshort-enums -fstrict-aliasing
-ffloat-store -fno-common -ffor-scope -ftemplate-depth-30 -fverbose-asm
-fimplicit-templates -fno-external-templates -fno-repo -o compare.s
GNU C++ version 2.96 20000320 (experimental) (sparc-sun-solaris2.5.1) compiled
by GNU C version 2.96 20000320 (experimental).
/usr/ccs/bin/as -V -Qy -s -o compare.o compare.s
/usr/ccs/bin/as: WorkShop Compilers 4.2 dev 13 May 1996
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o compare
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/crt1.o
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/crti.o /usr/ccs/lib/values-Xc.o
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/crtbegin.o -L.
-L/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solar
is2.5.1/2.96 -L/usr/ccs/bin -L/usr/ccs/lib
-L/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solar
is2.5.1/2.96/../../.. compare.o -lstdc++ -lm -lgcc -lc -lgcc
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/crtend.o
/afs/jpl.nasa.gov/home/m/mckelvey/private/Software/lib/gcc-lib/sparc-sun-solaris
2.5.1/2.96/crtn.o
ld: Software Generation Utilities - Solaris/ELF (3.0)
ld: warning: relocation error: R_SPARC_32: file compare.o: symbol _:
external symbolic relocation against non-allocatable section .stab;
cannot be processed at runtime: relocation ignored
Undefined first referenced
symbol in file
_ compare.o
ld: fatal: Symbol referencing errors. No output written to compare
collect2: ld returned 1 exit status
mushroom...PM>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compare.ii.bz2
Type: application/x-bzip2
Size: 26711 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000321/50fcfa77/attachment.bz2>
More information about the Gcc-bugs
mailing list