All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Bug building fontconfig
Date: Tue, 16 Dec 2008 20:48:25 +0100	[thread overview]
Message-ID: <20081216204825.00249c96@surf> (raw)
In-Reply-To: <4946E738.6020803@dynonavionics.com>

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

      reply	other threads:[~2008-12-16 19:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-15 23:24 [Buildroot] Bug building fontconfig Dan Lykowski
2008-12-16 19:48 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081216204825.00249c96@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.