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

Bug 260831

Summary: sys-libs/glibc-2.6.1: suffix or operands invalid for 'fnstsw'
Product: Gentoo Linux Reporter: Hongjiu Zhang <voidprayer>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hongjiu Zhang 2009-03-02 08:26:28 UTC
emerge --info:
Portage 2.1.6.7(hardened/x86/2.6, gcc-4.3.2, glibc-2.6.1-r0, 2.6.27-7-generic i686)
=================================================================
System uname: Linux-2.6.27-7-generic-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-glibc2.0
Timestamp of tree: Mon, 02 Mar 2009 04:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://ftp.kaist.ac.kr/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en af am ar as_IN az be be_BY bg bn bo br bs ca cs csb cy da de dz el en_GB en_ZA eo es es_AR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn ko ku la lo lt lv mk ml ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN uz ve vi wa xh zh zh_CN zh_HK zh_TW zu"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.averse.net/gentoo-portage"


While I was updating my old computer, I found that compiling glibc-2.6.1 with binutils-2.19.1 causes this compile error. ~x86 of hardened profile masks >sys-libs/glibc-2.8 but unmasks binutils-2.19.1.

I found a similar bug (https://bugs.gentoo.org/209629). It says that after glibc-2.7-r2 the problem is resolved.

Reproducible: Always
Comment 1 Hongjiu Zhang 2009-03-23 17:46:05 UTC
I am so sorry that I chosed the wrong profiles, which is not suggested in the official handbook. And now all are right.
Comment 2 Gordon Malm (RETIRED) gentoo-dev 2009-03-23 18:35:02 UTC
Your profile is ok, but you were using unstable (ACCEPT_KEYWORDS="~x86") binutils but not unstable glibc (due to the package.mask).  Unmasking it would've fixed that, but either way, yeah it is resolved now.  Sorry I missed you report before.