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

Bug#315502: gcc-3.3: [sparc] gcc -m64 fails to link binaries



Looks like a configure error. -V expects the version as an
argument. Do you really need to use -V at all?

Blars Blarson writes:
> 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.



Reply to: