[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#195913: gcc-3.3: undefined labels with -Os -fPIC



Package: gcc-3.3
Version: 1:3.3-2
Severity: important
Tags: upstream

While compiling XFree86 CVS with gcc-3.3 it compiles fine with default
optimization flags; but trying to compile with -Os results in undefined
symbols in shared libraries (i.e. this problem is only seen with -fPIC
and not otherwise) such as .L99. The problem was narrowed down to the
compilation of a few files e.g. xc/lib/Xaw/SimpleMenu.c, xc/lib/dps/dpsXclient.cA check of assembly code shows that .L99 was being called with it being
absent; with -O2 it was present. Same problem comes with undefined .L92 in
xc/lib/Xaw6/SimpleMenu.c

sumedh


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux localhost 2.4.20 #1 Fri May 23 20:59:59 IST 2003 i586
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set)

Versions of packages gcc-3.3 depends on:
ii  binutils                 2.14.90.0.2-0.1 The GNU assembler, linker and bina
ii  cpp-3.3                  1:3.3-2         The GNU C preprocessor
ii  gcc-3.3-base             1:3.3-2         The GNU Compiler Collection (base 
ii  libc6                    2.3.1-17        GNU C Library: Shared libraries an
ii  libgcc1                  1:3.3-2         GCC support library

-- no debconf information




Reply to: