This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++.so: undefined ref to `_Unwind_GetIPInfo@GCC_4.2.0' when building GhostScript 8.64


Hello,

I recently built and installed GCC 4.4.0 and then tried 
to build GhostScript 8.64 using it.

The attempt failed with an error as in the Subject line (above).

The last few lines from the output of make are below.

btw, I ran the testsuite on the new compiler (the results are here):

    http://gcc.gnu.org/ml/gcc-testresults/2009-05/msg02684.html

What am I doing wrong?

Thanks for uour help.


gcc? -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long"???-I./psi -I./obj -I./obj -I./base? -o ./obj/iconfig.o -c ./obj/iconfig.c

gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long"???-O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long"???-I./base -I./obj/ -Izlib ./base/mkromfs.c -o ./obj/mkromfs ./obj/compress.o ./obj/deflate.o ./obj/zutil.o ./obj/adler32.o ./obj/crc32.o ./obj/trees.o ./obj/gscdefs.o ./obj/gsmisc.o ./obj/gpmisc.o ./obj/gslibctx.o ./obj/gp_getnv.o ./obj/gp_unix.o ./obj/gp_unifs.o ./obj/gp_unifn.o ./obj/gp_stdia.o ./obj/gsutil.o -lm -ldl -lm? -lstdc++? -lfontconfig? 

/usr/local/gcc-4.4.0/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../libstdc++.so: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'

collect2: ld returned 1 exit status
make: *** [obj/mkromfs] Error 1
make: Target `std' not remade because of errors.
 
$ gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: /usr/local/src/gcc/src/gcc-4.4.0/configure --srcdir=/usr/local/src/gcc/src/gcc-4.4.0 --prefix=/usr/local/gcc-4.4.0 --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld --enable-languages=c,c++,fortran,java
Thread model: posix
gcc version 4.4.0 (GCC) 






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]