Bug 19960 - Gold failed to build with GCC 4.4
Summary: Gold failed to build with GCC 4.4
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gold (show other bugs)
Version: 2.27
: P2 normal
Target Milestone: ---
Assignee: Marcin Kościelnicki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 16:00 UTC by H.J. Lu
Modified: 2016-05-30 23:06 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2016-04-16 16:00:39 UTC
/usr/gcc-4.4/bin/g++ -DHAVE_CONFIG_H -I. -I/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold  -I/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold -I/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/../include -I/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/../elfcpp -DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\"" -DTOOLBINDIR="\"/usr/local/x86_64-pc-linux-gnu/bin\"" -DTOOLLIBDIR="\"/usr/local/x86_64-pc-linux-gnu/lib\""   -W -Wall    -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=s390.o  -g -O2 -MT s390.o -MD -MP -MF .deps/s390.Tpo -c -o s390.o /net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc
/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc: In member function \u2018bool<unnamed>::Target_s390<size>::ss_match_mcount(unsigned char*, gold::section_size_type, gold::section_offset_type*) const\u2019:
/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc:4434: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018const unsigned char []\u2019 
/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc:4474: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018const unsigned char []\u2019 
/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc: In member function \u2018void<unnamed>::Target_s390<size>::do_calls_non_split(gold::Relobj*, unsigned int, gold::section_offset_type, gold::section_size_type, const unsigned char*, size_t, unsigned char*, gold::section_size_type, std::string*, std::string*) const\u2019:
/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc:4659: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018const unsigned char []\u2019 
/net/gnu-6/export/gnu/import/git/sources/binutils-gdb/gold/s390.cc:4666: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018const unsigned char []\u2019
Comment 1 Marcin Kościelnicki 2016-05-30 23:06:05 UTC
Fixed by 40d85a7f9c3446db070bd792d9f2106dc9adaf8c