FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

LinkBack Thread Tools
Old 11-24-2010, 08:42 AM
Hector Oron
Default Bug#604774: gcc-4.3 (cross): powerpc also broken for biarch and non-biarch


I also atempted biarch and nobiarch builds for gcc-4.3

GCC_TARGET=powerpc DEB_CROSS=yes dpkg-buildpackage -us -uc -rfakeroot
checking for powerpc64-linux-gnu-ranlib... /usr/powerpc-linux-gnu/bin/ranlib
checking for powerpc64-linux-gnu-strip... /usr/powerpc-linux-gnu/bin/strip
checking whether ln -s works... yes
checking for powerpc64-linux-gnu-gcc...
-B/usr/powerpc-linux-gnu/bin/ -B/usr/powerpc-linux-gnu/lib64/ -isystem
/usr/powerpc-linux-gnu/include -isystem
/usr/powerpc-linux-gnu/sys-include -m64 -fPIC -mstrict-align
checking for suffix of object files... configure: error: cannot
compute suffix of object files: cannot compile
See `config.log' for more details.
make[3]: *** [configure-target-libgcc] Error 1
make[3]: Leaving directory
make[2]: *** [all] Error 2
make[2]: Leaving directory
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory
make: *** [stamps/05-build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Attached build/config.log

dpkg-buildpackage -us -uc -rfakeroot
: # fix '*.la' and '*.lai' files (don't resolve the /lib64 symlink)
for i in $(find debian/tmp -name '*.la' -o -name '*.lai'); do
sed -e 's,/usr/lib64,/usr/lib,g' -e 's,/lib/../lib64,/lib,g'
$i > $i.new;
if diff -u $i $i.new; then
rm -f $i.new;
echo "$i: references to lib64 fixed";
touch -r $i $i.new;
mv -f $i.new $i;
rm -f debian/tmp/usr/lib/gcc/powerpc-linux-gnu/4.3.5/adalib/lib*.so*
for i in gcc gcov; do
I=`echo $i | tr a-z A-Z`;
sed -e "s/@NAME@/$I-4.3/g" -e "s/@name@/$i-4.3/g"
debian/dummy-man.1 > debian/tmp/usr/share/man/man1/$i.1;
: # ppc 64bit build slaps libgcc and libstdc++ to powerpc64-linux-gnu
cp -a debian/tmp/usr/powerpc64-linux-gnu/lib64/*
cp: cannot stat `debian/tmp/usr/powerpc64-linux-gnu/lib64/*': No such
file or directory
make[1]: *** [stamps/07-install-stamp] Error 1
make[1]: Leaving directory
make: *** [stamps/07-install-stamp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

*Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html

Thread Tools

All times are GMT. The time now is 07:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org