Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: [prefix][linux] toolchain-binutils.eclass breaks prefix ongentoo-linux
Date: Fri, 04 May 2007 10:30:10 +0200
Hi,

I've tried to bootstrap my prefix on a native gentoo linux, and when
upgrading binutils from 2.16.1 to 2.17.* I ended up with broken binutils
wrappers in prefix, if 2.16.1 is installed natively too.

Attached is a patch to fix this:
The real problem is that "[[ ! -e ${BINPATH}/ld ]]", because BINPATH
does not contain EPREFIX.
Now when same version is installed natively, ${BINPATH}/ld exists
unprefixed, resulting in not switching to newer binutils in prefix.

The other problem is: "env -i binutils-config ..." will not use
"$EPREFIX/usr/bin/binutils-config", but "/usr/bin/binutils-config", with
all possible kind of followup problems.

/haubi/

-- 
Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz

Attachment:
toolchain-binutils-config.patch (Text Data)
Replies:
Re: [prefix][linux] toolchain-binutils.eclass breaks prefix ongentoo-linux
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
uclibc on prefix
Next by thread:
Re: [prefix][linux] toolchain-binutils.eclass breaks prefix ongentoo-linux
Previous by date:
Re: Re: AIX: gettext fails
Next by date:
Re: [prefix][linux] toolchain-binutils.eclass breaks prefix ongentoo-linux


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.