1 |
On Saturday 01 June 2002 12:07, Jack Morgan wrote: |
2 |
> I'm having trouble compiling Xfree-4.2.0-r9. I've attached the tail of the |
3 |
> log. Any pointers would be appreciated. |
4 |
|
5 |
I had the same (or at least very similar) problem compiling xfree-4.2.0-r9 |
6 |
with gcc 3.1. I think doing one of the following helped me (don't remember |
7 |
very well...): |
8 |
|
9 |
- change your CFLAGS in /etc/make.conf to do less "agressive" optimizations. |
10 |
In my case, changing "-march=athlon -O3" to "-march=i686 -O3" worked. You |
11 |
might need to lower "-O3" as well. Then emerge the entire xfree again. |
12 |
|
13 |
- faster solution (that's what I did): go into the |
14 |
/var/tmp/portage/xfree-4.2.0-r9/work/xc/programs/Xserver/PEX5/ddpex/mi/level1 |
15 |
directory, then run make manually with a different CFLAGS setting. I suppose |
16 |
something in the line of |
17 |
make CFLAGS="-march=i686 -O2" |
18 |
should work. If this directory compiles successfully, you can then run |
19 |
ebuild /usr/portage/x11-base/xfree/xfree-4.2.0-r9.ebuild compile install \ |
20 |
qmerge |
21 |
(Should be in one line, but it's not because of automatic word-wrap.) |
22 |
This should compile the rest of xfree and install and merge it as "emerge" |
23 |
would have done. |
24 |
|
25 |
BTW: Has anyone reported the internal compiler error that's in Jack's |
26 |
logfiles? |
27 |
|
28 |
> Thanks, |
29 |
|
30 |
Hope I could help a bit, |
31 |
Marcel |
32 |
-- |
33 |
. . |
34 |
/ V / Marcel Martin Bielefeld |
35 |
\ \ mmar@×××××××.de Germany |