From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22029 invoked by alias); 19 Mar 2003 19:16:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22010 invoked by uid 71); 19 Mar 2003 19:16:00 -0000 Date: Wed, 19 Mar 2003 19:16:00 -0000 Message-ID: <20030319191600.22009.qmail@sources.redhat.com> To: danglin@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "BONNER,MATT \(HP-Vancouver,ex1\)" Subject: RE: target/9843: [HPUX] -static still leaves the linker looking f or shl_* Reply-To: "BONNER,MATT \(HP-Vancouver,ex1\)" X-SW-Source: 2003-03/txt/msg01290.txt.bz2 List-Id: The following reply was made to PR target/9843; it has been noted by GNATS. From: "BONNER,MATT (HP-Vancouver,ex1)" To: "'law@redhat.com'" Cc: 'John David Anglin' , danglin@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: RE: target/9843: [HPUX] -static still leaves the linker looking f or shl_* Date: Wed, 19 Mar 2003 14:15:37 -0500 >> From: law@redhat.com [mailto:law@redhat.com] >> Sent: Wednesday, March 19, 2003 10:43 AM >> To: BONNER,MATT (HP-Vancouver,ex1) >> Cc: 'John David Anglin'; danglin@gcc.gnu.org; gcc-bugs@gcc.gnu.org; >> gcc-prs@gcc.gnu.org; nobody@gcc.gnu.org; gcc-gnats@gcc.gnu.org >> Subject: Re: target/9843: [HPUX] -static still leaves the linker looking f or shl_* >> >> >> In message >> , "BONNER, MATT" writes: >> >Hmmm... >> > >> >Maybe all is still not well. When I move an executable compiled with >> >all this stuff from an HP-UX 11 machine to an HP-UX machine, I get >> > >> >/usr/lib/dld.sl: Can't open shared library: /usr/lib/libdld.2 >> >/usr/lib/dld.sl: No such file or directory >> >IOT trap >> > >> >I'm hunting around as I write this, but if you know what I'm doing >> >wrong now, please let me know. Or if the answer is "You can't run >> >11 executables on 10." :-) >> >> You can't run hpux11 executables on an hpux10 system. Okay. Bummer. However, I'm still confused. I thought all these -Wl,-E,+n commands were to link statically. Why, then, is the executable looking for shared library libdld.2? thanks, Matt