Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] binutils-2.29.1-r1 fails with +cxx use flag

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
OldTango
l33t
l33t
User avatar
Posts: 739
Joined: Sat Feb 21, 2004 5:08 pm
Contact:
Contact OldTango
Website

[SOLVED] binutils-2.29.1-r1 fails with +cxx use flag

  • Quote

Post by OldTango » Sat Feb 10, 2018 8:30 pm

Not sure what sets USE="cxx" on binutils-2.29.1-r1, but with that flag set it fails to compile on one of my systems.

Code: Select all

/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/gold/output.cc: In member function ‘__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++() [with _Iterator = const gold::Output_reloc<9, false, 32, true>*; _Container = std::vector<gold::Output_reloc<9, false, 32, true>, std::allocator<gold::Output_reloc<9, false, 32, true> > >]’:
/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/gold/output.cc:5601:1: internal compiler error: Segmentation fault
 } // End namespace gold.
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[4]: *** [Makefile:918: output.o] Error 1
make[4]: *** Waiting for unfinished jobs....

[***]

 * ERROR: sys-devel/binutils-2.29.1-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/binutils-2.29.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.29.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build'
 * S: '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1'

>>> Failed to emerge sys-devel/binutils-2.29.1-r1, Log file:
Using:

Code: Select all

USE="-cxx" emerge -av binutils
Allows it to build and install without errors but I fear this is not the way to solve the problem.

TIA..... :?
Last edited by OldTango on Mon Feb 12, 2018 11:20 pm, edited 2 times in total.
Top
dilfridge
Developer
Developer
User avatar
Posts: 121
Joined: Sat Sep 18, 2010 11:38 am
Location: Regensburg, Germany
Contact:
Contact dilfridge
Website

Re: binutils-2.29.1-r1 fails to compile with cxx use flag

  • Quote

Post by dilfridge » Sun Feb 11, 2018 1:26 am

OldTango wrote:Not sure what sets USE="cxx" on binutils-2.29.1-r1, but with that flag set it fails to compile on one of my systems.

Code: Select all

/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/gold/output.cc: In member function ‘__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++() [with _Iterator = const gold::Output_reloc<9, false, 32, true>*; _Container = std::vector<gold::Output_reloc<9, false, 32, true>, std::allocator<gold::Output_reloc<9, false, 32, true> > >]’:
/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/gold/output.cc:5601:1: internal compiler error: Segmentation fault
 } // End namespace gold.
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[4]: *** [Makefile:918: output.o] Error 1
make[4]: *** Waiting for unfinished jobs....

[...]

 * 
 * If you need support, post the output of `emerge --info '=sys-devel/binutils-2.29.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.29.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build'
 * S: '/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1'

>>> Failed to emerge sys-devel/binutils-2.29.1-r1, Log file:
Using:

Code: Select all

USE="-cxx" emerge -av binutils
Allows it to build and install without errors but I fear this is not the way to solve the problem.

TIA..... :?
Right ... there's a lot of relevant info missing (gcc version? the actual command that fails?), following above instructions gets you all of it. Also it's probably more helpful to make a report on [bug=]bugs.g.o[/bug] (with that information) ...

[Moderator edit: fixed link. Forum auto-linking guessed the domain as-shown, which does not work. -Hu]
Top
OldTango
l33t
l33t
User avatar
Posts: 739
Joined: Sat Feb 21, 2004 5:08 pm
Contact:
Contact OldTango
Website

  • Quote

Post by OldTango » Mon Feb 12, 2018 11:16 pm

I managed to solve the problem and get binutils to build properly.

I am not sure what the exact cause was but I believe it was something I missed while updating to the 17.0 profile. So I'm back in business again.

.... :)
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy