build failure in native gdb with crosstool-ng-1.13.1 on openSUSE 12.1

Trevor Woerner twoerner@gmail.com
Wed Nov 30 02:46:00 GMT 2011


(sorry, forgot the CC the list)


---------- Forwarded message ----------
From: Trevor Woerner <twoerner@gmail.com>
Date: Tue, Nov 29, 2011 at 9:45 PM
Subject: Re: build failure in native gdb with crosstool-ng-1.13.1 on
openSUSE 12.1
To: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>


Hi Yann,

On Tue, Nov 29, 2011 at 5:53 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> What target are youbuilding for? Could you post your .config, please?

arm-cortex_a8-linux-gnueabi

I have attached the config, but it's pretty much exactly the sample
directly from ct-ng. The only changes are a couple path tweaks, and to
enable make-3.81.

> I never encountered this issue, but it can make sense if the target
> architecture is 64-bit, in which case the libraries could be installed
> in the lib64 sub-directory

The target is 32-bit ARM, the host is 64-bit x86.

If it's of any use I've attached the results of performing "gcc -v" on
both 11.4 and 12.1. The only notable difference is that 11.4 enabled
gold and 12.1 doesn't.

> Care to test the attached patch, please?

I have tested the patch and it works as well as my manual tweak;
native gdb now builds, but it still fails in the strip step.

>> The build then fails a little later (during cleanup, stripping all
>> binaries) but I haven't looking into that yet to provide much
>> information.
>
> Probably again an issue with lib vs. lib64 confusion along the road...

I'm not sure what's going on here. I have attached the last part of
the build log (hoping it's enough for your purposes).

Best regards,
   Trevor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 10773 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20111130/078eb6fa/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11.4
Type: application/octet-stream
Size: 1015 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20111130/078eb6fa/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12.1
Type: application/octet-stream
Size: 926 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20111130/078eb6fa/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 8884 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20111130/078eb6fa/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list