Hi Stuart.  The output of the helloworld build is attached.  I was able to
test on an Ubuntu 64-bit system and the LTIB works fine with the same
toolchain, so this might be a non-issue, or at least limited to Fedora? 
The toolchain is an RPM file downloaded from their site:

http://www.codesourcery.com/sgpp/lite/power/portal/subscription3132

So, it's the same toolchain for 32 and 64 bit hosts.  On a 64 bit host I
believe you need the 32 bit glibc libraries to execute the core programs
of the toolchain.  I will try loading the latest from Fedora on another 64
bit system as soon as I can to see if it's somehow related to my
installation.  The Ubuntu I tested with was:

[aaron@ubuntu:~/Downloads Tue Jul 26 15:44:52]
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
[aaron@ubuntu:~/Downloads Tue Jul 26 15:45:03]
$ uname -a
Linux ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
[aaron@ubuntu:~/Downloads Tue Jul 26 15:45:10]
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 1
model name      : AMD C-30 Processor


> Hi Aaron,
>
> Could you post the "gcc" -v output from the attempt to build helloworld?
>
> It may be worth asking on the gcc mailing list why there is a difference
> in behaviour between 32 and 64 bit hosts.
>
>     * Are you running exactly the same toolchain on both? (or is one
> built for 64 bit and one for 32 bit?)
>
> Regards, Stuart
>
> Regards, Stuart
>
> On 25/07/11 16:53, Aaron Wegner wrote:
>> Hi Stuart.  I added your debug line to the spoof_wrapper file and it
>> prints out "rootfs stating area: /home/aaron/ltib/rootfs" as expected.
>> The new toolchain is definitely not liking the -B flag for some reason.
>> My attempt to build vim is below.  The helloworld package reports the
>> exact same error: it can't link executables.  Works fine in Fedora 32
>> bit,
>> just not in a 64 bit version.
>>
>> ----
>>
>> [aaron@geiswbuild1 ~/ltib/rpm/BUILD/vim62 Mon Jul 25 11:31:36]
>> $ cat src/auto/config.log
>> This file contains any messages produced by compilers while
>> running configure, to aid debugging if configure makes a mistake.
>>
>> configure:616: checking whether make sets ${MAKE}
>> configure:646: checking for gcc
>> configure:759: checking whether the C compiler (gcc  ) works
>> configure:775: gcc -o conftest    conftest.c  1>&5
>> rootfs stating area: /home/aaron/ltib/rootfs
>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>> skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>> cannot find /lib/libc.so.6
>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>> cannot find /usr/lib/libc_nonshared.a
>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>> cannot find /lib/ld.so.1
>> collect2: ld returned 1 exit status
>> configure: failed program was:
>>
>> #line 770 "configure"
>> #include "confdefs.h"
>>
>> main(){return(0);}
>>
>> ----
>>
>> Editing /opt/ltib/usr/spoof/spoof_wrapper in the following way fixes
>> things and I am able to link.
>>
>> #    @srch  = ('-B', "$ENV{DEV_IMAGE}/usr/lib//",
>>      @srch  = ("-Wl,-L$ENV{DEV_IMAGE}/usr/lib//", # fixes 64-bit Fedora
>>
>> Don't know if anyone else has seen this with the LTIB and a 64-bit
>> GNU/Linux distro.
>>
>>
>> Thanks again,
>>
>> Aaron
>>
>>
>>> Hi Aaron,
>>>
>>> It's a while since I looked at this, but the -B switch, does pretty
>>> much
>>> the same thing are your direct version.  The odd looking trailing // is
>>> necessary as otherwise (much) older toolchains will fail (it's a bug in
>>> the toolchains).
>>>
>>> Once possibility is that for some reason the environment variable:
>>> DEV_IMAGE does not get set properly, which would explain accessing
>>> /usr/lib.  Alternately maybe the the path is not found using -B.
>>>
>>> Unfortunately I don't have time to look into this at the moment.  Could
>>> you try the following:
>>>
>>> Put the code back as it was, but add:
>>>     print "rootfs stating area: $ENV{DEV_IMAGE}\n";
>>> near the top of the spoof_wrapper file.
>>>
>>> If that looks okay, can you try building the helloworld test rpm with
>>> -v
>>> added to the compiler line, along the lines of:
>>>
>>> ./ltib -p helloworld -m prep
>>>
>>> Edit rpm/BUILD/helloworld-1.1/Makefile and change the line:
>>>
>>> CFLAGS   = -Wall
>>> to:
>>> CFLAGS   = -Wall -v
>>>
>>> and then run:
>>> ./ltib -p helloworld 2>&1 | tee helloworld_log.txt
>>>
>>> If you look at the file you may be able to see whether the right paths
>>> are being found for the linking.
>>>
>>> Regards, Stuart
>>>
>>>
>>> On 14/07/11 22:50, Aaron Wegner wrote:
>>>> I downloaded the latest CodeSourcery G++ Lite toolchain from their
>>>> site
>>>> and popped it into the LPP.
>>>>
>>>> /opt/ltib/pkgs/freescale-powerpc-linux-gnu-2010.09-55.i686.rpm
>>>>
>>>> This RPM works fine with my 32-bit Fedora 12 development workstation.
>>>> In
>>>> my defconfig.dev I have:
>>>>
>>>> CONFIG_TOOLCHAIN="freescale-powerpc-linux-gnu-2010.09-55.i686.rpm"
>>>> CONFIG_TOOLCHAIN_PATH="/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu"
>>>> CONFIG_TOOLCHAIN_PREFIX="powerpc-linux-gnu-"
>>>> CONFIG_TOOLCHAIN_CFLAGS="-msoft-float -mcpu=860"
>>>>
>>>> However, when I try the same on my 64-bit Fedora 15 development
>>>> workstation I find that I'm not able to link.  It bails with linker
>>>> errors
>>>> such as:
>>>>
>>>> ----
>>>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>>>> skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
>>>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>>>> cannot find /lib/libc.so.6
>>>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>>>> cannot find /usr/lib/libc_nonshared.a
>>>> /opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
>>>> cannot find /lib/ld.so.1
>>>> collect2: ld returned 1 exit status
>>>> ----
>>>>
>>>> I poked around a little and found that if I edit the gcc spoof source
>>>> found in
>>>>
>>>> /opt/ltib/usr/spoof/gcc
>>>>
>>>> and put in the following hack around line 46
>>>>
>>>> #    @srch  = ('-B', "$ENV{DEV_IMAGE}/usr/lib//",
>>>>      @srch  = ("-Wl,-L/home/aaron/ltib/rootfs/usr/lib//",
>>>>
>>>> that all my programs compile and link like normal.  Is this a product
>>>> of
>>>> the toolchain?  Is there a workaround that is an easy fix, or is this
>>>> a
>>>> more difficult issue?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Aaron
>>>>
>>>>
>>>> _______________________________________________
>>>> LTIB home page: http://ltib.org
>>>>
>>>> Ltib mailing list
>>>> [email protected]
>>>> https://lists.nongnu.org/mailman/listinfo/ltib
>>>>
>>
>
Processing platform: GEI DBU-5000 CPU board with the MPC875 PowerQUICC
========================================================================
using config/platform/dbu5000/.config

Processing: helloworld
========================
Build path taken because: directory build, 
checking if sources have been updated: yes
scbuild/scdeploy already unpacked package

Processing: helloworld
========================
Build path taken because: directory build, build key set, 

rpmbuild --dbpath /home/aaron/ltib/rootfs//var/lib/rpm --target ppc --define 
'_unpackaged_files_terminate_build 0' --define '_target_cpu ppc' --define 
'__strip strip' --define '_topdir /home/aaron/ltib/rpm' --define '_prefix /usr' 
--define '_tmppath /home/aaron/ltib/tmp' --define '_rpmdir 
/home/aaron/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define 
'_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  
/home/aaron/ltib/dist/lfs-5.1/helloworld/helloworld.spec
Building target platforms: ppc
Building for target ppc
Executing(%build): /bin/sh -e /home/aaron/ltib/tmp/rpm-tmp.11278
+ umask 022
+ cd /home/aaron/ltib/rpm/BUILD
+ cd helloworld-1.1
+ make prefix=/usr
gcc -Wall -v    hello.c   -o hello
gcc -static -Wall -v  hello.c -o hello_static
g++ -Wall    hellocpp.cpp   -o hellocpp
g++ -static -Wall  hellocpp.cpp -o hellocpp_static
Using built-in specs.
COLLECT_GCC=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc
Using built-in specs.
COLLECT_LTO_WRAPPER=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/lto-wrapper
Target: powerpc-linux-gnu
Configured with: 
/scratch/froydnj/gnu-lite-release/src/gcc-4.5-2010.09/configure 
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=powerpc-linux-gnu 
--enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch 
--enable-extra-sgxxlite-multilibs --with-long-double-128 --enable-targets=all 
--with-cpu-32=603e --with-cpu-64=e5500 --enable-secureplt --with-gnu-as 
--with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} 
-D__CS_SOURCERYGXX_MAJ__=2010 -D__CS_SOURCERYGXX_MIN__=9 
-D__CS_SOURCERYGXX_REV__=55 %{O2:%{!fno-remove-local-statics: 
-fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: 
-fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared 
--enable-lto --enable-symvers=gnu --enable-__cxa_atexit 
--with-pkgversion='Sourcery G++ Lite 2010.09-55' 
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls 
--prefix=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu 
--with-sysroot=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc
 
--with-build-sysroot=/scratch/froydnj/gnu-lite-release/install/powerpc-linux-gnu/libc
 
--with-gmp=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-mpfr=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-mpc=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-ppl=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' 
--with-cloog=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-libelf=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 --enable-libgomp --enable-poison-system-directories 
--with-build-time-tools=/scratch/froydnj/gnu-lite-release/install/powerpc-linux-gnu/bin
 
--with-build-time-tools=/scratch/froydnj/gnu-lite-release/install/powerpc-linux-gnu/bin
Thread model: posix
gcc version 4.5.1 (Sourcery G++ Lite 2010.09-55) 
COLLECT_GCC=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc
COLLECT_GCC_OPTIONS='-B' '/home/aaron/ltib/rootfs/usr/lib//' '-idirafter' 
'/home/aaron/ltib/rootfs/usr/include' '-iwithprefixbefore' 'include' 
'-msoft-float' '-mcpu=860' '-Wall' '-v' '-o' 'hello' 
'-D__CS_SOURCERYGXX_MAJ__=2010' '-D__CS_SOURCERYGXX_MIN__=9' 
'-D__CS_SOURCERYGXX_REV__=55'
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/cc1COLLECT_LTO_WRAPPER=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/lto-wrapper
Target: powerpc-linux-gnu
Configured with: 
/scratch/froydnj/gnu-lite-release/src/gcc-4.5-2010.09/configure 
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=powerpc-linux-gnu 
--enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch 
--enable-extra-sgxxlite-multilibs --with-long-double-128 --enable-targets=all 
--with-cpu-32=603e --with-cpu-64=e5500 --enable-secureplt --with-gnu-as 
--with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} 
-D__CS_SOURCERYGXX_MAJ__=2010 -D__CS_SOURCERYGXX_MIN__=9 
-D__CS_SOURCERYGXX_REV__=55 %{O2:%{!fno-remove-local-statics: 
-fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: 
-fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared 
--enable-lto --enable-symvers=gnu --enable-__cxa_atexit 
--with-pkgversion='Sourcery G++ Lite 2010.09-55' 
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls 
--prefix=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu 
--with-sysroot=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc
 
--with-build-sysroot=/scratch/froydnj/gnu-lite-release/install/powerpc-linux-gnu/libc
 
--with-gmp=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-mpfr=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-mpc=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-ppl=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' 
--with-cloog=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 
--with-libelf=/scratch/froydnj/gnu-lite-release/obj/host-libs-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu/usr
 --enable-libgomp --enable-poison-system-directories 
--with-build-time-tools=/scratch/froydnj/gnu-lite-release/install/powerpc-linux-gnu/bin
 
--with-build-time-tools=/scratch/froydnj/gnu-lite-release/install/powerpc-linux-gnu/bin
 -quiet -vThread model: posix
 -imultilibgcc version 4.5.1 (Sourcery G++ Lite 2010.09-55) 
 nof -D__unix__ -D__gnu_linux__COLLECT_GCC_OPTIONS='-B' 
'/home/aaron/ltib/rootfs/usr/lib//' '-idirafter' 
'/home/aaron/ltib/rootfs/usr/include' '-iwithprefixbefore' 'include' 
'-msoft-float' '-mcpu=860' '-static' '-Wall' '-v' '-o' 'hello_static' 
'-D__CS_SOURCERYGXX_MAJ__=2010' '-D__CS_SOURCERYGXX_MIN__=9' 
'-D__CS_SOURCERYGXX_REV__=55'
 -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix 
-Asystem=posix -D__CS_SOURCERYGXX_MAJ__=2010 -D__CS_SOURCERYGXX_MIN__=9 
-D__CS_SOURCERYGXX_REV__=55 -idirafter /home/aaron/ltib/rootfs/usr/include 
-iwithprefixbefore include hello.c -msecure-plt -quiet -dumpbase hello.c 
-msoft-float -mcpu=860 -auxbase hello -Wall -version -o /tmp/ccI9SmWg.s
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/cc1
 -quiet -v -imultilib nof -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix 
-D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix 
-D__CS_SOURCERYGXX_MAJ__=2010 -D__CS_SOURCERYGXX_MIN__=9 
-D__CS_SOURCERYGXX_REV__=55 -idirafter /home/aaron/ltib/rootfs/usr/include 
-iwithprefixbefore include hello.c -msecure-plt -quiet -dumpbase hello.c 
-msoft-float -mcpu=860 -auxbase hello -Wall -version -o /tmp/ccLgMjXe.s
GNU C (Sourcery G++ Lite 2010.09-55) version 4.5.1 (powerpc-linux-gnu)
        compiled by GNU C version 4.3.2, GNU C (Sourcery G++ Lite 2010.09-55) 
version 4.5.1 (powerpc-linux-gnu)
        compiled by GNU C version 4.3.2, GMP version 4.3.2, MPFR version 2.4.2, 
MPC version 0.8.1
GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127931
ignoring nonexistent directory 
"/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/local/include"
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127931
ignoring nonexistent directory 
"/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/local/include"
ignoring duplicate directory 
"/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include"
ignoring duplicate directory 
"/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include-fixed
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/include
  as it is a non-system directory that duplicates a system directory
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/include
#include "..." search starts here:
 /home/aaron/ltib/rootfs/usr/include
#include <...> search starts here:
End of search list.
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include-fixed
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/include
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/include
 /home/aaron/ltib/rootfs/usr/include
End of search list.
GNU C (Sourcery G++ Lite 2010.09-55) version 4.5.1 (powerpc-linux-gnu)
        compiled by GNU C version 4.3.2, GNU C (Sourcery G++ Lite 2010.09-55) 
version 4.5.1 (powerpc-linux-gnu)
        compiled by GNU C version 4.3.2, GMP version 4.3.2, MPFR version 2.4.2, 
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127931
GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127931
Compiler executable checksum: Compiler executable checksum: 
c863ceead81cfeb721e17497f4a048e9
c863ceead81cfeb721e17497f4a048e9
COLLECT_GCC_OPTIONS='-B' '/home/aaron/ltib/rootfs/usr/lib//' '-idirafter' 
'/home/aaron/ltib/rootfs/usr/include' '-iwithprefixbefore' 'include' 
'-msoft-float' '-mcpu=860' '-Wall' '-v' '-o' 'hello' 
'-D__CS_SOURCERYGXX_MAJ__=2010' '-D__CS_SOURCERYGXX_MIN__=9' 
'-D__CS_SOURCERYGXX_REV__=55'
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/as
 -v -a32 -mppc -many -V -Qy -o /tmp/ccc52vXz.o /tmp/ccI9SmWg.s
COLLECT_GCC_OPTIONS='-B' '/home/aaron/ltib/rootfs/usr/lib//' '-idirafter' 
'/home/aaron/ltib/rootfs/usr/include' '-iwithprefixbefore' 'include' 
'-msoft-float' '-mcpu=860' '-static' '-Wall' '-v' '-o' 'hello_static' 
'-D__CS_SOURCERYGXX_MAJ__=2010' '-D__CS_SOURCERYGXX_MIN__=9' 
'-D__CS_SOURCERYGXX_REV__=55'
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/as
 -v -a32 -mppc -many -V -Qy -o /tmp/ccQoRLSx.o /tmp/ccLgMjXe.s
GNU assembler version 2.20.51 (powerpc-linux-gnu) using BFD version (Sourcery 
G++ Lite 2010.09-55) 2.20.51.20100809
GNU assembler version 2.20.51 (powerpc-linux-gnu) using BFD version (Sourcery 
G++ Lite 2010.09-55) 2.20.51.20100809
COMPILER_PATH=/home/aaron/ltib/rootfs/usr/lib//:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/
LIBRARY_PATH=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib/nof/:/home/aaron/ltib/rootfs/usr/lib//:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/lib/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/
COLLECT_GCC_OPTIONS='-B' '/home/aaron/ltib/rootfs/usr/lib//' '-idirafter' 
'/home/aaron/ltib/rootfs/usr/include' '-iwithprefixbefore' 'include' 
'-msoft-float' '-mcpu=860' '-Wall' '-v' '-o' 'hello' 
'-D__CS_SOURCERYGXX_MAJ__=2010' '-D__CS_SOURCERYGXX_MIN__=9' 
'-D__CS_SOURCERYGXX_REV__=55'
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/collect2
 
--sysroot=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof
 --eh-frame-hdr -V -Qy -m elf32ppclinux -dynamic-linker /lib/ld.so.1 -o hello 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/crt1.o
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/crti.o
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof/crtbegin.o
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib/nof
 -L/home/aaron/ltib/rootfs/usr/lib/ 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/lib
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib
 -rpath-link /home/aaron/ltib/rootfs/lib:/home/aaron/ltib/rootfs/usr/lib 
/tmp/ccc52vXz.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed 
-lgcc_s --no-as-needed 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof/crtend.o
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/crtn.o
COMPILER_PATH=/home/aaron/ltib/rootfs/usr/lib//:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/
LIBRARY_PATH=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib/nof/:/home/aaron/ltib/rootfs/usr/lib//:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/lib/:/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/
COLLECT_GCC_OPTIONS='-B' '/home/aaron/ltib/rootfs/usr/lib//' '-idirafter' 
'/home/aaron/ltib/rootfs/usr/include' '-iwithprefixbefore' 'include' 
'-msoft-float' '-mcpu=860' '-static' '-Wall' '-v' '-o' 'hello_static' 
'-D__CS_SOURCERYGXX_MAJ__=2010' '-D__CS_SOURCERYGXX_MIN__=9' 
'-D__CS_SOURCERYGXX_REV__=55'
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/libexec/gcc/powerpc-linux-gnu/4.5.1/collect2
 
--sysroot=/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof
 -V -Qy -static -m elf32ppclinux -o hello_static 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/crt1.o
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/crti.o
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof/crtbeginT.o
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib/nof
 -L/home/aaron/ltib/rootfs/usr/lib/ 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/lib
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/lib
 
-L/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib
 -rpath-link /home/aaron/ltib/rootfs/lib:/home/aaron/ltib/rootfs/usr/lib 
/tmp/ccQoRLSx.o --start-group -lgcc -lgcc_eh -lc --end-group 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/nof/crtend.o
 
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/powerpc-linux-gnu/libc/nof/usr/lib/crtn.o
GNU ld (Sourcery G++ Lite 2010.09-55) 2.20.51.20100809
  Supported emulations:
   elf32ppclinux
   elf32ppc
   elf32ppcsim
   
elf64ppc/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 cannot find /lib/libc.so.6
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 cannot find /usr/lib/libc_nonshared.a
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 cannot find /lib/ld.so.1
collect2: ld returned 1 exit status

make: *** [hello] Error 1
make: *** Waiting for unfinished jobs....
GNU ld (Sourcery G++ Lite 2010.09-55) 2.20.51.20100809
  Supported emulations:
   elf32ppclinux
   elf32ppc
   elf32ppcsim
   elf64ppc
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 cannot find /lib/libc.so.6
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 cannot find /usr/lib/libc_nonshared.a
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld:
 cannot find /lib/ld.so.1
collect2: ld returned 1 exit status
make: *** [hellocpp] Error 1
error: Bad exit status from /home/aaron/ltib/tmp/rpm-tmp.11278 (%build)


RPM build errors:
    Bad exit status from /home/aaron/ltib/tmp/rpm-tmp.11278 (%build)
Build time for helloworld: 1 seconds

Failed building helloworld


f_buildrpms() returned an error, exiting
traceback:
 main:567


Started: Tue Jul 26 14:55:11 2011
Ended:   Tue Jul 26 14:55:13 2011
Elapsed: 2 seconds

VERSION          : 10.1.1
CVS_VERSION      : $Revision: 1.71 $ (Savannah)
PLATFORM         : dbu5000
GNUTARCH         : powerpc
TOOLCHAIN        : freescale-powerpc-linux-gnu-2010.09-55.i686.rpm
TOOLCHAIN_CFLAGS : -msoft-float -mcpu=860

These packages failed to build:
helloworld 

Build Failed

Exiting on error or interrupt
_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to