Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] rpi3b+ cmake not compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
XxSNIPER98
n00b
n00b


Joined: 03 Jan 2025
Posts: 2

PostPosted: Fri Jan 03, 2025 10:15 pm    Post subject: [SOLVED] rpi3b+ cmake not compiling Reply with quote

hello, cmake isnt compiling when I use the command
Code:
emerge -uDUav --jobs=2 --keep-going @world

I have also tried with no luck.
Code:
emerge -av dev-build/cmake



I get the error
Code:
---------------------------------------------
Error when bootstrapping CMake:
Problem while running gmake
---------------------------------------------


this is a fresh install of gentoo stage 3

Logs:

emerge --info '=dev-build/cmake-3.30.6::gentoo':
https://bpa.st/TRDA


/var/tmp/portage/dev-build/cmake-3.30.6/work/cmake-3.30.6/Bootstrap.cmk/cmake_bootstrap.log:
https://bpa.st/TKCQ

Please let me know if you need more information
any help will be much appreciated, thank you!


Last edited by XxSNIPER98 on Sat Jan 04, 2025 11:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1490
Location: Richmond Hill, Canada

PostPosted: Fri Jan 03, 2025 11:20 pm    Post subject: Reply with quote

Code:
KiB Mem:      929028 total,    619460 free
KiB Swap:          0 total,         0 free
You system have 1GB memory and no swap setup.

Code:
MAKEOPTS="-j2"
You are running two make jobs concurrently.

Code:
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/arm64/23.0, gcc-14, glibc-2.40-r5, 6.6.67-v8+ aarch64)
You are using standard 4k page (good)

Code:
{standard input}: Assembler messages:
{standard input}:20291: Warning: end of file not at end of a line; newline inserted
{standard input}:20888: Error: unknown mnemonic `st' -- `st'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
aarch64-unknown-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
You are likely exhausted memory. Or unlikely but could be out of file system space.

I suggest you
  1. Reduce concurrent job. (i.e. MAKEOPTS=-j1
  2. Setup swap
  3. Check and make sure have enough file system space.
Back to top
View user's profile Send private message
XxSNIPER98
n00b
n00b


Joined: 03 Jan 2025
Posts: 2

PostPosted: Sat Jan 04, 2025 1:40 am    Post subject: Reply with quote

i believe it has worked, not finished compiling yet but got past the usual fail spot, thank you for the help
i forgot to enable my swap file lol

i will mark the thread as solved if it finishes compiling
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum