Bug#315502: gcc-3.3: [sparc] gcc -m64 fails to link binaries
Package: gcc-3.3
Version: 1:3.3.5-13
Severity: important
Tags: etch sid
strace and ncurses fail to build on my sparc pbuilder with the error:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
running on up-to-date testing, I duplicate the error compiling strace
and find in configure.log:
configure:2424: gcc -m64 -V </dev/null >&5
gcc: `-V' must come at the start of the command line
configure:2427: $? = 1
configure:2450: checking for C compiler default output file name
configure:2453: gcc -m64 conftest.c >&5
/usr/bin/ld: cannot find -lgcc_s_64
collect2: ld returned 1 exit status
configure:2456: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "strace"
| #define PACKAGE_TARNAME "strace"
| #define PACKAGE_VERSION "4.5.12"
| #define PACKAGE_STRING "strace 4.5.12"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "strace"
| #define VERSION "4.5.12"
| #define LINUX 1
| #define SPARC64 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2495: error: C compiler cannot create executables
See `config.log' for more details.
libgcc_s_64.so is present in /usr/lib/gcc-lib/sparc-linux/3.3.5/
I see that it is in a subdirectory of /usr/lib/gcc/ in the 3.4.4 and
4.0.1 versions of gcc.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-sparc64-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gcc-3.3 depends on:
ii binutils 2.15-6 The GNU assembler, linker and bina
ii cpp-3.3 1:3.3.5-13 The GNU C preprocessor
ii gcc-3.3-base 1:3.3.5-13 The GNU Compiler Collection (base
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.0-9 GCC support library
-- no debconf information
--
Blars Blarson blarson@blars.org
http://www.blars.org/blars.html
With Microsoft, failure is not an option. It is a standard feature.
Reply to: