Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - Cross-compiling gcc-4.1.1-r1 for i596 fails: undefined reference to `_dl_out_of_memory@GLIBC_PRIVATE'
Date: Sat, 25 Nov 2006 18:50:41
Message-Id: 7573e9640611251046t42747685hbf6baf1329dd89e3@mail.gmail.com
In Reply to: [gentoo-user] OT - Cross-compiling gcc-4.1.1-r1 for i596 fails: undefined reference to `_dl_out_of_memory@GLIBC_PRIVATE' by Michael Sullivan
1 On 11/25/06, Michael Sullivan <michael@××××××××××××.com> wrote:
2 > I'm trying to cross-compile gcc-4.1.1-r1 for my slow i586 on my fast
3 > i686 with the command
4 >
5 > ROOT=/usr/local/portage/bullet/ CHOST="i586-pc-linux-gnu" emerge -B
6 > =sys-devel/gcc-4.1.1-r1.
7
8 Assuming you have a few Gb of disk space available, I would recommend
9 setting up a full chroot build environment. The 32-bit chroot guide
10 for amd64 [1] gives all the steps you need, and should work just as
11 well for an i586 chroot on i686. You just won't need to worry about
12 the linux32 command.
13
14 [1] http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2
15
16 -Richard
17 --
18 gentoo-user@g.o mailing list