[Buildroot] How to deactivate UCLIBC_CTOR_DTOR in uclibc-ng?

Johan Oudinet johan.oudinet at gmail.com
Tue Sep 15 14:36:19 UTC 2015


Hi,

I try to move a project that uses uclibc-0.9.33 to uclibc-ng but it
fails at link time due to undefined references to __fini_array_end and
__fini_array_start.
In uClibc-0.9.33, the UCLIBC_CTOR_DTOR option default was no. In
uClibc-ng, it defaults to yes. I would like to set it back to no but I
failed doing so in Buildroot.
make uclibc-menuconfig does not show the option.
I've tried using KCONFIG_DISABLE_OPT and KCONFIG_SET_OPT function in
the .mk file to disable it and set it to 'N', respectively, but
without success.
When I grep for the option in the generated .config, it's still set to yes:
$ grep CTOR_DTOR build/uclibc-1.0.5/.config
UCLIBC_CTOR_DTOR=y

Any idea how to deactivate UCLIBC_CTOR_DTOR?

Best,
-- 
Johan


More information about the buildroot mailing list