Poky Project Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Mark Hatle <mark.hatle@windriver.com>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: Configure error
Date: Tue, 08 Feb 2011 08:49:01 -0700	[thread overview]
Message-ID: <4D5165ED.3090806@mlbassoc.com> (raw)
In-Reply-To: <4D516415.1060206@windriver.com>

On 02/08/2011 08:41 AM, Mark Hatle wrote:
> On 2/8/11 8:08 AM, Gary Thomas wrote:
>> A package I imported from OE (long ago) no longer builds
>> with this error:
>> | ERROR: This autoconf log indicates errors, it looked at host includes.
>>
>> It's not obvious to me what the problem is nor how to fix it.
>> Can someone help with this, please?
>>
>> See the logs at
>>      http://www.mlbassoc.com/poky/ConfigureFailure/config.log
>>      http://www.mlbassoc.com/poky/ConfigureFailure/log.do_configure
>>
>> Thanks
>>
>
> The check looks at the config.log.  It is looking for instances where unsafe
> compilation or include usage occurs.  In this case it wasn't actually host
> includes.. so there is a bug in the error message.  From the config.log:
>
>> configure:7139: ccache powerpc-poky-linux-gcc -mcpu=603e  -mhard-float --sysroot=/home/local/my_ppc_poky/tmp/sysroots/my8379 -o conftest -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldlpi -L/lib -lpcap>&5
>> /home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: warning: library search path "/lib" is unsafe for cross-compilation
>> /home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: cannot find -ldlpi
>> /home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1
>> collect2: ld returned 1 exit status
>
> In the above snippet you'll see 'warning: library search path "/lib" is unsafe
> for cross-compilation'.  This indicates that the package passed in a -L/lib, and
> the linker caught this and issued a warning.
>
> The fix is to figure out why the configuration file attempted to pass -L/lib,
> and stop it from occurring.
>
> Please file a bug on the log message being confusing and I'll attempt to get
> that fixed.. (or a patch)  ;)

Done, thanks.  http://bugzilla.pokylinux.org/show_bug.cgi?id=702

Now to figure out how to fix it :-)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


      reply	other threads:[~2011-02-08 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 14:08 Configure error Gary Thomas
2011-02-08 15:41 ` Mark Hatle
2011-02-08 15:49   ` Gary Thomas [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=4D5165ED.3090806@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=mark.hatle@windriver.com \
    --cc=poky@lists.pokylinux.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox