[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libunwind] Trouble cross-compiling libunwind
From: |
David Mosberger |
Subject: |
Re: [libunwind] Trouble cross-compiling libunwind |
Date: |
Wed, 29 Dec 2004 17:16:29 -0800 |
>>>>> On Thu, 30 Dec 2004 00:06:24 +0300, "Nikita V. Youshchenko"
>>>>> <address@hidden> said:
Nikita> Unfortunately, I'm having technical problems here.
Nikita> First, libunwind build procedure first creates two tools,
Nikita> mk_Gcursor_i and mk_Lcursor_i, that are executed to produce
Nikita> two headers that are used later in the build process. This
Nikita> can't work when cross-compiling (unless special care is
Nikita> taken to build the tools with native compiler, not cross
Nikita> compiler - but this is not done in current libunwind build
Nikita> system)
Nikita> Second, looks that when cross-compiling (--host=ia64-linux
Nikita> --build=x86-linux), REMOTE_ONLY automake conditional is set
Nikita> to true, which causes different things to be built other
Nikita> than when native-compiling.
Andreas Schwab has brought up this issue also a few days ago:
http://www.hpl.hp.com/hosted/linux/mail-archives/libunwind/2004-December/000517.html
Can you try his patch and let me know if that takes care of the
problems you're seeing?
--david