[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#8416) Cross compiling failed
Full_Name: Martin Vystrcil
Version: 2.4.4
OS: Linux Mint
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (147.32.219.136)
While cross compiling it is not able to strip final binaries.
My config command:
./configure --host=arm-linux-gnueabihf
CC=/home/martin/Development/SMON3/testing/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-gcc
STRIP=/home/martin/Development/SMON3/testing/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-strip
--with-yielding_select=yes --prefix=/home/martin/Development/SMON3/testing/ldap
What it prints (fail with)
make[2]: Entering director%6`/home/martin/Development/SMON3/testing/openldap-2.4.44/clients/tools'
../../build/shtool mkdir -p /home/martin/Development/SMON3/testing/ldap/bin
../../build/shtool install -c -m 755 -s ldapsearch
/home/martin/Development/SMON3/testing/ldap/bin/ldapsearch
strip: Unable to recognise the format of the input file
`/home/martin/Development/SMON3/testing/ldap/bin/#INST@30215#'
Why this happen ?
In file build/shtool is following construction.
if [ ".$opt_s" = .yes ]; then
if [ ".$opt_t" = .yes ]; then
echo "strip $dsttmp" 1>&2
fi
strip $dsttmp || shtool_exit $?
fi
In my opinion there should be strip based on config. In config there it is set
correctly.
Please lememe know, h t to fix this correctly, I'm not such an expert for
automake.