Gentoo Archives: gentoo-amd64

From: Mansour Al Akeel <mansour.alakeel@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Can not compile gcc
Date: Fri, 14 Nov 2008 19:14:11
Message-Id: 2a21586d0811141114j9aa4cadve682b88b54a70299@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Can not compile gcc by Justin
1 I have already initiated the build again after I modified the USE flags to
2 the defaults that came with the installation cd. Here's the dfaults:
3 ==================================================================
4 # These settings were set by the catalyst build script that automatically
5 # built this stage.
6 # Please consult /etc/make.conf.example for a more detailed example.
7 CFLAGS="-O2 -pipe"
8 CXXFLAGS="-O2 -pipe"
9 # WARNING: Changing your CHOST is not something that should be done lightly.
10 # Please consult http://www.gentoo.org/doc/en/change-chost.xml before
11 changing.
12 CHOST="x86_64-pc-linux-gnu"
13 # These are the USE flags that were used in addition to what is provided by
14 the
15 # profile used for building.
16 USE="mmx sse sse2"
17 =================================================================
18
19 I am still waiting to see the results. When the error occured I was using
20 the following make.conf:
21
22 ======================================================
23 CFLAGS="-march=athlon64 -O2 -pipe"
24 CXXFLAGS="${CFLAGS}"
25
26 CHOST="x86_64-pc-linux-gnu"
27
28 MAKEOPT="-j2"
29 FEATURES="ccache"
30
31 USE="X aac aiglx alsa aoss asf bzip2 cairo dbus dvd emerald fam firefox gif
32 glitz gnome gstreamer gtk hal java jpeg mad mp3 mp4 new-login nptl
33 nptlonly nsplugin opengl pdf png samba spell sqlite svg symlink threads
34 tiff truetype unicode x264 xcomposite xinerama xml xorg xscreensaver xv
35 xvid -arts -eds -esd -fortran -ipv6 -kde -qt3 -qt4"
36
37 VIDEO_CARDS="NVIDIA"
38 ===================================================
39
40 I should have kept a back up of the build.log but if anyone needs it, I can
41 do emerge again, and send you the file, as I have this strong feeling that
42 the build I am doing now will fail as well.
43 Thank you all.
44
45
46 On Fri, Nov 14, 2008 at 2:40 PM, Justin <justin@×××××××××.net> wrote:
47
48 > Branko Badrljica schrieb:
49 > > Justin wrote:
50 > >> Barry Schwartz schrieb:
51 > >>
52 > >>> Mansour Al Akeel <mansour.alakeel@×××××.com> skribis:
53 > >>>
54 > >>>> Any idea ?
55 > >>>>
56 > >>> If you use ccache, try emptying it.
57 > >>>
58 > >>>
59 > >>>
60 > >>>
61 > >> I think there is something else wrong, because it fails in the configure
62 > >> phase.
63 > >>
64 > >> Send us an emerge --info output, please.
65 > >>
66 > >>
67 > >
68 > > I'm not an expert, but it seems that it was trying to compile 64-bit
69 > > test code with -m32 flag:
70 > >
71 > > >The log file:
72 > > >checking for x86_64-pc-linux-gnu-gcc...
73 > > /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc
74 > > -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/
75 > > -B/usr/x86_64-pc-linux-gnu/bin/ >-B/usr/x86_64-pc-linux-gnu/lib/
76 > > -isystem /usr/x86_64-pc-linux-gnu/include -isystem
77 > > /usr/x86_64-pc-linux-gnu/sys-include -m32
78 > >
79 > >
80 > > Perhaps he should check his make.conf for CHOST and CLAGS ?
81 > >
82 > Sharp eyed guy!!
83 >
84 >

Replies

Subject Author
Re: [gentoo-amd64] Can not compile gcc Beso <givemesugarr@×××××.com>