Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117227 - glibc-2.3.6-r1 fails to compile on AMD64 because of parse error before "__attribute__" in function _IO_vfprintf
Summary: glibc-2.3.6-r1 fails to compile on AMD64 because of parse error before "__att...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-30 11:34 UTC by Maurice Volaski
Modified: 2005-12-30 11:45 UTC (History)
0 users

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 Maurice Volaski 2005-12-30 11:34:45 UTC
I'm on AMD64 and trying to rebuild the toolchain using emwrap. It is compiling glibc-2.3.6-r1 and throws this error:

vfprintf.c:163: error: parse error before "__attribute__"
vfprintf.c:163: error: parse error before ')' token
vfprintf.c: In function `_IO_vfprintf':

emerge info output is as follows:
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13 x86_64)
=================================================================
System uname: 2.6.13 x86_64 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.15_rc6
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/config/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 avi bitmap-fonts bzip2 cdr crypt eds emboss encode expat foomaticdb gd gdbm gif gpm gstreamer imlib innodb jpeg kde libwww lm_sensors lzw lzw-tiff mhash mpeg mysql ncurses nls nptl pam pcre pdflib perl png qt quicktime readline samba sdl slang snmp ssl tcltk tcpd udev userlocales vhosts xml2 xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-12-30 11:45:11 UTC
You're using hard-masked headers :P -- now fixed, emerge sync, remerge headers (make sure it gets version two of the patchball) and things should work happily ever after.