[Date Prev][Date Next]
Re: (ITS#4415) cross-compiling impossible (ucgendat is executed, but is cross compiled) - reopening issue 4363
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#4415) cross-compiling impossible (ucgendat is executed, but is cross compiled) - reopening issue 4363
- From: firstname.lastname@example.org
- Date: Thu, 23 Feb 2006 23:35:51 GMT
Howard Chu wrote:
> email@example.com wrote:
>> Full_Name: Tomasz Chmielewski
>> Version: 2.3.20
>> OS: Linux
>> URL: Submission from: (NULL) (18.104.22.168)
>> According to "OpenLDAP 2.3.20 Release":
>> Build Environment
>> Fixed liblunicode cross compiling problem (ITS#4363)
>> However, the problem persists when trying to cross-compile 2.3.20:
> It works for me:
Well, for me it doesn't.
I was using:
./configure --target=mipsel-linux --host=mipsel-linux
to build for a mipsel/uclibc target, with mipsel/uclibc aware toolchain.
# file libraries/liblunicode/ucgendat
libraries/liblunicode/ucgendat: ELF 32-bit LSB executable, MIPS, version
1 (SYSV), dynamically linked (uses shared libs), stripped
It's a mipsel binary here (as the toolchain can only build mipsel
binaries), and it is tried to be executed on a x86 machine during the
build process, which of course fails.
I don't know, perhaps it's a wontfix, perhaps there is some workaround,
and if not, maybe it should give a better warning.
Anyway, this type of error (trying to execute a binary for a different
target) is quite common when cross-compiling.