This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
[Various] libc/1609: Error in 'make check' origtest with testobj1.so
- To: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- Subject: [Various] libc/1609: Error in 'make check' origtest with testobj1.so
- From: Andreas Jaeger <aj at suse dot de>
- Date: 28 Feb 2000 17:13:43 +0100
- Cc: James Renken <jrenken at sandwich dot net>
Hi glibc developers and testers,
I'm not getting anywhere with this bug report. Closer inspection (on
the build system) showed that ${ORIGIN} expanded to the build
directory (/home/jrenken/glibc2/glibc2-build/) and not to the elf
subdirectory of it (/home/jrenken/glibc2/glibc2-build/elf). This
seems to be due to a failure in dl_open_worker. It finds the as
call_map libc.so instead of origtest.
Has anybody an idea what's broken here? I've recompiled glibc myself
on that system with gcc 2.95 and can still reproduce the problem (but
only on that system not on my own) :-(.
James, have you made any changes to the glibc sources?
I'm appending only two emails, all mails are available via wwwgnats.
Andreas
- Subject: libc/1609: Error in 'make check' origtest with testobj1.so
- From: Various
- Date: Mon Feb 28 16:59:17 2000
Topics:
libc/1609: Error in 'make check' origtest with testobj1.so
Re: libc/1609: Error in 'make check' origtest with testobj1.so
----------------------------------------------------------------------
Date: Wed, 23 Feb 2000 23:27:08 -0800
From: James Renken <jrenken@sandwich.net>
To: bugs@gnu.org
Subject: libc/1609: Error in 'make check' origtest with testobj1.so
Message-Id: <200002240727.XAA13033@herring3.int.sandwich.net>
>Number: 1609
>Category: libc
>Synopsis: make check fails in origtest - cannot find testobj1.so
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: libc-gnats
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Feb 24 02:30:01 EST 2000
>Last-Modified:
>Originator: James Renken
>Organization:
Sandwich.Net Internet Services
>Release: libc-2.1.2
>Environment:
Dual PentiumIII/600, 512MB RAM, Slackware 7.0 (glibc 2.1)
Host type: i686-pc-linux-gnu
System: Linux herring3 2.2.14 #1 SMP Wed Jan 5 20:02:13 PST 2000 i686 unknown
Architecture: i686
Addons: crypt linuxthreads
Build CC: gcc
Compiler version: egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Kernel headers: 2.2.14
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
When running 'make check', this output appears:
/home/jrenken/glibc2/glibc2-build/elf/ld-linux.so.2 --library-path /home/jrenken/glibc2/glibc2-build:/home/jrenken/glibc2/glibc2-build/math:/home/jrenken/glibc2/glibc2-build/elf:/home/jrenken/glibc2/glibc2-build/nss:/home/jrenken/glibc2/glibc2-build/nis:/home/jrenken/glibc2/glibc2-build/db2:/home/jrenken/glibc2/glibc2-build/rt:/home/jrenken/glibc2/glibc2-build/resolv:/home/jrenken/glibc2/glibc2-build/linuxthreads /home/jrenken/glibc2/glibc2-build/elf/origtest > /home/jrenken/glibc2/glibc2-build/elf/origtest.out
/home/jrenken/glibc2/glibc2-build/elf/origtest: while loading `testobj1.so': /home/jrenken/glibc2/glibc2-build/testobj1.so: cannot open shared object file: No such file or directory
Install steps were:
(untar glibc, crypt, and linuxthreads)
mkdir glibc2-build
cd glibc2-build
../glibc-2.1.2/configure --prefix=/usr --enable-add-ons=crypt,linuxthreads --host=i686-pc-linux-gnu
(set parallel flags for "-j 2" in Makefile)
make
make check
>How-To-Repeat:
'make check' on this system (Slackware 7.0, glibc2.1) - access available if needed
>Fix:
Unknown
>Audit-Trail:
>Unformatted:
------------------------------
Date: Mon, 28 Feb 2000 04:50:03 -0500
From: Andreas Jaeger <aj@suse.de>
To: libc-gnats@gnu.org
Cc: gnats-admin@gnu.org
Subject: Re: libc/1609: Error in 'make check' origtest with testobj1.so
Message-Id: <200002280950.EAA19481@mescaline.gnu.org>
The following reply was made to PR libc/1609; it has been noted by GNATS.
From: Andreas Jaeger <aj@suse.de>
To: James Renken <jrenken@sandwich.net>
Cc: bugs@gnu.org
Subject: Re: libc/1609: Error in 'make check' origtest with testobj1.so
Date: 28 Feb 2000 10:45:59 +0100
>>>>> James Renken writes:
> Ah, okay - the output is similar, but not identical. I've sent you login
> information separately.
> LD_LIBRARY_PATH is blank in my default environment.
It seems that gcc miscompiled your glibc. The instruction in origtest.c:
h = dlopen ("${ORIGIN}/testobj1.so", RTLD_LAZY);
should load from build-dir/elf/testobj1.so - but this doesn't work in
your environment.
I checked some things on your system and the only noticably difference
is the compiler. Could you install gcc 2.95.2 and rebuild glibc with
it?
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
------------------------------
End of forwardOQALxl Digest
***************************
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de