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

Bug#281445: gcc-3.3: generated object file cannot be linked



Package: gcc-3.3
Version: 1:3.3.5-2
Severity: important

When building memtest86 with gcc-3.3, we get the following failure at
link-time:

gcc-3.3 -c -m32 -fPIC -Wall -O -fno-strict-aliasing reloc.c
[...]
ld --warn-constructors --warn-common -static -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o
__i686.get_pc_thunk.bx: discarded in section .gnu.linkonce.t.__i686.get_pc_thunk.bx' from reloc.o

It does build fine with both gcc_3.2.3-9 and gcc_3.4.2-3.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i586)
Kernel: Linux 2.4.23-k6+preempt+acl
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gcc-3.3 depends on:
ii  binutils                    2.15-4       The GNU assembler, linker and bina
ii  cpp-3.3                     1:3.3.5-2    The GNU C preprocessor
ii  gcc-3.3-base                1:3.3.5-2    The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.2-3    GCC support library

-- no debconf information

-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>



Reply to: