[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libunwind] Can't build libunwind on x86-64
From: |
David Mosberger |
Subject: |
Re: [libunwind] Can't build libunwind on x86-64 |
Date: |
Mon, 13 Sep 2004 00:48:25 -0700 |
>>>>> On Fri, 10 Sep 2004 23:23:43 +0200, Andreas Schwab <address@hidden> said:
Andreas> When I try to build libunwind 0.98 on x64-64 I get these
Andreas> errors: gcc: unrecognized option `-static-libcxa'
This one is harmeless: libunwind does an autoconf test to see if
-static-libcxa is accepted by the compiler without an error. If so,
it will use that option, since it is needed when building with the
Intel compiler. Unfortunately, the autoconf test doesn't check for
warnings. If anybody knows how to test for "accepted with no error
and no warning", please let me know.
Andreas>
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld:
Andreas> .libs/elf64.o: relocation R_X86_64_PC32 against
Andreas> `_Uelf64_valid_object' can not be used when making a shared
Andreas> object; recompile with -fPIC
Andreas>
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld:
Andreas> final link failed: Bad value
Andreas> I'm using binutils-2.15.91.0.2.
It appears to build fine on the machine I have access to
(spe189.testdrive.hp.com). It seems to run RHEL AS3, with binutils
2.14.90.0.4.
Having said that, the x86-64 support is certainly work-in-progress.
--david