This is the mail archive of the 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:
End of search list.
 as -V -Qy -o /tmp/ccqcBZro.o /tmp/ccgBIs5D.s
GNU assembler version (i386-linux) using BFD version 20030523 Debian GNU/Linux
 /usr/lib/gcc-lib/i386-linux/3.3/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ -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/ 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 :

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!

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