To get gcc-4.3 to build with emchain, I decided to edit biarchs_archs in
debian/rules.defs to remove powerpc.
I have the following errors. Looks like I may need to set
LD_LIBRARY_PATH to find libc.so.6. I presume this is the one in
/usr/powerpc-linux/lib but I would have thought emdebian-tools would set
things up to look there anyway.
Another strange error as reported in the log file (see below) is that
/usr/powerpc-linux-gnu/lib/libc.so.6 is NOT little-endian. I don't
expect it to be little endian, but something does for some reason.
I presume these are related
Any ideas ???
cat debian/libgcc1-powerpc-cross/DEBIAN/shlibs >> debian/shlibs.local
ARCH=powerpc MAKEFLAGS="CC=something" dh_shlibdeps
-plibgcc1-powerpc-cross
dpkg-shlibdeps: failure: couldn't find library libc.so.6 needed by
debian/libgcc1-powerpc-cross/usr/powerpc-linux-gnu/lib/libgcc_s.so.1
(its RPATH is '').
Note: libraries are not searched in other binary packages that do
not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set
LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make[1]: *** [stamps/08-binary-stamp-libgcc] Error 1
make[1]: Leaving directory `/home/brendan/emdebian/gcc-4.3-4.3.0'
make: *** [binary] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error
exit status 2
emchain: Build failed. See
/home/brendan/emdebian/emchain-powerpc-2008-03-16.log for more info.
[EMAIL PROTECTED]:~/emdebian$ export | grep LD_LIB
[EMAIL PROTECTED]:~/emdebian$ export
LD_LIBRARY_PATH=/usr/powerpc-linux-gnu/lib
[EMAIL PROTECTED]:~/emdebian$ cat emchain-powerpc-2008-03-16.log
cat: error while loading shared libraries:
/usr/powerpc-linux-gnu/lib/libc.so.6: ELF file data encoding not
little-endian
[EMAIL PROTECTED]:~/emdebian$
[EMAIL PROTECTED]:~/emdebian$
Neil Williams wrote:
On Sat, 2008-03-15 at 10:17 +1100, Brendan Simon wrote:
I found the --force flag for emchain, and used that to see how far I
could get.
It gets as far as trying to build gcc-4.3 but has the following unmet
dependencies: libc6-dev-powerpc-cross (>=2.5),
libc6-dev-ppc64-powerpc-cross (>=2.5), autmake1.9, libtool, autogen,
gawk, binutils-powerpc-linux-gnu (>=2.17cvs20070426), bison (>=1:2.3),
flex, realpath (>=1.9.12).
The error messages says that the dependencies can be overridden with -d
(dpkg-buildpackage).
Can I do that via emchain somehow ??
No need - use:
$ sudo apt-get build-dep gcc-4.3
as with building any other package.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]