Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29951 - Update ld's search path on amd64 for 32bit binaries
Summary: Update ld's search path on amd64 for 32bit binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 29952
  Show dependency tree
 
Reported: 2003-09-29 14:01 UTC by Brad House
Modified: 2003-10-03 07:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for binutils-2.14 (binutils-2.14.amd64-32bit-path-fix.patch,456 bytes, patch)
2003-09-29 14:03 UTC, Brad House
Details | Diff
patch for binutils ebuild (binutils-2.14.90.0.6-r3.ebuild.amd64.patch,442 bytes, patch)
2003-09-29 14:03 UTC, Brad House
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brad House 2003-09-29 14:01:52 UTC
ld only searches /usr/lib and /lib for libc.  So on 32bit compiles, libc doesn't reside there.  On amd64, for 32bit compiles, make ld search in /usr/lib32 and /lib32 as well...
Comment 1 Brad House 2003-09-29 14:03:21 UTC
Created attachment 18501 [details, diff]
patch for binutils-2.14
Comment 2 Brad House 2003-09-29 14:03:50 UTC
Created attachment 18502 [details, diff]
patch for binutils ebuild
Comment 3 Brad House 2003-09-29 19:25:28 UTC
just an FYI to anyone that sees this.  This is a very un-obtrusive
patch.  Even if you don't link against 32bit binaries, it won't
affect anything else (like 64bit stuff).  For this reason, it should
be committed, to ease those people who do wish to do 64bit + 32bit
builds _without_ a chroot'd environment.
Comment 4 Brad House 2003-10-03 07:38:29 UTC
done.