bug-binutils
[Top][All Lists]
Advanced

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

can't build gold on FreeBSD


From: Chris Jones
Subject: can't build gold on FreeBSD
Date: Sun, 01 Aug 2010 09:00:30 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1

 Hi folks--

I'm trying to get gccgo to go, using the latest sources from binutils for gold. I did a quick google search, and this doesn't appear to be a known bug. Any help would be greatly appreciated.

Here are my system details, followed by binutils info, followed by the bug:

maxwell$ uname -a
FreeBSD maxwell.cjones.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 address@hidden:/usr/obj/usr/src/sys/GENERIC i386

binutils checked out from address@hidden:/cvs/src a few minutes ago

Configured using: ../../gnusrc/binutils/configure --enable-gold --prefix=$HOME/gccgo

Built using: gmake

Error:

g++ -DHAVE_CONFIG_H -I. -I../../../gnusrc/binutils/gold -I../../../gnusrc/binutils/gold -I../../../gnusrc/binutils/gold/../include -I../../../gnusrc/binutils/gold/../elfcpp -DLOCALEDIR="\"/usr/home/chris/gccgo/share/locale\"" -DBINDIR="\"/usr/home/chris/gccgo/bin\"" -DTOOLBINDIR="\"/usr/home/chris/gccgo/i386-unknown-freebsd8.1/bin\"" -I./../intl -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=sparc.o -g -O2 -MT sparc.o -MD -MP -MF .deps/sparc.Tpo -c -o sparc.o ../../../gnusrc/binutils/gold/sparc.cc ../../../gnusrc/binutils/gold/sparc.cc: In member function 'void<unnamed>::Target_sparc<size, big_endian>::gc_process_relocs(gold::Symbol_table*, gold::Layout*, gold::Sized_relobj<size, big_endian>*, unsigned int, unsigned int, const unsigned char*, size_t, gold::Output_section*, bool, size_t, const unsigned char*) [with int size = 64, bool big_endian = true]':
../../../gnusrc/binutils/gold/sparc.cc:3343:   instantiated from here
../../../gnusrc/binutils/gold/sparc.cc:2333: error: dependent-name '<unnamed>::Target_sparc<size,big_endian>::Relocatable_size_for_reloc' is parsed as a non-type, but instantiation yields a type ../../../gnusrc/binutils/gold/sparc.cc:2333: note: say 'typename <unnamed>::Target_sparc<size,big_endian>::Relocatable_size_for_reloc' if a type is meant ../../../gnusrc/binutils/gold/sparc.cc: In member function 'void<unnamed>::Target_sparc<size, big_endian>::gc_process_relocs(gold::Symbol_table*, gold::Layout*, gold::Sized_relobj<size, big_endian>*, unsigned int, unsigned int, const unsigned char*, size_t, gold::Output_section*, bool, size_t, const unsigned char*) [with int size = 32, bool big_endian = true]':
../../../gnusrc/binutils/gold/sparc.cc:3343:   instantiated from here
../../../gnusrc/binutils/gold/sparc.cc:2333: error: dependent-name '<unnamed>::Target_sparc<size,big_endian>::Relocatable_size_for_reloc' is parsed as a non-type, but instantiation yields a type ../../../gnusrc/binutils/gold/sparc.cc:2333: note: say 'typename <unnamed>::Target_sparc<size,big_endian>::Relocatable_size_for_reloc' if a type is meant
gmake[4]: *** [sparc.o] Error 1
gmake[4]: Leaving directory `/usr/home/chris/gnuobj/binutils/gold'




reply via email to

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