Gentoo Archives: gentoo-catalyst

From: "Jan Stępień" <jan@×××××××××××.pl>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Building stage3 fails because of no C++ compiler
Date: Fri, 16 Nov 2007 18:35:49
Message-Id: 473DE299.8020108@stepien.com.pl
In Reply to: Re: [gentoo-catalyst] Building stage3 fails because of no C++ compiler by Chris Gianelloni
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Chris Gianelloni wrote:
5 > On Fri, 2007-11-16 at 08:51 +0100, Jan Stępień wrote:
6 >> I've been trying to create a live CD using catalyst building my own
7 >> stage(1-3). I've downloaded stage3-i686-2007.0.tar.bz2 (MD5 sum
8 >> 55f18797e55a19f1f7d43d649f416504) and ran:
9 >
10 > Use a generic stage. Do not use an i686 stage3 as a seed, use an x86
11 > one. Your stage1 subarch should be "x86" not "i686"... I would also
12 > suggest not using the C(XX)FLAGS you've chosen. Add a -march=i686.
13 > You're already building i686-only binaries via subarch i686, it makes no
14 > sense to under-optimize the binaries, too. ;]
15 >
16 > Let us know if those things didn't fix it.
17
18 Thanks a lot for your response. Meanwhile, I've managed to build all
19 three stages starting with the mentioned stage3-i686-2007.0. The method
20 I've came up with is following:
21
22 # catalyst -f stage1.spec
23 # rm -r <package dir>
24 # catalyst -f stage2.spec && catalyst -f stage3.spec
25
26 Actually I'm not sure whether removal of gcc package only wouldn't solve
27 the problem, but I have to admit I hadn't got neither time nor patience
28 to give it a try.
29
30 Nevertheless, thank you for your suggestion regarding optimisation. I
31 didn't know that the subarch variable in the *.spec file already makes
32 the output stage architecture exclusive. If so, I'll use march argument.
33
34 As long as information about results of building stages according to
35 your advice will be of any value for you, I'll let catalyst work
36 overnight. I hope I'll have some results in the morning (CET).
37
38 Best regards,
39 Jan Stępień
40 -----BEGIN PGP SIGNATURE-----
41 Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux)
42
43 iD8DBQFHPeKZV8Af0wiAIQIRAnFXAKC5g5xsXF3NSJDZG5lLLs69/gf4QwCeI8pS
44 VtqFMeN+wNC+4wXa4+QEpsM=
45 =A5AA
46 -----END PGP SIGNATURE-----
47 --
48 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] Building stage3 fails because of no C++ compiler Stephen Fromm <stephenf@××××.net>