Cross-compiling Chromium for buildroot-based embedded Linux

60 views
Skip to first unread message

Igor Zafievsky

unread,
Feb 6, 2026, 11:50:50 AM (6 days ago) Feb 6
to Chromium-dev
Hello!

   I'm trying to build Chrome for a buildroot-based embedded Linux board (Rockchip RK3576-based) and now have two issues:
1. Buildroot doesn't place crtbegin/crtend and libgcc_s to the /usr/lib on staging dir, they're located by the different path, thus I'm forced to change //build/toolchain/linux/BUILD.gn to add extra_ldflags to toolchain definition. Is there a way to do it through args,gn?
2. Other question is really annoying. On some step clang claims that include file not from libc++ distribution (wrong "-I" order, I guess). My args.gn and resulting siso_output attached. Need  help to resolve this. Any siggestion will be greatly appreciated.

Thank in advance
Igor

siso_output
args.gn
Reply all
Reply to author
Forward
0 new messages