Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xgl: invalid parameter `inline-unit-growth' [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
eitan1989
n00b
n00b


Joined: 03 Mar 2004
Posts: 48
Location: USA

PostPosted: Mon May 08, 2006 3:11 am    Post subject: Xgl: invalid parameter `inline-unit-growth' [solved] Reply with quote

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
View user's profile Send private message
eitan1989
n00b
n00b


Joined: 03 Mar 2004
Posts: 48
Location: USA

PostPosted: Mon May 08, 2006 3:09 pm    Post subject: Reply with quote

I've just successfully merged 20060410-r1. I suppose I'll try to find the latest version that works now.
Back to top
View user's profile Send private message
bigfam
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2004
Posts: 106
Location: ottawa

PostPosted: Mon May 08, 2006 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
eitan1989
n00b
n00b


Joined: 03 Mar 2004
Posts: 48
Location: USA

PostPosted: Tue May 09, 2006 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
eitan1989
n00b
n00b


Joined: 03 Mar 2004
Posts: 48
Location: USA

PostPosted: Tue May 09, 2006 4:50 am    Post subject: Reply with quote

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
View user's profile Send private message
eitan1989
n00b
n00b


Joined: 03 Mar 2004
Posts: 48
Location: USA

PostPosted: Thu May 11, 2006 2:11 am    Post subject: Solution Reply with quote

This fixes it:
Code:
echo "x11-base/xgl -mmx" >> /etc/portage/package.use
Back to top
View user's profile Send private message
scissorjammer
n00b
n00b


Joined: 27 Oct 2005
Posts: 6

PostPosted: Sun May 14, 2006 5:04 pm    Post subject: Reply with quote

Same problem, same fix worked for me as well.

Intel centrino
Nvidia mobile 6800

Thanks! :D
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sun May 14, 2006 5:32 pm    Post subject: Reply with quote

Are you using some old obsolete gcc perhaps? Those options have been available since 3.4 at least.
Back to top
View user's profile Send private message
eitan1989
n00b
n00b


Joined: 03 Mar 2004
Posts: 48
Location: USA

PostPosted: Sun May 14, 2006 7:11 pm    Post subject: Reply with quote

No, I have gcc 3.4.5-r1. I'm pretty sure that other things with that option work fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum