This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build Failure


Hi,

I've never built binutils before, so I'm not sure if I'm doing
something stupid, but I wasn't able to find this error on google. I'm
using gcc and so therefore using a separate build directory
(binutils-2.19.1-build). I'm using the newest version of gcc (4.4.0)
and make (3.81), but old glibc on i686. I'm trying to install glibc
eventually, but it says I need a newer version of ld and as - hence
I'm installing binutils.

Does anyone have any ideas on how to fix this? Thanks in advance.

[ben@alfred binutils-2.19.1-build]$ ./../binutils-2.19.1/configure
--prefix=/home/ben/install
... (works fine)
[ben@alfred binutils-2.19.1-build]$ make
...
make[4]: Entering directory `/home/ben/programs/binutils-2.19.1-build/bfd'
rm -f bfd-tmp.h
cp bfd-in3.h bfd-tmp.h
/bin/sh .././../binutils-2.19.1/bfd/../move-if-change bfd-tmp.h bfd.h
rm -f bfd-tmp.h
touch stmp-bfd-h
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.././../binutils-2.19.1/bfd -I. -DTRAD_CORE -I.
-I.././../binutils-2.19.1/bfd -I.././../binutils-2.19.1/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o
archive.lo .././../binutils-2.19.1/bfd/archive.c
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I.././../binutils-2.19.1/bfd -I. -DTRAD_CORE -I.
-I.././../binutils-2.19.1/bfd -I.././../binutils-2.19.1/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
.././../binutils-2.19.1/bfd/archive.c -o archive.o
cc1: warnings being treated as errors
.././../binutils-2.19.1/bfd/archive.c: In function
'_bfd_archive_bsd_update_armap_timestamp':
.././../binutils-2.19.1/bfd/archive.c:2322: error: dereferencing
pointer '__u' does break strict-aliasing rules
.././../binutils-2.19.1/bfd/archive.c:2322: note: initialized from here
.././../binutils-2.19.1/bfd/archive.c:2322: error: dereferencing
pointer '__u' does break strict-aliasing rules
.././../binutils-2.19.1/bfd/archive.c:2322: note: initialized from here
.././../binutils-2.19.1/bfd/archive.c:2322: error: dereferencing
pointer '__u' does break strict-aliasing rules
.././../binutils-2.19.1/bfd/archive.c:2322: note: initialized from here
make[4]: *** [archive.lo] Error 1
make[4]: Leaving directory `/home/ben/programs/binutils-2.19.1-build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ben/programs/binutils-2.19.1-build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ben/programs/binutils-2.19.1-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/ben/programs/binutils-2.19.1-build'
make: *** [all] Error 2


Thanks again in advance,
ben


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]