Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 438996

Summary: sys-devel/binutils-2.23.51.0.x: gold/powerpc.cc:3255:1: error: prototype for 'typename elfcpp::Elf_types<size>::Elf_Addr<unnamed>::Target_powerpc ... <size, big_endian>*, unsigned int*)' does not match any in class '<unnamed
Product: Gentoo Linux Reporter: A. Person <tesoro302>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description A. Person 2012-10-19 21:59:36 UTC
binutils-2.23.51.0.3 fails to compile on a Beaglebone:

/var/tmp/portage/sys-devel/binutils-2.23.51.0.3/work/binutils-2.23.51.0.3/gold/powerpc.cc:510:3: error: candidate is: <unnamed>::Target_powerpc<size, big_endian>::Address<unnamed>::Target_powerpc<size, big_endian>::symval_for_branch(<unnamed>::Target_powerpc<size, big_endian>::Address, const gold::Sized_symbol<size>*, <unnamed>::Powerpc_relobj<size, big_endian>*, unsigned int*)
make[4]: *** [powerpc.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.23.51.0.3/work/build/gold'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.23.51.0.3/work/build/gold'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.23.51.0.3/work/build/gold'
make[1]: *** [all-gold] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.23.51.0.3/work/build'
make: *** [all] Error 2
emake failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-20 14:40:01 UTC
*** Bug 439000 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-20 14:41:03 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 3 A. Person 2012-10-20 22:50:31 UTC
Created attachment 327020 [details]
build log
Comment 4 A. Person 2012-10-20 22:50:49 UTC
Created attachment 327022 [details]
emerge --info
Comment 5 A. Person 2012-10-20 22:52:05 UTC
I've attached them both, I'm sorry about that.  I tried binutils-2.23.51.0.2 and it fails the same way as binutils-2.23.51.0.3.
Comment 6 SpanKY gentoo-dev 2014-01-19 03:41:24 UTC
re-open if 2.23.2 or 2.24 still fails.  it's building fine for me on my chromebook.