[Top][All Lists]

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

Link issues with ARM target 1.4.0, 1.5rc2

From: Mitch Souders
Subject: Link issues with ARM target 1.4.0, 1.5rc2
Date: Tue, 13 Oct 2020 18:49:49 -0700

Building from a linux x86_64 host targeting arm has missing symbols for functions relating to 32bit elf reading.

$  gcc -v 2>&1 | grep -i ^Target
Target: x86_64-linux-gnu

#Generic Build
 ./configure --build=${HOST} \
             --enable-coredump --enable-ptrace \
make -j
make install
make check

for TARGET in \
    arm-${TARGET_SUFFIX} \
    x86_64-${TARGET_SUFFIX} \
    ./configure --build=${HOST} \
                --target=${TARGET} \
                --enable-coredump --enable-ptrace \
    make -j
    make install
    make check

During make check:
libtool: link: gcc -g -O2 -fexceptions -Wall -Wsign-compare -o .libs/test-proc-info test-proc-info.o  ../src/.libs/ -Wl,-rpath -Wl,/tmp/libunwind/lib
/usr/bin/ld: ../src/.libs/ undefined reference to `_Uelf32_load_debuglink'
/usr/bin/ld: ../src/.libs/ undefined reference to `_Uelf32_find_section'

$ nm /tmp/lib/ | grep Uelf
                 U _Uelf32_find_section
                 U _Uelf32_load_debuglink

$ nm /tmp/lib/ | grep Uelf
000000000000fb60 t _Uelf64_find_section
00000000000103c0 t _Uelf64_get_proc_name
000000000000fc70 t _Uelf64_get_proc_name_in_image
000000000000ff50 t _Uelf64_load_debuglink
000000000000f990 t _Uelf64_lookup_symbol.isra.0

$ nm /tmp/lib/ | grep Uelf
000000000000a010 t _Uelf64_find_section
000000000000a870 t _Uelf64_get_proc_name
000000000000a120 t _Uelf64_get_proc_name_in_image
000000000000a400 t _Uelf64_load_debuglink

It seems likely I am overlooking some obvious configure option or build step that is preventing the 32 bit elf functions from ending up in (or related libraries). Could anyone point me in the right direction?


reply via email to

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