Gentoo Archives: gentoo-alt

From: "René Berber" <r.berber@××××××××.org>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] How important is bootstrap_zlib_core()'s set target?
Date: Sun, 21 Jul 2013 16:55:22
Message-Id: ksh3p6$t9$1@ger.gmane.org
1 Hi,
2
3 I'm trying to bootstrap prefix into my NAS (Synology 713+), which has
4 Linux 3.2.30 64-bit, but everything (programs, libraries) 32-bit, and no
5 compiler, headers, etc. a bare-bones distribution.
6
7 I've installed a compiler (gcc 4.2.1), and its dependencies, also bash,
8 coreutils. The compiler is 32-bit exclusively (i.e. no -m64, no 64-bit
9 runtime).
10
11 Running the bootstrap script it fails in bootstrap_zlib_core() trying to
12 build a 64-bit target.
13
14 Is that target really important?
15
16 If I disable the line responsible:
17
18 @@ -798,7 +798,7 @@
19 # hence we need to make sure that we really bootstrap this
20 # 64-bits (in contrast to the tools which we don't care
21 if they
22 # are 32-bits)
23 - export CC="gcc -m64"
24 + export CC="gcc "
25 elif [[ ${CHOST} == i?86-*-* ]] ; then
26 # This is important for bootstraps which are 64-native,
27 but we
28 # want 32-bits, such as most Linuxes, and more recent OSX.
29
30 Then the bootstrap proceeds, and fails on stage 3 trying to build gcc
31 4.2.4-r01.4, but that failure is because... "cannot find -lmpfr", which
32 is never made by itself, and I don't see the source being unpacked
33 inside gcc's source (so it gets made in the process).
34 --
35 René Berber

Replies

Subject Author
[gentoo-alt] Re: How important is bootstrap_zlib_core()'s set target? "René Berber" <r.berber@××××××××.org>
Re: [gentoo-alt] How important is bootstrap_zlib_core()'s set target? heroxbd <heroxbd@×××××.com>