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

Bug#432599: gcc-4.2: Spurious warning building amd64 binaries on i386



Package: gcc-4.2
Version: 4.2-20070707-1
Severity: important

Attempting to build even the most basic amd64 binaries generate a
spurious warning on i386:

| broonie@lorien:/tmp$ cat foo.c
| int main(void)
| {
|         return 0;
| }
| broonie@lorien:/tmp$ gcc-4.1 -m64 foo.c -o foo
| broonie@lorien:/tmp$ gcc-4.2 -m64 foo.c -o foo
| /usr/bin/ld: error in /usr/lib/gcc/i486-linux-gnu/4.2.1/64/crtend.o(.eh_frame); no .eh_frame_hdr table will be created.

I'm pretty sure the same error was seen with GCC 4.1 earlier this year
although Google and my memory are failing me other than suggesting that
this may actually be a binutils problem rather than a GCC one.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.2 depends on:
ii  binutils               2.17cvs20070426-8 The GNU assembler, linker and bina
ii  cpp-4.2                4.2-20070707-1    The GNU C preprocessor
ii  gcc-4.2-base           4.2-20070707-1    The GNU Compiler Collection (base 
ii  libc6                  2.5-11            GNU C Library: Shared libraries
ii  libgcc1                1:4.2-20070707-1  GCC support library
ii  libgomp1               4.2-20070707-1    GCC OpenMP (GOMP) support library

Versions of packages gcc-4.2 recommends:
ii  libc6-dev                 2.5-11         GNU C Library: Development Librari
ii  libmudflap0-4.2-dev       4.2-20070707-1 GCC mudflap support libraries (dev

Other packages:
ii  lib64gcc1      1:4.2-20070707 GCC support library (64bit)

-- no debconf information



Reply to: