This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


(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

Attachment: config
Description: Binary data

Attachment: 11.4
Description: Binary data

Attachment: 12.1
Description: Binary data

[INFO ]  =================================================================
[INFO ]  Cleaning-up the toolchain's directory
[INFO ]    Stripping all toolchain executables
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-addr2line' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-addr2line' [elf64-x86-64] to `bin/stJHSb8v' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-ar' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-ar' [elf64-x86-64] to `bin/sthKGlNA' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-as' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-as' [elf64-x86-64] to `bin/st70aSVz' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-c++' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-c++' [elf64-x86-64] to `bin/stfDi5oH' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-c++filt' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-c++filt' [elf64-x86-64] to `bin/stMjf8ay' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-cpp' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-cpp' [elf64-x86-64] to `bin/sttqfcAA' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-g++' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-g++' [elf64-x86-64] to `bin/st92f8pH' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-gcc' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-gcc' [elf64-x86-64] to `bin/st1RcOmG' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-gcc-4.4.6' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-gcc-4.4.6' [elf64-x86-64] to `bin/st8dhQYJ' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-gcov' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-gcov' [elf64-x86-64] to `bin/stR3XpwL' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-gdb' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-gdb' [elf64-x86-64] to `bin/stAc19mM' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-gdbtui' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-gdbtui' [elf64-x86-64] to `bin/stq1yoMS' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-gprof' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-gprof' [elf64-x86-64] to `bin/stzZEUnU' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-ld' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-ld' [elf64-x86-64] to `bin/stS9wFcY' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-nm' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-nm' [elf64-x86-64] to `bin/stC4lQxZ' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-objcopy' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-objcopy' [elf64-x86-64] to `bin/stInQWW5' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-objdump' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-objdump' [elf64-x86-64] to `bin/stvFbBV7' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-ranlib' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-ranlib' [elf64-x86-64] to `bin/stx9u9xa' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-readelf' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-readelf' [elf64-x86-64] to `bin/stTrOvD9' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-run' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-run' [elf64-x86-64] to `bin/stVusG8c' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-size' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-size' [elf64-x86-64] to `bin/stRDLl0g' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-strings' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-strings' [elf64-x86-64] to `bin/st5HJJzn' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'bin/arm-cortex_a8-linux-gnueabi-strip' 
[ALL  ]    copy from `bin/arm-cortex_a8-linux-gnueabi-strip' [elf64-x86-64] to `bin/stind6xs' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/ar' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/ar' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/st481Eev' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/as' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/as' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stqGzN8y' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/c++' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/c++' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stMXeT3A' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/g++' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/g++' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stzH7jhA' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/gcc' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/gcc' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stsTeVLD' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/ld' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/ld' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stnUTFAC' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/nm' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/nm' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stvdVhlG' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/objcopy' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/objcopy' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/st6qUR4H' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/objdump' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/objdump' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stWQDoKG' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/ranlib' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/ranlib' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stVERcCK' [elf64-x86-64]
[DEBUG]    ==> Executing: 'x86_64-build_unknown-linux-gnu-strip' '--strip-all' '-v' 'arm-cortex_a8-linux-gnueabi/bin/strip' 
[ALL  ]    copy from `arm-cortex_a8-linux-gnueabi/bin/strip' [elf64-x86-64] to `arm-cortex_a8-linux-gnueabi/bin/stgXgLnC' [elf64-x86-64]
[ERROR]    
[ERROR]    >>
[ERROR]    >>  Error happened in: main[scripts/crosstool-NG.sh]
[ERROR]    >>
[ERROR]    >>  For more info on this error, look at the file: 'build.log'
[ERROR]    >>  There is a list of known issues, some with workarounds, in:
[ERROR]    >>      '/home/trevor/devel/buildroot/install/share/doc/ct-ng-1.13.1/B - Known issues.txt'
[ERROR]    
[ERROR]    Build failed in step 'Extracting and patching toolchain components'
[ERROR]    
[ERROR]    (elapsed: 41:31.59)
--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]