pkgsrc-Users archive

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

Re: omxplayer on Raspberry Pi 2 on NetBSD 7 - anyone succeeded in building



(removing port-xen)

hi,

On 2015/10/26 22:05, Mayuresh wrote:
I get several g++ internal compiler errors when building omxplayer on
Raspberry Pi 2.

uname -a
NetBSD pinetbsd 7.0_STABLE NetBSD 7.0_STABLE (RPI2.201510250040Z) evbarm


Has anyone got it build successfully?

Do I need to upgrade gcc?

gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.8.4/release/pch-off/threading-multi/graphml.o
g++: internal compiler error: Killed (program cc1plus)

Have you seen any suspicious messages in /var/log/messages?

If you see messages like
"UVM: pid 12345 (cc1plus), uid 100 killed: out of swap",
it's because of swap shortage.
The virtual size of cc1plus may increase more than 500MB,
so you need enough size of virtual memory, especially in case of
MAKE_JOBS > 1.
Please see man page of swapctl to check and increase size of swap.

no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.


--
t-hash


Home | Main Index | Thread Index | Old Index