How to compile a personalized CoreELEC

I have no need for ipset and iptable embedded in CE kernel, so no config to share.

After modifying the configuration file and compiling again, the following error occurs:

armv8a-libreelec-linux-gnueabihf-g++-10.3.0: fatal error: Killed signal terminated program lto1
compilation terminated.
lto-wrapper: fatal error: /home/sun/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/toolchain/bin/armv8a-libreelec-linux-gnueabihf-g++-10.3.0 returned 1 exit status
compilation terminated.
/home/sun/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/toolchain/lib/gcc/armv8a-libreelec-linux-gnueabihf/10.3.0/../../../../armv8a-libreelec-linux-gnueabihf/bin/ fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FAILURE: scripts/build kodi:target during make_target (default)
*********** FAILED COMMAND ***********
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
FAILURE: scripts/install kodi:target has failed!

The following log for this failure is available:

>>&gtkodi:target seq 310 >>>
[339/344] [FAIL] install kodi:target

The following log for this failure is available:

Parallel build failure - see log for details. Time of failure: Fri Jan 20 08:50:35 CST 2023
make: *** [Makefile:9: release] Error 1

How to solve it? thanks

Has been resolved, the original is because of insufficient memory.

Thanks for everyone’s help, I have successfully compiled, and now my device has full proxy capabilities, very happy, thank you.

I made it, do you need a configuration file or compiled firmware?

You want to share your info? Or make a PR so we can include it in CE?

I need a compiled firmware please.

I’d love to contribute a little bit to CE, but I don’t understand what a PR is? I don’t know how to program, and it took me 20 days to figure it out one after another. What should I do?

Tell me your email, my processor is s905l3a, you may need to pack it yourself.

Check your email, i already send you a message :sweat_smile:

has been sent to you

Can you please share your .config file? Thanks.

Ok,Tell me your email

I’ve sent a mail to your email, please check.
Best regards.

@gnsx Can you send me your config file please? Thank you very much! I have sent a email to you. Thanks!