Bug 5239 - /usr/lib/milli.a is not searched from sysroot
Summary: /usr/lib/milli.a is not searched from sysroot
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.17
: P3 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 13:21 UTC by Bernard van Duijnen
Modified: 2007-11-16 10:42 UTC (History)
1 user (show)

See Also:
Host: linux
Target: hppa64-hp-hpux11
Build: linux
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard van Duijnen 2007-11-01 13:21:31 UTC
I am building a cross compiler from linux for hppa64.

ld searches for /usr/lib/pa20_64/milli.a and not in my sysroot
but in my local /usr/lib/.

The complete error message is:
/usr/local/xcompile/lib/gcc/hppa64-hp-hpux11/4.1.1/../../../../hppa64-hp-hpux11/bin/ld:
/usr/lib/pa20_64/milli.a: No such file: No such file or directory

The work around is to use a symbolic link.
Comment 1 Nick Clifton 2007-11-07 14:43:57 UTC
Hi Bernard,

  Please could you check to see if this problem still exists with the mainline
sources.  If it does, please could you put together a simple, small testcase to
allow us to reproduce the problem locally.

Cheers
  Nick
Comment 2 Alan Modra 2007-11-13 04:26:29 UTC
I bet it will.  Replace the string /usr/lib/pa20_64/milli.a with -lmilli in
ld/configure.host.  Does that help?
Comment 3 Bernard van Duijnen 2007-11-16 10:42:25 UTC
Sorry the problem looks to be in gcc and not in ld.
The string is hard coded in: gcc/config/pa/pa64-hpux.h

closing this as an invalid bug.