Bug#410656: gcc-4.1: Missing symbol `_Unwind_GetIPInfo' building with gcc -m32 on amd64.
Package: gcc-4.1
Version: 4.1.1-21
Severity: normal
I'm trying to build the nspluginwrapper source on an amd64 machine. The
x86_64 part builds okay, but when it goes to build the i386 runtime part
with gcc -m32 the build is failing with the following error:
$ make
gcc -std=c99 -m32 -o npviewer.bin npviewer-npw-viewer.o npviewer-npw-rpc.o npviewer-rpc.o npviewer-debug.o npviewer-utils.o npviewer-npruntime.o npviewer-cxxabi-compat.o -m32 -Llsb-build-i386 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt -ldl -lpthread -Wl,--export-dynamic -Wl,--version-script,../src/npw-viewer.map -lsupc++
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/32/libsupc++.a(eh_personality.o): In function `__gxx_personality_v0':
(.text.__gxx_personality_v0+0xb8): undefined reference to `_Unwind_GetIPInfo'
collect2: ld returned 1 exit status
make: *** [npviewer.bin] Error 1
I've run through the list of gcc bugs and this is listed as a problem
with gcc 4.2, but not with 4.1.
(I've included the versions of the -i386 libc6 counterparts installed
below)
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages gcc-4.1 depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii cpp-4.1 4.1.1-21 The GNU C preprocessor
ii gcc-4.1-base 4.1.1-21 The GNU Compiler Collection (base
ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libssp0 4.1.1-21 GCC stack smashing protection libr
ii libc6-i386 2.3.6.ds1-11 GNU C Library: 32bit shared librar
Versions of packages gcc-4.1 recommends:
ii libc6-dev 2.3.6.ds1-11 GNU C Library: Development Librari
ii libmudflap0-dev 4.1.1-21 GCC mudflap support libraries (dev
ii libc6-dev-i386 2.3.6.ds1-11 GNU C Library: 32bit development l
-- no debconf information
Reply to: