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]

gcc 3.3 and ld ERROR _Unwind_Resume_or_Rethrow@GCC_3.3 problem


Hello everyone!
I didn`t really mean to but it did it! I`ve just updated gcc to gcc3.3 on my debian machine (with apt while getting other stuff)
Now, trying to compile anything a bit more complicated (uses OpenGL , glut,qt which in the end need libstdc++ )fails :

gcc -v main.c -lGL -lglut  -o hand
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.3 (Debian)
 /usr/lib/gcc-lib/i386-linux/3.3/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 main.c -quiet -dumpbase main.c -auxbase main -version -o /tmp/ccgBIs5D.s
GNU C version 3.3 (Debian) (i386-linux)
        compiled by GNU C version 3.3 (Debian).
GGC heuristics: --param ggc-min-expand=73 --param ggc-min-heapsize=80613
ignoring nonexistent directory "/usr/i386-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/3.3/include
 /usr/include
End of search list.
 as -V -Qy -o /tmp/ccqcBZro.o /tmp/ccgBIs5D.s
GNU assembler version 2.14.90.0.4 (i386-linux) using BFD version 2.14.90.0.4 20030523 Debian GNU/Linux
 /usr/lib/gcc-lib/i386-linux/3.3/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o hand /usr/lib/gcc-lib/i386-linux/3.3/../../../crt1.o /usr/lib/gcc-lib/i386-linux/3.3/../../../crti.o /usr/lib/gcc-lib/i386-linux/3.3/crtbegin.o -L/usr/lib/gcc-lib/i386-linux/3.3 -L/usr/lib/gcc-lib/i386-linux/3.3/../../.. /tmp/ccqcBZro.o -lGL -lglut -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/lib/gcc-lib/i386-linux/3.3/crtend.o /usr/lib/gcc-lib/i386-linux/3.3/../../../crtn.o
/usr/bin/../lib/libstdc++.so.5: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status

The problem is that the same error is occuring when trying to use any other version of gcc (2.95,3.0,3.2) . 
I searched on the net and on this  list a all I could come up with was :

 http://gcc.gnu.org/ml/gcc-help/2003-05/msg00122.html
 http://gcc.gnu.org/ml/gcc-help/2003-05/msg00157.html
 http://gcc.gnu.org/ml/gcc-help/2003-05/msg00165.html

Which didn`t really help.
So can anyone help on this matter? I`m in pretty deep trouble sice I can`t compile anything so anyhelp would be great!
-- 
Lucian


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