On 2015/1/6 17:24, C Bergström wrote:
did you mean --target instead of --host? (sorry I use a cmake based
build for libunwind and not sure how the autoc*ap handles this)
On Tue, Jan 6, 2015 at 3:56 PM, Hou Pengyang <[email protected]
<mailto:[email protected]>> wrote:
hi, when compiling libunwind for ARM64, there are errors like this:
../src/.libs/libunwind-__aarch64.a(elf64.o): In function
`_Uelf64_get_proc_name':
libunwind/src/elfxx.c:349: undefined reference to
`_Uaarch64_get_elf_image'
if anyone has a solution to this problem?
my corross compiler is aarch-linux-gnu-gcc 4.9.2 and libunwind is
the latest version. My build steps:
# autorefconf -i
# ./configure --host=aarch64 CC=aarch64-linux-gnu-gcc
LDFLAGS="-L$PWD/src/.libs"
# make
I wonder if I have a wrong configure, the same errors occur when I
compile libunwind for ARM.
thanks!
_________________________________________________
Libunwind-devel mailing list
[email protected] <mailto:[email protected]>
https://lists.nongnu.org/__mailman/listinfo/libunwind-__devel
<https://lists.nongnu.org/mailman/listinfo/libunwind-devel>
I set "aarch64" to --target and make again, there are no compile errors
this time. But no *.so are created except of some *.a in
libunwind/src/.libs. What's more, some files, such as os-linux.c , is
not compiled.
# ./configure --target=aarch64 --host=x86_64 CC=aarch64-linux-gnu-gcc
LDFLAGS="-L$PWD/src/.libs"
# make
_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel