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

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



merge 195911 195913
merge 195911 195915
merge 195911 195919
thanks

Please can you recheck this with binutils-2.14.90.0.4?

Sumedh Wale writes:
> 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



Reply to: