Gentoo Archives: gentoo-alt

From: Elias Pipping <pipping@××××××××.org>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1
Date: Tue, 15 May 2007 19:37:03
Message-Id: 94DEC38B-210B-400F-9DE5-779E60C788C1@macports.org
In Reply to: Re: [gentoo-alt] Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1 by Fabian Groffen
1 I'm currently at 'emerge world', where gcc builds gcc and i get this
2 at the very beginning:
3
4 >>> Compiling source in /Users/pipping/Gentoo/var/tmp/portage/sys-
5 devel/gcc-apple-4.0.1_p5363-r1/work/gcc-5363 ...
6 ld64 warning: in /Users/pipping/Gentoo/usr/lib/gcc/i686-apple-
7 darwin8/4.0.1/libgcc_s.10.4.dylib, missing required architecture
8 x86_64 in file
9 ld64 warning: in /Users/pipping/Gentoo/usr/lib/gcc/i686-apple-
10 darwin8/4.0.1/libgcc.a, file is not of required architecture
11
12 (so, gcc is built but it's 32 bit only(?))
13
14 $ lipo -info ~/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a
15 input file /Users/pipping/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/
16 libgcc.a is not a fat file
17 Non-fat file: /Users/pipping/Gentoo/usr/lib/gcc/i686-apple-
18 darwin8/4.0.1/libgcc.a is architecture: i386
19
20
21 Kind regards,
22
23 Elias
24
25 On May 15, 2007, at 9:28 PM, Fabian Groffen wrote:
26
27 > On 16-05-2007 04:12:19 +0900, MATSUI Fe2+ Tetsushi wrote:
28 >>>> /Users/pipping/Gentoo/usr/i686-apple-darwin8/sys-include -m64
29 >>>> checking for suffix of object files... configure: error: cannot
30 >>>> compute
31 >>>> suffix of object files: cannot compile
32 >
33 >> I saw the same error message before, but now I'm able to be using
34 >> gcc-apple 4.0.1_p5363-r1 successfully. The point is that C2D is not
35 >> prescott but nocona. CFLAGS should be set as CFLAGS="-march=nocona"
36 >> in the make.conf. The setting solved the problem for me.
37 >
38 > Is this before or after I fixed this problem for Elias? And if it was
39 > before, does it result in a 64-bits capable compiler or not?
40 >
41 >> This is my first post to the gentoo-alt ML, and I hope this would
42 >> help.
43 >
44 > Welcome!
45 >
46 > --
47 > Fabian Groffen
48 > Gentoo on a different level
49 >
50 > --
51 > gentoo-alt@g.o mailing list
52 >
53
54 --
55 gentoo-alt@g.o mailing list

Replies