prelink -u on aarch64 question

Steve Ellcey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
I was wondering if anyone could tell me anything about prelink on
aarch64? I am looking at a gdb test run on my aarch64 ubuntu 16.04
system using the installed gcc (5.4.0) and prelink (1.0) and top-of-tree
gdb sources.  When I run the gdb testsuite and compare my results
with ones from the gdb testing mailing list I get several failures
that involve prelink and the -u option.  It looks like the test run
from the mailing list has XFAIL's for tests that use prelink because
it is not installed on the system.  I get more FAIL's when I remove
prelink, not XFAIL's, I am not sure why.  On my system when I use prelink
with the -u option it gives this message:

+ /usr/sbin/prelink -uN --dynamic-linker=/home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/ld-linux-aarch64.so.1 --ld-library-path=/home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d /home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread /home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/libm.so.6 /home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/libc.so.6 /home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/ld-linux-aarch64.so.1
prelink: "/home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread"'s architecture is not supported
prelink: "/home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/libm.so.6"'s architecture is not supported
prelink: "/home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/libc.so.6"'s architecture is not supported
prelink: "/home/sellcey/gdb-std/obj/binutils-gdb/gdb/testsuite/outputs/gdb.base/attach-pie-misread/attach-pie-misread.d/ld-linux-aarch64.so.1"'s architecture is not supported


Steve Ellcey
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.