Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121493

Summary: emerge on AMD64 X2 goes into infinite loop
Product: Gentoo Linux Reporter: Alan Jackson <alan>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Alan Jackson 2006-02-03 18:07:55 UTC
I fired up the emerge last night late, and 22 hours later it was still running, repeating the text below over and over again... it was quite difficult to kill it too...

I am now going to ask for two C compilers, and their associated flags.
The first such set (CC & CCFLAGS) are used in compiling the non-generated
ATLAS code.  This code is written in normal C, and responds well to high
levels of optimization.  Typically, this is set to your default compiler,
and your highest levels of optimization.

The second set of C compilers (MCC & MMFLAGS) is used to compile the generated
ATLAS code.  Generated codes are written at a very low-level (think of C used
as a kind of portable assembler).  On many platforms, high levels of
optimization are detrimental, as the compiler tries to pipeline a perfectly
pipelined code, and succeeds in reducing performance substantially (this
occurs on DEC ALPHAs & Sun UltraSparcs, for instance).  If the default does
not work for you, try a midrange optimization such as -O.  The generated code
does not alias any output arguments, so aliasing optimizations should be OK.

   Enter ANSI C compiler(CC) [/usr/bin/gcc]:    Enter C Flags (CCFLAGS) [-fomit-frame-pointer -O -mfpmath=387 -m64]: Compiling with = '/usr/bin/gcc -fomit-frame-pointer -O -mfpmath=387 -m64' doesn't seem to work for me.
   Enter 1 to try different CC/flags, 0 to continue anyway [1]:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 01:05:05 UTC
emerge --info missing.
Comment 2 Alan Jackson 2006-02-04 09:33:39 UTC
Oops. Sorry!
 # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
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
CFLAGS="-O2 -march=athlon-xp"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" inux/gentoo"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint glade glut gphoto2 gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg kde lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg oggvorbis opengl oss pam pcre pda pdflib perl png python qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Comment 3 Alan Jackson 2006-02-06 19:06:39 UTC
Tried the newest versions (not yet marked stable) with success.
The following seems to work just fine on AMD64 X2
[ebuild  N    ] app-admin/eselect-1.0_rc2  
[ebuild  N    ] sci-libs/blas-atlas-3.7.11  
[ebuild  N    ] sci-libs/lapack-config-1.0.1  
[ebuild  N    ] sci-libs/lapack-atlas-3.7.11