1 |
Hi, |
2 |
|
3 |
I've tried to bootstrap my prefix on a native gentoo linux, and when |
4 |
upgrading binutils from 2.16.1 to 2.17.* I ended up with broken binutils |
5 |
wrappers in prefix, if 2.16.1 is installed natively too. |
6 |
|
7 |
Attached is a patch to fix this: |
8 |
The real problem is that "[[ ! -e ${BINPATH}/ld ]]", because BINPATH |
9 |
does not contain EPREFIX. |
10 |
Now when same version is installed natively, ${BINPATH}/ld exists |
11 |
unprefixed, resulting in not switching to newer binutils in prefix. |
12 |
|
13 |
The other problem is: "env -i binutils-config ..." will not use |
14 |
"$EPREFIX/usr/bin/binutils-config", but "/usr/bin/binutils-config", with |
15 |
all possible kind of followup problems. |
16 |
|
17 |
/haubi/ |
18 |
|
19 |
-- |
20 |
Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz |
21 |
Sitz der Gesellschaft: Friesach bei Graz |
22 |
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K |
23 |
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz |