Am 21.08.2013 01:04, schrieb Shawn Landden:
> User: multiarch-de...@lists.alioth.debian.org
> Usertags: multiarch

this has nothing to do with multiarch.

> building a i386 on armhf cross-compiler (according to 
> https://wiki.debian.org/MultiarchCrossToolchainBuild)
> builds, but then fails on dh_strip:
> 
> dh_strip -plibgcc1 --dbg-package=libgcc1-dbg
> objcopy: Unable to recognise the format of the input file 
> `debian/libgcc1/lib/i386-linux-gnu/libgcc_s.so.1'
> dh_strip: objcopy --only-keep-debug 
> debian/libgcc1/lib/i386-linux-gnu/libgcc_s.so.1 
> debian/libgcc1-dbg/usr/lib/debug//lib/i386-linux-gnu/libgcc_s.so.1 returned 
> exit code 1
> 
> 
> If i replace the objcopy command above with i486-linux-gnu-objcopy (which is 
> installed, and was built
> from binutils source according to the same instructions), then then command 
> runs successfully.

does using binutils-multiarch help?

The problem here is that debhelper isn't aware of the target architecture.  I
can export the DEB_TARGET_* macros to the environment, if debhelper can use
these. I don't intend working on these.

And I hope such a cross compiler remains an academic exercise ...


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5214b093.8010...@debian.org

Reply via email to