1 |
I got the same error because I had the noexec option in my fstab file. |
2 |
The option was set on my swap file bus affected my whole system. |
3 |
|
4 |
my 2c |
5 |
|
6 |
2008/11/14, Mansour Al Akeel <mansour.alakeel@×××××.com>: |
7 |
> First of all, I apologies for the HTML formatting. On my fedora, I use |
8 |
> Thunderbird, and have the emails sent in plain text automatically. |
9 |
> Since My system is being UPGRADED to gentoo, I am stuck with the web |
10 |
> interface, and totally forgot the plain text requirement. |
11 |
> |
12 |
> Back again to my problem, I have modified my make.conf to this one: |
13 |
> ======================================================= |
14 |
> CFLAGS="-march=athlon64 -O2 -pipe" |
15 |
> CXXFLAGS="${CFLAGS}" |
16 |
> CHOST="x86_64-pc-linux-gnu" |
17 |
> MAKEOPT="-j2" |
18 |
> #FEATURES="ccache" |
19 |
> FEATURES=-sandbox emerge sandbox" |
20 |
> USE="X aac aiglx alsa aoss asf bzip2 cairo dbus dvd emerald fam firefox gif |
21 |
> glitz gnome gstreamer gtk hal java jpeg mad mp3 mp4 new-login nptl |
22 |
> nptlonly nsplugin opengl pdf png samba spell sqlite svg symlink threads |
23 |
> tiff truetype unicode x264 xcomposite xinerama xml xorg xscreensaver xv |
24 |
> xvid -arts -eds -esd -fortran -ipv6 -kde -qt3 -qt4" |
25 |
> |
26 |
> VIDEO_CARDS="NVIDIA" |
27 |
> ======================================================= |
28 |
> |
29 |
> And trying the emerge again. I will report the results. I am not stuck |
30 |
> with any 32 bit properiatory softwares, but you never know, I may need |
31 |
> it. I will keep the option of getting rid of the 32 bit as the last |
32 |
> option. |
33 |
> |
34 |
> Thank you. |
35 |
> |
36 |
> On Fri, Nov 14, 2008 at 3:30 PM, Duncan <1i5t5.duncan@×××.net> wrote: |
37 |
>> |
38 |
>> "Mansour Al Akeel" <mansour.alakeel@×××××.com> posted |
39 |
>> 2a21586d0811141002p735a3839h74ec70ff8dd7f524@××××××××××.com, excerpted |
40 |
>> below, on Fri, 14 Nov 2008 14:02:19 -0400: |
41 |
>> |
42 |
>> > checking for x86_64-pc-linux-gnu-gcc... |
43 |
>> > /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc |
44 |
>> > -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ |
45 |
>> > -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem |
46 |
>> > /usr/x86_64-pc-linux-gnu/include -isystem |
47 |
>> > /usr/x86_64-pc-linux-gnu/sys-include -m32 |
48 |
>> |
49 |
>> First, please kill the HTML. There's enough "old fogies" like me that |
50 |
>> don't like it, on most Linux related lists at least, that it's really not |
51 |
>> a good idea. We have a choice as to whether to reply or not, and some of |
52 |
>> the guys that have been around the longest and therefore tend to have the |
53 |
>> most wisdom to apply to a problem, may not reply to HTML posts at all -- |
54 |
>> or even see them in some cases, if they filter them out, as I do for |
55 |
>> regular mail. Do you really want to potentially kill the single reply |
56 |
>> that might have otherwise been the only one with a working fix? |
57 |
>> |
58 |
>> Anyway, back to your question. See that -m32? That's telling the new |
59 |
>> gcc it just built while bootstrapping itself and is there testing, to |
60 |
>> compile the test in 32-bit mode. It (I think) builds the 64-bit stuff |
61 |
>> first, and is then failing on the 32-bit stuff. IOW, it's an issue |
62 |
>> related to the 32-bit aspect of the compile for both 64-bit and 32-bit |
63 |
>> support, that you get when you are running a multilib profile. |
64 |
>> |
65 |
>> Personally, since I don't do the proprietaryware that's the biggest |
66 |
>> reason to do 32-bit compatibility in the first place, and all the |
67 |
>> freedomware I run has long since been 64-bit, I didn't have any reason to |
68 |
>> stay with multilib. And, since it gave me headaches like this every so |
69 |
>> often, and even when it was working, both gcc and glibc, which are both |
70 |
>> already fairly long merges, took effectively double the time to build |
71 |
>> because they were being built for both 64-bit and 32-bit, I had lots of |
72 |
>> reason NOT to stay with multilib. |
73 |
>> |
74 |
>> So I switched to the no-multilib profile and simplified my life with |
75 |
>> faster and more trouble-free gcc and glibc compiles, and have been VERY |
76 |
>> happy I did so. |
77 |
>> |
78 |
>> Of course if you're still held captive by some proprietaryware or other |
79 |
>> that's only available in 32-bit, that's not going to be an option for you. |
80 |
>> |
81 |
>> There are several possible triggers for this problem. The first one is a |
82 |
>> broken 32-bit sandbox. For that, try turning it off and remerging |
83 |
>> sandbox. If it works, you should then be able to remerge gcc without |
84 |
>> issue and remerge sandbox normally. |
85 |
>> |
86 |
>> FEATURES=-sandbox emerge sandbox |
87 |
>> |
88 |
>> If that doesn't work, one thing that has been a problem in the past but |
89 |
>> one would hope doesn't apply any more, is if you had eselect-compiler and |
90 |
>> gcc-config-2.0 merged at some point. If you did, there's a bug on it you |
91 |
>> should look at. If you didn't, this one doesn't apply. |
92 |
>> |
93 |
>> There are various other possibilities due to various broken configs and |
94 |
>> etc relating to the 32-bit side of the multilib toolchain. Often the |
95 |
>> simplest solution to these is to remerge a known working usually older |
96 |
>> gcc, hopefully overwriting whatever's wrong with your current setup, |
97 |
>> after which you can normally rebuild the newer gcc using the working old |
98 |
>> one, and be back on track. |
99 |
>> |
100 |
>> If you've been running FEATURES=buildpkg for some time, you may have |
101 |
>> several older versions of gcc in your binary package archive and can just |
102 |
>> remerge one of them, temporarily downgrading gcc to fix the problem, then |
103 |
>> use it to merge a current gcc. This of course is one of the benefits of |
104 |
>> running with that feature enabled. |
105 |
>> |
106 |
>> If you have NOT been running with FEATURES=buildpkg enabled, you have a |
107 |
>> choice. If you have another working gentoo/amd64 machine available, you |
108 |
>> can quickpkg it's gcc, copy it over and emerge -K it onto the affected |
109 |
>> machine. Otherwise you'll have to choose between trusting a version |
110 |
>> someone else may offer you and grabbing one off the latest gentoo/amd64 |
111 |
>> install stages. This would involve downloading a stage tarball, |
112 |
>> untarring it somewhere temporary, chrooting into it, doing a quickpkg of |
113 |
>> the gcc therein, then from outside the chroot, doing an emerge -K of the |
114 |
>> binpkg built by the quickpkg. |
115 |
>> |
116 |
>> When you get your system working correctly again (but before you go back |
117 |
>> to your system/world rebuild), you may wish to consider |
118 |
>> FEATURES=buildpkg. If you turn it on, you can then do your system/world |
119 |
>> rebuild and will have binpkgs of everything, available if you need them. |
120 |
>> After awhile, you'll have a couple older versions of most packages as |
121 |
>> well, in case you need to revert to an older one for some reason. It's a |
122 |
>> quite handy thing to have available, and can sure save a lot of needless |
123 |
>> recompiling at times, even if you /don't/ ever use it to get out of |
124 |
>> another hole like a busted gcc. |
125 |
>> |
126 |
>> Spacewise, a full FEATURES=buildpkg system and world set, with what I |
127 |
>> have merged here, runs about a gig, but you'll want at least 2 gigs |
128 |
>> available for binpkgs and preferably 4 gigs or so, so you don't have to |
129 |
>> clean out old versions too often, on whatever partition you decide to |
130 |
>> store them on. The default storage location is $PORTDIR/packages, IIRC, |
131 |
>> but you can point portage at a different location by setting PKGDIR in |
132 |
>> make.conf as appropriate. |
133 |
>> |
134 |
>> -- |
135 |
>> Duncan - List replies preferred. No HTML msgs. |
136 |
>> "Every nonfree program has a lord, a master -- |
137 |
>> and if you use the program, he is your master." Richard Stallman |
138 |
>> |
139 |
>> |
140 |
> |
141 |
> |
142 |
|
143 |
-- |
144 |
Verzonden vanaf mijn mobiele apparaat |
145 |
|
146 |
Tonko |