View previous topic :: View next topic |
Author |
Message |
eitan1989 n00b
Joined: 03 Mar 2004 Posts: 48 Location: USA
|
Posted: Mon May 08, 2006 3:11 am Post subject: Xgl: invalid parameter `inline-unit-growth' [solved] |
|
|
I've been having trouble compiling xgl using the layman overlay. It keeps giving me two invalid parameter errors for inline-unit-growth and something else. I can't find anything about this problem (presumably a bug) anywhere. My video driver is i810 (Intel 845G card). I'm just tried using the testing branch, but that didn't help.
Here is the end of the output:
Quote: | i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../in
clude -I../include -I../include -I../include -I../include -I../include -I../hw/x
free86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -DHAVE_D
IX_CONFIG_H -DXGLServer -DUSE_MMX -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BI
T -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes
-I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../
fb -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT fbedge.lo -MD -MP -MF .dep
s/fbedge.Tpo -c fbedge.c -fPIC -DPIC -o .libs/fbedge.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../in
clude -I../include -I../include -I../include -I../include -I../include -I../hw/x
free86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -DHAVE_D
IX_CONFIG_H -DUSE_MMX -mmmx -msse -Winline --param inline-unit-growth=10000 --pa
ram large-function-growth=10000 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I
../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-O2 -march=pentium4 -pipe -fomit-frame-pointer -MT libfbmmx_la-fbmmx.lo -MD -MP
-MF .deps/libfbmmx_la-fbmmx.Tpo -c fbmmx.c -fPIC -DPIC -o .libs/libfbmmx_la-fb
mmx.o
distcc[25280] ERROR: compile /root/.ccache/fbmmx.tmp.eitan.25274.i on 192.168.5.
51 failed
cc1: error: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'
make[1]: *** [libfbmmx_la-fbmmx.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/xgl-0.0.1_p20060425/work/xgl-xorg/f
b'
make: *** [all-recursive] Error 1
!!! ERROR: x11-base/xgl-0.0.1_p20060425 failed.
Call stack:
ebuild.sh, line 1525: Called dyn_compile
ebuild.sh, line 928: Called src_compile
ebuild.sh, line 1237: Called x-modular_src_compile
x-modular.eclass, line 320: Called x-modular_src_make
x-modular.eclass, line 315: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
|
I tried disabling distcc and ccache, but that also changed nothing.
I think I followed the XGL Howto instructions pretty well, although it was sometimes tough figuring out what to do since I have neither NVidia nor ATI. Any ideas what's going wrong (or, more importantly, how to make it compile)? I've also had to use FEATURES="-strict" as mentioned in the howto.
Last edited by eitan1989 on Thu May 11, 2006 2:12 am; edited 1 time in total |
|
Back to top |
|
|
eitan1989 n00b
Joined: 03 Mar 2004 Posts: 48 Location: USA
|
Posted: Mon May 08, 2006 3:09 pm Post subject: |
|
|
I've just successfully merged 20060410-r1. I suppose I'll try to find the latest version that works now. |
|
Back to top |
|
|
bigfam Tux's lil' helper
Joined: 30 Dec 2004 Posts: 106 Location: ottawa
|
Posted: Mon May 08, 2006 7:59 pm Post subject: |
|
|
i am getting the same error. i've previously had xgl working about a month ago and haven't bothered to update it untill a few days ago...
Code: |
../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I
../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-O2 -march=athlon-xp -fomit-frame-pointer -MT libfbmmx_la-fbmmx.lo -MD -MP -MF
.deps/libfbmmx_la-fbmmx.Tpo -c fbmmx.c -fPIC -DPIC -o .libs/libfbmmx_la-fbmmx.o
cc1: error: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'
make[1]: *** [libfbmmx_la-fbmmx.lo] Error 1
make[1]: Leaving directory `/tmp/portage/portage/xgl-0.0.1_p20060418/work/xgl-xo
rg/fb'
make: *** [all-recursive] Error 1
!!! ERROR: x11-base/xgl-0.0.1_p20060418 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
ebuild.sh, line 1609: Called x-modular_src_compile
x-modular.eclass, line 320: Called x-modular_src_make
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
|
|
|
Back to top |
|
|
eitan1989 n00b
Joined: 03 Mar 2004 Posts: 48 Location: USA
|
Posted: Tue May 09, 2006 3:44 am Post subject: |
|
|
Hm. 20060410-r1 compiled and ran for me, but I wouldn't go far as to say it worked. Horrible corruption of all windows. What is the latest version that worked for you? |
|
Back to top |
|
|
eitan1989 n00b
Joined: 03 Mar 2004 Posts: 48 Location: USA
|
Posted: Tue May 09, 2006 4:50 am Post subject: |
|
|
20060414-r1 also compiled ok, but ran badly (although somewhat less corruption than before), and still completely unusable.
EDIT: 20060418 fails with the above error. |
|
Back to top |
|
|
eitan1989 n00b
Joined: 03 Mar 2004 Posts: 48 Location: USA
|
Posted: Thu May 11, 2006 2:11 am Post subject: Solution |
|
|
This fixes it:
Code: | echo "x11-base/xgl -mmx" >> /etc/portage/package.use |
|
|
Back to top |
|
|
scissorjammer n00b
Joined: 27 Oct 2005 Posts: 6
|
Posted: Sun May 14, 2006 5:04 pm Post subject: |
|
|
Same problem, same fix worked for me as well.
Intel centrino
Nvidia mobile 6800
Thanks! |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Sun May 14, 2006 5:32 pm Post subject: |
|
|
Are you using some old obsolete gcc perhaps? Those options have been available since 3.4 at least. |
|
Back to top |
|
|
eitan1989 n00b
Joined: 03 Mar 2004 Posts: 48 Location: USA
|
Posted: Sun May 14, 2006 7:11 pm Post subject: |
|
|
No, I have gcc 3.4.5-r1. I'm pretty sure that other things with that option work fine. |
|
Back to top |
|
|
|