| Summary: | odroidc2 - toolchain Linaro AArch64 2016.11 compile error | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | kosyak <gmg.kostik> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
kosyak
2016-12-03 16:17:38 UTC
Hi, The odroidc2 kernel doesn't support gcc6 yet. Can you look if there is a newer odroidc2 kernel or try to backport this patch [1]. Thank for your report! Best regards, Romain Naour [1] http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=677fa15cd6d5b0843e7b9c58409f67d656b1ec2f How i can select external toolchain version 5 in new buildroot? You can't without reverting this patch [1]. The version selection for preconfigured external toolchains removed in 2016.02 release [2]. For a long term fix, the odroid kernel must be patched. [1] https://git.buildroot.net/buildroot/commit/?id=cacfea6c263cfbfc450256b25f71dde29fa03f3b [2] http://lists.busybox.net/pipermail/buildroot/2016-March/154535.html Ok. Thank you. Hi, The odroidc2-3.14.y branch on github [1] is still maintained and you have just to update the git hash to the latest version to fix your build issue. Also it seems that the Amlogic S905 SoC used in your board [2] is now available with the latest kernel version (v4.8) [3]. I don't have this board, can you test with the new 3.14 hardkernel or 4.8 kernel version and summit a patch bumping the version ? [1] https://github.com/hardkernel/linux/commits/odroidc2-3.14.y/include/linux/compiler-gcc.h [2] http://www.hardkernel.com/main/products/prdt_info.php [3] http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/Kconfig.platforms?h=linux-4.8.y#n81 I find buildroot from hardkernel - https://github.com/hardkernel/buildroot.git it works good. But use toolchain Linaro AArch64 2014.09 (gcc 4.9). Other toolchains (gcc version > 4.9) not works (https://bugs.busybox.net/show_bug.cgi?id=9326). The kernel version 4. 8 I'll try later. Thanks for the link to the other bug, I didn't notice the BR2_GCC_VERSION_4_9_X=y in the config file. So event with the Linaro 2016.05 toolchain, your board shouldn't boot. I don't see what we can do, except waiting for the odroid-c2 upstream kernel support. Best regards, Romain Using a gcc 6.x toolchain with a kernel version too old to support gcc 6.x is not a Buildroot problem, but a configuration issue. One should either select a toolchain that uses an older gcc version, or a kernel version that is recent enough to build properly with gcc 6.x. |