libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] libunwind compile error for ARM64


From: Hou Pengyang
Subject: Re: [Libunwind-devel] libunwind compile error for ARM64
Date: Wed, 7 Jan 2015 09:51:00 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

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 <address@hidden
<mailto:address@hidden>> 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
    address@hidden <mailto:address@hidden>
    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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]