Bug 8086 - Cannot select systemd as init with Linaro 2014.09 toolchain selected
Summary: Cannot select systemd as init with Linaro 2014.09 toolchain selected
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 12:35 UTC by l_giuliani
Modified: 2015-05-06 21:02 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description l_giuliani 2015-05-06 12:35:05 UTC
On last development version 2015.05 rc1 of Buildroot,  
when external toolchain Linaro 2014.09 is selected, Systemd cannot be choosed as init system.

From ./toolchain/toolchain-external/Config.in for BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM and  BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 is selected 

But in ./system/Config.in for  BR2_INIT_SYSTEMD you need at least BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10

From Linaro website Linaro 2014.09 is build against 3.17 linux kernel :
https://wiki.linaro.org/Cycles/1409/Release
Comment 1 Peter Korsgaard 2015-05-06 21:02:04 UTC
Where do you see that the 2014.09 toolchain is built against 3.17? I don't see that anywhere on that page (I do see they have released a 3.17-based kernel, but that doesn't mean the toolchain is built against it.

And checking linux/version.h from the toolchain correctly shows that it was built against 3.1.1:

cat output/staging/usr/include/linux/version.h
#define LINUX_VERSION_CODE 196865
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

printf '0x%x\n' 196865
0x30101