Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246655 - sys-libs/glibc-2.6.1 re-emerged - /mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/temp/ccB3QLBb.s:41: Error: suffix or operands invalid for `fnstsw'
Summary: sys-libs/glibc-2.6.1 re-emerged - /mnt/storage/var/tmp/portage/sys-libs/glibc...
Status: RESOLVED DUPLICATE of bug 209629
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 247211 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-14 02:10 UTC by Ruslan U. Zakirov
Modified: 2008-11-21 01:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan U. Zakirov 2008-11-14 02:10:04 UTC
Recompiling glibc fails with an error. Some systems use the following patch to avoid issue http://svn.exactcode.de/t2/trunk/package/base/glibc/x86-fnstsw.patch

Reproducible: Always

Steps to Reproduce:
1.emerge -v1 glibc


Actual Results:  
Error:

/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/temp/ccB3QLBb.s: Assembler messages:
/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/temp/ccB3QLBb.s:41: Error: suffix or operands invalid for `fnstsw'
make[2]: *** [/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-x86-x86_64-pc-linux-gnu-nptl/math/ftestexcept.o] Error 1
make[2]: Leaving directory `/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/math'
make[1]: *** [math/others] Error 2
make[1]: Leaving directory `/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
make: *** [all] Error 2
 *
 * ERROR: sys-libs/glibc-2.6.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3427:  Called eblit-run 'src_compile'
 *             environment, line 1112:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  173:  Called src_compile
 *             environment, line 3427:  Called eblit-run 'src_compile'
 *             environment, line 1112:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  181:  Called toolchain-glibc_src_compile
 *       src_compile.eblit, line  122:  Called die
 * The specific snippet of code:
 *              make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
 *  The die message:
 *   make for x86 failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/storage/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
 *


emerge --info
Portage 2.2_rc14 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5-c26 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r5-c26-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-glibc2.2.5
Timestamp of tree: Wed, 12 Nov 2008 22:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/lib/X11/locale/en_US.UTF-8 /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/mnt/storage/var/distfiles"
FEATURES="distlocks nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.gentoo.gr.jp"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j1"
PKGDIR="/mnt/storage/var/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/storage/var/tmp"
PORTDIR="/mnt/storage/var/portage"
PORTDIR_OVERLAY="/mnt/storage/var/layman/perl-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cscope dbus dga dio djvu doc dri dvd dvdr dvdread emboss encode evo exif expat fam fastcgi ffmpeg firefox flac ftp gd gdbm gif gimp gnutls gtk hal http iconv icq imap innodb isdnlog jpeg jpeg2k kde kdeprefix lcms ldap libwww lm_sensors maildir midi mikmod mime mmap mmx mozdevelop mozilla moznocompose moznoirc mozsvg mp3 mpeg mudflap multilib mysql ncurses nls nntp nojoystick nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png posix postgres ppds pppd qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs syslog tcpd tiff truetype udev unicode urandom usb userlocales vim-syntax vorbis xml xml2 xorg xscreensaver xsl xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias   auth_basic auth_digest authn_default authz_default authz_host authz_user         cache charset_lite deflate      deflate dir env expires file_cache filter headers info log_config    mime mime_magic rewrite setenvif status userdir unique_id usertrack version" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-11-14 04:11:13 UTC
you'll have to either upgrade glibc to 2.7-r2 or use binutils < 2.18.50.0.4

*** This bug has been marked as a duplicate of bug 209629 ***
Comment 2 Ruslan U. Zakirov 2008-11-14 07:52:45 UTC
Then ebuild for glibc 2.6.1 should block binutils >= 2.18.50.0.4

(In reply to comment #1)
> you'll have to either upgrade glibc to 2.7-r2 or use binutils < 2.18.50.0.4
> 
> *** This bug has been marked as a duplicate of bug 209629 ***
> 

Comment 3 Ryan Hill (RETIRED) gentoo-dev 2008-11-21 01:51:57 UTC
*** Bug 247211 has been marked as a duplicate of this bug. ***