Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Bug building fontconfig
@ 2008-12-15 23:24 Dan Lykowski
  2008-12-16 19:48 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Lykowski @ 2008-12-15 23:24 UTC (permalink / raw)
  To: buildroot

Building fontconfig crashes with the following problem on Ubuntu 8.04/8.10.

/usr/bin/gcc -L/buildroot/build_i686/staging_dir/lib 
-L/buildroot/build_i686/staging_dir/usr/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.

Dan Lykowski

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Bug building fontconfig
  2008-12-15 23:24 [Buildroot] Bug building fontconfig Dan Lykowski
@ 2008-12-16 19:48 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2008-12-16 19:48 UTC (permalink / raw)
  To: buildroot

Le Mon, 15 Dec 2008 15:24:40 -0800,
Dan Lykowski <dan.lykowski@dynonavionics.com> a ?crit :

> Building fontconfig crashes with the following problem on Ubuntu
> 8.04/8.10.
> 
> /usr/bin/gcc -L/buildroot/build_i686/staging_dir/lib 
> -L/buildroot/build_i686/staging_dir/usr/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 ?

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-16 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-15 23:24 [Buildroot] Bug building fontconfig Dan Lykowski
2008-12-16 19:48 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox