First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134586
Alias:
Product:
Component:
Status: REOPENED
Resolution:
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sergio Alonso <sergio@eim.esc.edu.ar>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134586 depends on: Show dependency tree
Show dependency graph
Bug 134586 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)









View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-27 21:47 0000
Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r2,
2.6.16-gentoo-r7 i66)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/lb/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platx/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/
http://ftp.twaren.net/Linux/Gentoo/"
LANG="es_ES.UTF-8"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X aac aalib acpi alsa alsai apm arts artworkextra
asf asm asyncaudacious audiofile avi bash-completion beagle berkdb bitmap-fonts
bonobo bootsplash bzip2 ciro cdda cddb cdio cdparanoia cdr cdrom cg cli
cpudetection crypt cscope css cups curl curlwappers dbase dbus dcraw dict
directfb dnd dpms dri dts dvb dvd dvdr dvdread dvi dxr3 editor ds emboss encode
epiphany escreen esd examples exif exim expat extraicons extras fam fat fbcn
fbsplash ffmpeg figlet firefox flash fluidsynth font-server fontconfig
foomaticdb fortran tp gaim gcj gdb gdbm gif gimp gkrellm glitz gmail
gmailtimestamps gnome gnome-print gnomecanas gnomedb gnustep gpm gs gstreamer
gtalk gtk gtk2 gtkhtml guionly gvim hal hddtemp hou howlhtml icecast icon iconv
icq id3 ident idn imap imlib infopipe ipv6 irc isdnlog j2ee jabber jvascript
jboss jpeg kde kexi lame largeterminal latex lcms libcaca libclamav libg++
libsexy ibwww lm_sensors mad maildir mbox mbx menubar mikmod mime ming mjpeg
mng motif mouse mozcaledar mozilla mp3 mp4 mp4live mpd-mad mpeg mpeg2 msn mssql
musepack music mysql nas ncurses ne netbeans nethack network new-login nforce2
nls nntp ntfs nvidia nvram nvtv nxclient oav odb ogg ole openal opengl oss pam
pango pcre pda pdf pdflib perl pfpro php physfs pink player pg pnp pop pop3d
pppd preview-latex print ps python qt quicktime rdesktop readline
reflectionreiser4 reiserfs rhythmbox rle roe rogue rplay rss rtsp ruby samba
sblive scenarios scp scren sdl sendfile serial server session setup-plugin
shorten skins slang sndfile sou sounds spel spl sql sqlite sqlite3 ssl stream
submenu subp subtitles svg svga swat syslog tcpd teamarea tetex threads
thumbnail thunar-vfs tiff transcode truetype truetype-fonts type1 type1-font
udev usb vcd vcdimager vdr verbose vidix vim vim-pager vim-with-x vnc vorbis
vorbisi webminminimal webservices win32codecsi wma wma123 wv xanim xatrix xbase
xchat xchattext xcompositexfs xine xinerama xml xml2 xmlreader xmlrpc xmms xorg
xosd xrandr xv xvid xvmc yaepg zlib liguas_es userland_GNU kernel_linux
elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTAGE_RSYNC_OPTS PORTDIR_OVERLAY

------- Comment #1 From Sergio Alonso 2006-05-27 21:47:27 0000 -------
 emerge freeglut
...
...
... etc

           `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
           mv -f libglut_la-freeglut_callbacks.o
.libs/libglut_la-freeglut_callbacks.lo
           mv: cannot stat `libglut_la-freeglut_callbacks.o': No such file or
directory
           make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
           make[2]: *** Se espera a que terminen otras tareas....
           mv -f libglut_la-freeglut_cursor.o
.libs/libglut_la-freeglut_cursor.lo
           mv: cannot stat `libglut_la-freeglut_cursor.o': No such file or
directory
           make[2]: *** [libglut_la-freeglut_cursor.lo] Error 1
           make[2]: Leaving directory
`/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
           make[1]: *** [all-recursive] Error 1
           make[1]: Leaving directory
`/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
           make: *** [all] Error 2

           !!! ERROR: media-libs/freeglut-2.4.0 failed.
           !!! Function src_compile, Line 566, Exitcode 2
           !!! emake failed


------- Comment #2 From Jakub Moc 2006-05-27 23:48:17 0000 -------
*** Bug 134583 has been marked as a duplicate of this bug. ***

------- Comment #3 From Jakub Moc 2006-05-27 23:48:26 0000 -------
*** Bug 134584 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc 2006-05-27 23:48:33 0000 -------
*** Bug 134585 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc 2006-05-27 23:51:15 0000 -------
This has nothing in common w/ bugzilla product. Also, fix your browser
refresh...

------- Comment #6 From Joshua Baergen (RETIRED) 2006-05-28 08:43:23 0000 -------
Try emerging with CFLAGS="-march=athlon-xp -O2 -pipe", or even -O1.

------- Comment #7 From Donnie Berkholz 2006-05-28 13:53:11 0000 -------
Assuming that doesn't work, set MAKEOPTS="-j1" or unset it entirely in
make.conf and try again.

------- Comment #8 From Sergio Alonso 2006-05-28 14:44:16 0000 -------
Coment #6 (https://bugs.gentoo.org/show_bug.cgi?id=134586#c6) works fine.

Thanks Joshua Baergen!

------- Comment #9 From Donnie Berkholz 2006-05-28 15:02:33 0000 -------
That looks a bit like an odd race condition due to parallel builds that won't
be easily reproduceable at the same place.

------- Comment #10 From Joshua Baergen (RETIRED) 2006-06-04 07:58:21 0000 -------
Yeah, it's even possible that changing the optimization of the package changes
the order of compile enough that the race condition is satisfied.  Interesting
that we haven't seen more complaints of this, though.

------- Comment #11 From Lau 2006-06-25 11:37:55 0000 -------
FYI, I had the same problem with the optimisation level set to 3. Setting it to
2 worked for me as well. Thanks.

------- Comment #12 From Donnie Berkholz 2006-06-25 15:07:40 0000 -------
OK, I'm going to filter -O3 to -O2.

------- Comment #13 From Jakub Moc 2006-07-06 08:10:45 0000 -------
*** Bug 139433 has been marked as a duplicate of this bug. ***

------- Comment #14 From Jakub Moc 2006-07-06 08:13:56 0000 -------
*** Bug 137919 has been marked as a duplicate of this bug. ***

------- Comment #15 From Jakub Moc 2006-07-06 08:16:08 0000 -------
Well, this doesn't look like really fixed. We should force -j1 here since there
are duplicate reports w/ -Os and -O2 as well.

------- Comment #16 From Maciej Grela 2006-07-06 08:44:31 0000 -------
Unfortunately on my machine setting MAKEOPTS="-j1" and even disabling
optimizations doesn`t help. 
If this is a race condition as you say then maybe we should consider it a bug
in libtool and pass it to them ???

------- Comment #17 From Donnie Berkholz 2006-07-06 08:54:08 0000 -------
Everyone having this problem, what are your CFLAGS?

------- Comment #18 From Maciej Grela 2006-07-06 10:45:27 0000 -------
I tried to compile using:

CFLAGS="-O2 -mtune=pentium3 -march=i686 -pipe"
and
CFLAGS="-O1 -mtune=pentium3 -march=i686 -pipe"
and
CFLAGS="-mtune=pentium3 -march=i686 -pipe"
and even without CFLAGS defined

Nothing helps ...

------- Comment #19 From Joshua Baergen (RETIRED) 2006-07-06 18:52:13 0000 -------
Try
CFLAGS="-O2 -march=pentium3 -pipe"

------- Comment #20 From Jakub Moc 2006-07-07 09:43:22 0000 -------
*** Bug 139568 has been marked as a duplicate of this bug. ***

------- Comment #21 From Maciej Grela 2006-07-07 13:51:38 0000 -------
Thans, that helped. What does it have to do with the -mtune flag ??? It`s just
beyond me :)

------- Comment #22 From Joshua Baergen (RETIRED) 2006-07-09 20:45:18 0000 -------
It's not the mtune flag, but rather the lack of -march.  I'm not sure why, but
it would appear that some bad code is being generated without
architecture-specific optimizations enabled.

Re-opening until we solve this properly.

------- Comment #23 From Edmar Rezende 2006-07-13 15:28:00 0000 -------
Temporary solution:

ebuild /usr/portage/media-libs/freeglut/freeglut-2.4.0.ebuild unpack
cd /var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/
./configure 
make
touch .compiled
(cd back to avoid complaints while cleaning /var/tmp/portage)
ebuild /usr/portage/media-libs/freeglut/freeglut-2.4.0.ebuild merge

------- Comment #24 From Edmar Rezende 2006-07-14 15:18:04 0000 -------
This problem was fixed by moving mcpu -> mtune in CFLAGS.
The "-mcpu" option is deprecated. 

------- Comment #25 From Joshua Baergen (RETIRED) 2006-07-14 18:28:11 0000 -------
(In reply to comment #24)
> This problem was fixed by moving mcpu -> mtune in CFLAGS.
> The "-mcpu" option is deprecated. 
> 

This has failed for people using mtune as well.

------- Comment #26 From Jakub Moc 2006-08-28 11:32:52 0000 -------
*** Bug 145385 has been marked as a duplicate of this bug. ***

------- Comment #27 From Joshua Baergen (RETIRED) 2006-08-31 10:23:21 0000 -------
I'm going to add a warning to the ebuild about this issue.

Does anyone know the proper venue for reporting this issue upstream? 
freeglut.sourceforge.net looks quite out of date.

------- Comment #28 From Chema Alonso 2006-09-26 00:16:26 0000 -------
(In reply to comment #18)
> I tried to compile using:
> 
> CFLAGS="-O2 -mtune=pentium3 -march=i686 -pipe"
> and
> CFLAGS="-O1 -mtune=pentium3 -march=i686 -pipe"
> and
> CFLAGS="-mtune=pentium3 -march=i686 -pipe"
> and even without CFLAGS defined
> 
> Nothing helps ...
> 

CFLAGS="-mtune=athlon -mcpu=athlon -march=i686 -pipe" wroked for me on an AMD
Semprom 2600+

Cheers!

------- Comment #29 From Pacho Ramos 2006-11-26 12:29:30 0000 -------
Have you tried with 2.4.0-r1?

It worked for me

Good luck!

------- Comment #30 From nightmare 2007-04-08 15:16:54 0000 -------
I got a PS3 and install Gentoo on it.
On PS3, CFLAGS cann't set to "-march=G5" or "-mtune=G5",or it'll show error
messages such like "cann't create excutable files".
The only solution seems to use the manually-compile method mentioned above.

------- Comment #31 From karpi 2007-11-07 11:32:48 0000 -------
on mac mini:
CFLAGS="-O2 -mtune=powerpc -fno-strict-aliasing -pipe"

..freeglut does not compile, and forces me to set -march..

so when:
CFLAGS="-O2 -march=G4 -fno-strict-aliasing -pipe"

configure: error: C compiler cannot create executables
(gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8))

------- Comment #32 From Robin Bermanseder 2008-08-19 10:29:58 0000 -------
Installing gentoo on an AMD Phenom quad core.
CFLAGS="-march=k8 -O2 -msse3 -pipe"
MAKEOPTS="-j5"

While emerging xorg-x11 I was getting the dreaded missing lGL error during the
freeglut install.

After viewing MANY bug reports here and elsewhere I discovered that
in /usr/lib64, my libGL.so was red blinking (ie pointing to a file that no
longer exists). I removed it and ran 
eselect opengl set xorg-x11
and a correct link was created.

I was then able to successfully emerge xorg-x11

First Last Prev Next    No search results available      Search page      Enter new bug