This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: error when running "make bench"
- From: paul zimmermann <Paul dot Zimmermann at inria dot fr>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 16 Jan 2020 07:57:47 +0100
- Subject: Re: error when running "make bench"
- References: <mwr200mzh5.fsf@tomate.loria.fr> <CAEMqeSqBv=6Y2Xjz430VM5DcxzbMwzaKRv2=rdumLxNw0TiaQw@mail.gmail.com>
Dear Carlos,
> From: "Carlos O'Donell" <carlos@redhat.com>
> Date: Wed, 15 Jan 2020 12:33:01 -0500
>
> On Wed, Jan 15, 2020 at 12:02 PM paul zimmermann
> <Paul.Zimmermann@inria.fr> wrote:
> > with git revision a8f0fc4, when running "make bench" on my machine
>
> What branch has that commit?
it is branch "master":
commit a8f0fc4e5fbad300d524a3339d503c41e3182ed0 (HEAD -> master, origin/master, origin/HEAD)
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Jan 13 20:41:07 2020 +0100
htl: Add internal version of __pthread_mutex_timedlock
The C11 threads implementation will need it.
> > (x86_64 under Linux), I get just before the math tests start:
> >
> > ...
> > /bin/sh: 2: /tmp/glibc/build/benchtests/bench-timing-type: not found
>
> This is a binary that should have been built for you which returns the
> timing type to use.
>
> [carlos@athas glibc]$ /home/carlos/build/glibc/benchtests/bench-timing-type
> hp_timing
>
> > Running /tmp/glibc/build/benchtests/bench-acos
> > Running /tmp/glibc/build/benchtests/bench-acosh
> > ...
> >
> > Is the "not found" message normal?
>
> No. It works just fine for me.
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
Anyway this does not prevent "make bench" to run.
Paul Zimmermann