bug-binutils
[Top][All Lists]
Advanced

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

Can't build 2.20 for VxWorks with GCC 4.5.0 on Mac OS X Snow Leopard


From: Simon Wright
Subject: Can't build 2.20 for VxWorks with GCC 4.5.0 on Mac OS X Snow Leopard
Date: Sun, 31 Jan 2010 22:30:33 +0000

The build fails with

gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.20/binutils  -I. 
-I../../binutils-2.20/binutils -I../bfd -I../../binutils-2.20/binutils/../bfd 
-I../../binutils-2.20/binutils/../include -I./../intl 
-DLOCALEDIR="\"/opt/gcc-4.5.0-i686/share/locale\"" 
-Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Werror -g -O2 -MT strings.o -MD -MP -MF .deps/strings.Tpo 
-c -o strings.o ../../binutils-2.20/binutils/strings.c
cc1: warnings being treated as errors
../../binutils-2.20/binutils/strings.c: In function ‘strings_file’:
../../binutils-2.20/binutils/strings.c:419:3: error: ‘stat64’ is deprecated 
(declared at /usr/include/sys/stat.h:465)
make[4]: *** [strings.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make: *** [all] Error 2

Recompiling just this file without -Werror works, of course.

The configuration command was

$ ../binutils-2.20/configure --prefix=/opt/gcc-4.5.0-i686 
--target=powerpc-wrs-vxworks

The C compiler was (from config.log)

configure:4029: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gcc-4.5.0-i686/libexec/gcc/i686-apple-darwin10.2.0/4.5.0/lto-wrapper
Target: i686-apple-darwin10.2.0
Configured with: ../gcc-trunk-svn/configure --prefix=/opt/gcc-4.5.0-i686 
--build=i686-apple-darwin10.2.0 --disable-multilib --enable-languages=c,ada 
--with-gmp=/opt/gnu --with-mpfr=/opt/gnu --with-mpc=/opt/gnu
Thread model: posix
gcc version 4.5.0 20100131 (experimental) [trunk revision 156398] (GCC) 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]