Greetings,
I'm trying to compile elfutils-0.159 on a 64 bit system. in the configure stage I'm getting to this situation: checking whether gcc -m32 makes executables we can run.. and it fails.
I assume that this is because I don't have 32bit libs on my system. now here is my issue, I cannot install 32bit libs, infact I need libelf to be 64 bit only.
my question is how I can disable that test and build libelf for 64 only?
Thanks.
On Thu, 07 Aug 2014 18:10:40 +0200, daggs wrote:
Greetings,
I'm trying to compile elfutils-0.159 on a 64 bit system. in the configure stage I'm getting to this situation: checking whether gcc -m32 makes executables we can run.. and it fails.
I assume that this is because I don't have 32bit libs on my system. now here is my issue, I cannot install 32bit libs, infact I need libelf to be 64 bit only.
That -m32 configure check is there only for the purposes of the testsuite. Ignore that and all should work. If it does not work the problem is most probably unrelated to the -m32 issue.
I have removed /lib/libc.so from my system and it all behaves as expected:
checking whether gcc -m32 makes executables we can run... no configure: WARNING: not running biarch tests, gcc -m32 does not work + make check will: SKIP: run-backtrace-native-biarch.sh SKIP: run-backtrace-native-core-biarch.sh (2 tests were not run)
This is all perfectly valid.
Jan
Greetings Jan,
Sent: Saturday, August 09, 2014 at 9:11 PM From: "Jan Kratochvil" jan.kratochvil@redhat.com To: daggs daggs@gmx.com Cc: elfutils-devel@lists.fedorahosted.org Subject: Re: prevernt -m32 testing in configure
On Thu, 07 Aug 2014 18:10:40 +0200, daggs wrote:
Greetings,
I'm trying to compile elfutils-0.159 on a 64 bit system. in the configure stage I'm getting to this situation: checking whether gcc -m32 makes executables we can run.. and it fails.
I assume that this is because I don't have 32bit libs on my system. now here is my issue, I cannot install 32bit libs, infact I need libelf to be 64 bit only.
That -m32 configure check is there only for the purposes of the testsuite. Ignore that and all should work. If it does not work the problem is most probably unrelated to the -m32 issue.
I have removed /lib/libc.so from my system and it all behaves as expected:
checking whether gcc -m32 makes executables we can run... no configure: WARNING: not running biarch tests, gcc -m32 does not work
make check will: SKIP: run-backtrace-native-biarch.sh SKIP: run-backtrace-native-core-biarch.sh (2 tests were not run)
This is all perfectly valid.
Jan
thanks for the help, here is a good possibility that the issue is mine, I just remembered that I have applied some patches that I'm not sure I need, will try vanilla, hope it works.
elfutils-devel@lists.fedorahosted.org