This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error when running "make bench"


On 16/01/2020 06:57, paul zimmermann wrote:
> what is strange is that the file exists:
> 
> $ ls -l /tmp/glibc/build/benchtests/bench-timing-type
> -rwxr-xr-x 1 zimmerma caramba 35760 Jan 16 07:48 /tmp/glibc/build/benchtests/bench-timing-type
> 
> $ file /tmp/glibc/build/benchtests/bench-timing-type
> /tmp/glibc/build/benchtests/bench-timing-type: ELF 64-bit LSB shared object,
> x86-64, version 1 (SYSV), dynamically linked, interpreter /tmp/lib/ld-linux-x86-64.so.2,
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> BuildID[sha1]=6eaee68beda7ba9d3a4e7c329d427b5c0676483d, for GNU/Linux 3.2.0, with debug_info, not stripped
> 
> however it does not want to run:
> 
> $ /tmp/glibc/build/benchtests/bench-timing-type
> -bash: /tmp/glibc/build/benchtests/bench-timing-type: No such file or directory

that executable seems to be built with

 -Wl,-dynamic-linker=/tmp/lib/ld-linux-x86-64.so.2

which does not exist, you can quickly fix it now
by making that a symlink to wherever the dynamic
linker is (and set up runtime library paths where
libc.so.6 etc is)

but i think ideally your host toolchain should
not produce executables that cannot run.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]