public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] freeglut
@ 2006-07-01 14:43 Jean Magnan de Bornier
  2006-07-02  1:39 ` Richard Fish
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Magnan de Bornier @ 2006-07-01 14:43 UTC (permalink / raw
  To: gentoo-user

Hi all, 
Trying to emerge -uD world, with xorg-x11-7.0-r1; a lot has been
done yet but I cannot emerge freeglut:

...............................................
boldair X11 # emerge -uDav world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N    ] media-libs/freeglut-2.4.0  0 kB 
[ebuild  N    ] x11-apps/mesa-progs-6.4.2  0 kB 
[ebuild  N    ] x11-base/xorg-x11-7.0-r1  USE="-3dfx" INPUT_DEVICES="synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -keyboard -magellan -magictouch -microtouch -mouse -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev i810 vesa -apm -ark -chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -imstt -mach64 -mga -neomagic -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" 0 kB 
[ebuild  N    ] x11-libs/liboldX-1.0.1  USE="-debug" 210 kB 
[ebuild  N    ] virtual/x11-7.0-r2  0 kB 

Total size of downloads: 210 kB

Would you like to merge these packages? [Yes/No] 
 
................................................
But then:
................................................
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2
-march=i686 -pipe -mfpmath=sse -Wall -pedantic -Werror -c
freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
.deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC

freeglut_callbacks.c:1: warning: SSE instruction set disabled, using 387 arithmetics
make[2]: *** [libglut_la-freeglut_callbacks.lo] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
make: *** [all] Erreur 2

!!! ERROR: media-libs/freeglut-2.4.0 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 609:   Called die

!!! emake failed
................................................

I've seen several bugs on freeglut but it doesn't help me...
re-synced several times also.

tia,
-- 
  Jean

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] freeglut
  2006-07-01 14:43 [gentoo-user] freeglut Jean Magnan de Bornier
@ 2006-07-02  1:39 ` Richard Fish
  2006-07-02  7:23   ` Jean Magnan de Bornier
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-07-02  1:39 UTC (permalink / raw
  To: gentoo-user

On 7/1/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2
> -march=i686 -pipe -mfpmath=sse -Wall -pedantic -Werror -c
> freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
> .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC

Does your CFLAGS have -mfpmath=sse?  If so, take that out.  In fact,
-march=i686?  Are you running some ancient pentium?  Maybe you should
just post the output of "emerge --info" and "cat /proc/cpuinfo" for
review...

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] freeglut
  2006-07-02  1:39 ` Richard Fish
@ 2006-07-02  7:23   ` Jean Magnan de Bornier
  2006-07-02 19:46     ` Richard Fish
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Magnan de Bornier @ 2006-07-02  7:23 UTC (permalink / raw
  To: gentoo-user

Le 02 juillet à 03:39:40 "Richard Fish" <bigfish@asmallpond.org> écrit notamment:

| On 7/1/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
| > i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2
| > -march=i686 -pipe -mfpmath=sse -Wall -pedantic -Werror -c
| > freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
| > .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC
>
| Does your CFLAGS have -mfpmath=sse?  If so, take that out. 

Done, it worked; any side-effects to fear?
Thx,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] freeglut
  2006-07-02  7:23   ` Jean Magnan de Bornier
@ 2006-07-02 19:46     ` Richard Fish
  2006-07-03  4:58       ` Jean Magnan de Bornier
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-07-02 19:46 UTC (permalink / raw
  To: gentoo-user

On 7/2/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
> Le 02 juillet à 03:39:40 "Richard Fish" <bigfish@asmallpond.org> écrit notamment:
> | Does your CFLAGS have -mfpmath=sse?  If so, take that out.
>
> Done, it worked; any side-effects to fear?

It should work fine, but I still suspect your -march setting is not
optimal.  What kind of processor are you using?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] freeglut
  2006-07-02 19:46     ` Richard Fish
@ 2006-07-03  4:58       ` Jean Magnan de Bornier
  0 siblings, 0 replies; 5+ messages in thread
From: Jean Magnan de Bornier @ 2006-07-03  4:58 UTC (permalink / raw
  To: gentoo-user

Le 02 juillet à 21:46:08 "Richard Fish" <bigfish@asmallpond.org> écrit notamment:

| On 7/2/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
| > Le 02 juillet à 03:39:40 "Richard Fish" <bigfish@asmallpond.org> écrit notamment:
| > | Does your CFLAGS have -mfpmath=sse?  If so, take that out.
| >
| > Done, it worked; any side-effects to fear?
>
| It should work fine, but I still suspect your -march setting is not
| optimal.  What kind of processor are you using?

[...]

Yes, you guessed right again: it is a Dell latitude x1, and I followed the
howto of the gentoo-wiki, which says:

.....................................
If you use GCC <3.4.3, there is no pentium-m arch, you need to use
pentium3. Using GCC 3.4.3 or later, you might want to try
-march=pentium-m. Those CFLAGS are known to be safe:

CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse"
CXXFLAGS="${CFLAGS}"
.....................................

But I had forgotten to make the change when switching to gcc-3.4. Now I
did it...
Thanks,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-03  5:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-01 14:43 [gentoo-user] freeglut Jean Magnan de Bornier
2006-07-02  1:39 ` Richard Fish
2006-07-02  7:23   ` Jean Magnan de Bornier
2006-07-02 19:46     ` Richard Fish
2006-07-03  4:58       ` Jean Magnan de Bornier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox