[Buildroot] Bug building fontconfig
thomas.petazzoni at free-electrons.com
Tue Dec 16 19:48:25 UTC 2008
Le Mon, 15 Dec 2008 15:24:40 -0800,
Dan Lykowski <dan.lykowski at dynonavionics.com> a écrit :
> Building fontconfig crashes with the following problem on Ubuntu
> /usr/bin/gcc -L/buildroot/build_i686/staging_dir/lib
> --sysroot=/buildroot/build_i686/staging_dir/ -o fc-case fc-case.o
> /usr/bin/ld: this linker was not configured to use sysroots
> collect2: ld returned 1 exit status
> Removing the --sysroot and building by hand allows the file to link.
> I cant seem to find where this is being added to the cflags/ldflags.
> Any help would be appreciated. It continues to happen whenever
> linking using the host linker.
My patch committed at r24408 added a --sysroot option in the case of
external toolchains, to get things working properly. Are you by any
chance using a configuration with an external toolchain ?
Could you send your .config ?
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
More information about the buildroot