Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

[SOLVED] Orange Pi PC binutils compile failure

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
vanjo9800
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Mon Mar 16, 2015 8:23 pm

[SOLVED] Orange Pi PC binutils compile failure

  • Quote

Post by vanjo9800 » Mon Aug 01, 2016 7:42 pm

Hello, I am updating the Gentoo Linux on my Orange Pi PC and I face a problem. Binutils refuses to compile with the following compile error:

Code: Select all

armv7a-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.25.1-r1/work/binutils-2.25.1/gold  -I/var/tmp/portage/sys-devel/binutils-2.
25.1-r1/work/binutils-2.25.1/gold -I/var/tmp/portage/sys-devel/binutils-2.25.1-r1/work/binutils-2.25.1/gold/../include -I/var/tmp/portage/sys-devel/binutils-2.25.1-r1/wor
k/binutils-2.25.1/gold/../elfcpp -DLOCALEDIR="\"/usr/share/binutils-data/armv7a-hardfloat-linux-gnueabi/2.25.1/locale\"" -DBINDIR="\"/usr/armv7a-hardfloat-linux-gnueabi/b
inutils-bin/2.25.1\"" -DTOOLBINDIR="\"/usr/armv7a-hardfloat-linux-gnueabi/bin\"" -DTOOLLIBDIR="\"/usr/armv7a-hardfloat-linux-gnueabi/lib\""   -W -Wall    -D_LARGEFILE_SOU
RCE -D_FILE_OFFSET_BITS=64 -frandom-seed=target.o -O2 -pipe -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -MT target.o -MD -MP -MF .deps/target.Tpo -c -o target.o /va
r/tmp/portage/sys-devel/binutils-2.25.1-r1/work/binutils-2.25.1/gold/target.cc
{standard input}: Assembler messages:
{standard input}:12974: Warning: end of file not at end of a line; newline inserted
{standard input}:14267: Error: ARM register expected -- `mov'
armv7a-hardfloat-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
Can you tell me what causes the error, or from where I can start in order to fix it?

Thank you in advance!!!
Last edited by vanjo9800 on Wed Aug 03, 2016 12:46 pm, edited 1 time in total.
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Mon Aug 01, 2016 10:06 pm

Code: Select all

 armv7a-hardfloat-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus) 
This usually means you ran out of memory. Check dmesg for signs of the OOM killer.

If so, you need to add more swap or configure zram.
Top
vanjo9800
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Mon Mar 16, 2015 8:23 pm

  • Quote

Post by vanjo9800 » Wed Aug 03, 2016 12:45 pm

Yes, you were right. The problem was that the Orange Pi PC ran out of memory compiling binutils and GCC. I fixed it using a bigger swap. Thank you!!!
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo on ARM”

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

 

 

magic