[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] avoid using wrong shared libraries when cross-compiling ncur
Re: [patch] avoid using wrong shared libraries when cross-compiling ncurses-5.3
Mon, 1 Sep 2003 18:22:18 -0400 (EDT)
On Mon, 1 Sep 2003, Dan Kegel wrote:
> ncurses-5.3 fails on "make install" when cross-compiling
> because it runs $srcdir/shlib unconditionally.
I think the point is that not many people do cross-compiles, so the
install rules aren't much exercised in that configuration.
> Here's a log after setting -x in run_tic.sh.
> It totally notices that CC != HOSTCC, but then it
> goes and tries to use the shared libraries we just compiled
> + test gcc =
> + ../../ncurses-5.3/misc/shlib tic -s -o /tmp/ncurses/usr/share/terminfo
> tic: error while loading shared libraries: ../lib/libncurses.so.5: ELF file
> data encoding not little-endian
> I verified that this still happens even after applying
> all the latest incremental patches.
> Here's a patch that seems to fix the problem for me,
> followed by a script to reproduce the problem and the fix.
> I'm cc'ing crossgcc because I have a funny feeling the
> bug-ncurses mailing list is ignoring me because of a spam
> filter, and I wanted to get the word out about the issue.
I do recall approving your subscribe, and seeing it succeed...