[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/10504] New: Build with gcc-4.4 fails
From: |
hgb at ifi dot uio dot no |
Subject: |
[Bug gold/10504] New: Build with gcc-4.4 fails |
Date: |
10 Aug 2009 11:03:06 -0000 |
Building binutils with --enable-gold fails with gcc-4.4. I'm building a
cross-compiler for powerpc (host is x86). The failure is:
make[4]: Entering directory
`/data/sata/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/build-binutils/gold'
if g++ -DHAVE_CONFIG_H -I. -I../../binutils-2.19.1/gold -I.
-I../../binutils-2.19.1/gold -I../../binutils-2.19.1/gold/../include
-I../../binutils-2.19.1/gold/../elfcpp
-DLOCALEDIR="\"/tandberg/system/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/share/locale\""
-DBINDIR="\"/tandberg/system/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/bin\""
-DTOOLBINDIR="\"/tandberg/system/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/powerpc-linux/bin\""
-W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-frandom-seed=reduced_debug_output.o -g -O2 -MT reduced_debug_output.o -MD -MP
-MF ".deps/reduced_debug_output.Tpo" -c -o reduced_debug_output.o
../../binutils-2.19.1/gold/reduced_debug_output.cc; \
then mv -f ".deps/reduced_debug_output.Tpo"
".deps/reduced_debug_output.Po"; else rm -f ".deps/reduced_debug_output.Tpo";
exit 1; fi
cc1plus: warnings being treated as errors
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h: In function void
gold::Insert_into_vector(std::vector<unsigned char, std::allocator<unsigned
char> >*, typename elfcpp::Valtype_base<size>::Valtype) [with int valsize =
16]:
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:185: error: dereferencing
pointer wv.278 does break strict-aliasing rules
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:193: note: initialized from
here
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:185: error: dereferencing
pointer wv.279 does break strict-aliasing rules
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:193: note: initialized from
here
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h: In function void
gold::Insert_into_vector(std::vector<unsigned char, std::allocator<unsigned
char> >*, typename elfcpp::Valtype_base<size>::Valtype) [with int valsize =
32]:
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:185: error: dereferencing
pointer wv.274 does break strict-aliasing rules
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:193: note: initialized from
here
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:185: error: dereferencing
pointer wv.275 does break strict-aliasing rules
../../binutils-2.19.1/gold/../elfcpp/elfcpp_swap.h:193: note: initialized from
here
make[4]: *** [reduced_debug_output.o] Error 1
make[4]: Leaving directory
`/data/sata/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/build-binutils/gold'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/data/sata/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/build-binutils/gold'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/data/sata/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/build-binutils/gold'
make[1]: *** [all-gold] Error 2
make[1]: Leaving directory
`/data/sata/toolchain/ppc_gcc-4.4.1_glibc-2.10.1_i686-linux-1/build-binutils'
make: *** [all] Error 2
--
Summary: Build with gcc-4.4 fails
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: ian at airs dot com
ReportedBy: hgb at ifi dot uio dot no
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10504
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/10504] New: Build with gcc-4.4 fails,
hgb at ifi dot uio dot no <=