[Buildroot] [PATCH v2] sconeserver: Can't be built with uClibc.

Peter Korsgaard jacmet at uclibc.org
Wed Nov 6 11:05:26 UTC 2013


>>>>> "Sonic" == Sonic Zhang <sonic.adi at gmail.com> writes:

 >> > General shadow password file API such as getspnam is not supported in
 >> > uClibc.
 >> 
 >> Ehh, they are?
 >> 
 >> ./output/host/usr/bin/arm-linux-nm -D \
 >> output/target/lib/libuClibc-0.9.33.2.so | grep getspnam
 >> 0002a6c0 T getspnam
 >> 0002a6f0 T getspnam_r
 >> 
 >> They do require you to enable UCLIBC_HAS_SHADOW, but that option
 >> defaults to y and our default config has it enabled.
 >> 

 > In the case the UCLIBC_HAS_SHADOW is not supported in the GNU
 > toolchain release for some architecture such as Blackfin, how should
 > the building failure be dealt with?

For external toolchains you mean? We can do a few things:

- Mention the dependency in the Config.in help text
- If it's a preconfigured / well known toolchain in buildroot we can:
  - Disable the combination in the autobuilders
  - Explicitly make the package depend on !<specific-toolchain>

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list