Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368181 - sys-libs/glibc-2.12.2 on VIA Nehemiah CPUs - make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 132
Summary: sys-libs/glibc-2.12.2 on VIA Nehemiah CPUs - make[2]: *** [/var/tmp/portage/s...
Status: RESOLVED DUPLICATE of bug 336020
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 16:39 UTC by cilly
Modified: 2011-05-24 02:38 UTC (History)
1 user (show)

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


Attachments
environment (environment,143.62 KB, text/plain)
2011-05-20 16:43 UTC, cilly
Details
build.log (build.log.zip,248.37 KB, application/zip)
2011-05-20 16:52 UTC, cilly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2011-05-20 16:39:52 UTC
INFO: setup
Package:    sys-libs/glibc-2.12.2
Repository: gentoo
Maintainer: toolchain@gentoo.org
USE:        elibc_glibc gd hardened kernel_linux nls userland_GNU x86
FEATURES:   sandbox suidctl
INFO: unpack
Checking gcc for __thread support ...
Checking kernel version (2.6.32 >= 2.6.9) ...
Checking linux-headers version (2.6.36 >= 2.6.9) ...
Applying Gentoo Glibc Patchset 2.12.2-2 ...
 0020_all_glibc-tweak-rfc1918-lookup.patch ...
 0030_all_glibc-respect-env-CPPFLAGS.patch ...
 0055_all_glibc-2.12-static-shared-getpagesize.patch ...
 0085_all_glibc-disable-ldconfig.patch ...
 1010_all_glibc-queue-header-updates.patch ...
 1020_all_glibc-longjmp-chk-hidden-fortify.patch ...
 1030_all_glibc-manual-no-perl.patch ...
 1040_all_2.3.3-localedef-fix-trampoline.patch ...
 1055_all_glibc-resolv-dynamic.patch ...
 1060_all_glibc-localedef-mmap.patch ...
 1070_all_glibc-fadvise64_64.patch ...
 1075_all_glibc-section-comments.patch ...
 1080_all_glibc-no-inline-gmon.patch ...
 1085_all_glibc-2.9-check_native-headers.patch ...
 1090_all_glibc-2.3.6-fix-pr631.patch ...
 1095_all_glibc-2.9-assume-pipe2.patch ...
 1100_all_glibc-2.3.3-china.patch ...
 1103_all_glibc-new-valencian-locale.patch ...
 1120_all_glibc-2.11-longjmp-chk-fallback.patch ...
 1130_all_glibc-2.4-undefine-__i686.patch ...
 1160_all_glibc-2.8-nscd-one-fork.patch ...
 1509_all_glibc-2.11-hppa-SOCK_CLOEXEC.patch ...
 1530_all_glibc-m68k-sys-user.patch ...
 3000_all_2.3.6-dl_execstack-PaX-support.patch ...
 3010_all_2.3.3_pre20040117-pt_pax.patch ...
 3020_all_glibc-tests-sandbox-libdl-paths.patch ...
 5063_all_glibc-dont-build-timezone.patch ...
 6018_all_alpha-glibc-2.8-cache-shape.patch ...
 6020_all_alpha-fix-gcc-4.1-warnings.patch ...
 6026_all_alpha-fix-rtld-fPIC.patch ...
 6028_all_alpha-fix-memchr.patch ...
 6029_all_alpha-fix-memchr.patch ...
 6031_all_alpha-glibc-2.12-epoll_create1.patch ...
 6032_all_alpha-syscall-6.patch ...
 6120_all_ppc-glibc-2.9-atomic.patch ...
 6130_all_ppc-glibc-2.11-cell-vector.patch ...
 6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ...
 6230_all_arm-glibc-hardened.patch ...
 6240_all_glibc-2.8-nptl-lowlevellock.patch ...
 6605_all_glibc-2.4-fpu-cw-mips.patch ...
 6606_all_mips-glibc-delete-getpagesize.c.patch ...
Done with patching
Using GNU config files from /usr/share/gnuconfig
 Updating scripts/config.sub
 Updating scripts/config.guess
Patching to get working PIE binaries on PIE (hardened) platforms
Applying glibc-2.12-hardened-pie.patch ...
Applying glibc-2.10-hardened-configure-picdefault.patch ...
Applying glibc-2.10-hardened-inittls-nosysenter.patch ...
Patching Glibc to support older SSP __guard
Applying glibc-2.10-hardened-ssp-compat.patch ...
Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler

INFO: compile
           ABI:   default
        CBUILD:   i686-pc-linux-gnu
         CHOST:   i686-pc-linux-gnu
       CTARGET:   i686-pc-linux-gnu
    CBUILD_OPT:   
   CTARGET_OPT:   
            CC:   i686-pc-linux-gnu-gcc 
        CFLAGS:   -march=i686 -pipe -O2 -fno-strict-aliasing -fno-stack-protector
     Manual CC:   i686-pc-linux-gnu-gcc 
Configuring GLIBC for nptl

ERROR: compile
ERROR: sys-libs/glibc-2.12.2 failed (compile phase):
 make for default failed

Call stack:
         ebuild.sh, line   56:  Called src_compile
       environment, line 3666:  Called eblit-run 'src_compile'
       environment, line 1078:  Called eblit-glibc-src_compile
 src_compile.eblit, line  212:  Called toolchain-glibc_src_compile
 src_compile.eblit, line  124:  Called die
The specific snippet of code:
 		emake || die "make for ${ABI} failed"

If you need support, post the output of 'emerge --info =sys-libs/glibc-2.12.2',
the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.12.2'.
The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/environment'.
S: '/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
Comment 1 cilly 2011-05-20 16:43:38 UTC
Created attachment 274113 [details]
environment
Comment 2 cilly 2011-05-20 16:52:06 UTC
Created attachment 274117 [details]
build.log

Sorry, build.log has to be zipped it is 11MB in size unzipped.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-21 16:31:17 UTC
Sat May 21 18:29:34 CEST 2011
Portage 2.1.9.49 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-JeR i686)
=================================================================
System uname: Linux-2.6.38-JeR-i686-VIA_Nehemiah-with-gentoo-2.0.2
Timestamp of tree: Sat, 21 May 2011 15:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1
dev-util/cmake:           2.8.1-r2
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.65-r1
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.81-r2
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.3
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=c3-2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=c3-2"
DISTDIR="/aches/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks fixlafiles fixpackages metadata-transfer news notitles parallel-fetch protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
PKGDIR="/keeps/gentoo/packages/epia"
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="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="256-color X a52 aac aalib acpi alsa ao artist-screen asf audiofile bash-completion berkdb bl bzip2 cairo caps cdda cddb cdio cdparanoia cdr chroot cle266 cli colors cpath cracklib crypt cscope css cups curl custom-cflags cxx dbus dga dillo dri dv dvd dvdr dvdread edl elf encode fam fame fbcon ffmpeg flac flash foomaticdb freetype gdbm ggi gif gimpprint glut gmedia gnokii gnutls gpm graphite gs gtk gtk2 help-screen iconv id3tag idn imlib inkjar ipv6 jpeg ladspa lcms libcaca libsamplerate live lm_sensors logrotate lyrics-screen lzo mad matroska midi mikmod mjpeg mmx mng modplug modules mozilla mozsvg mozxmlterm mp3 mpeg mplayer mudflap musepack nas ncurses network network-cron nls nptl nptlonly nsplugin offensive ogg opengl openmp optimisememory pam pcre pda pdf perl physfs pic plotutils png pppd python qt qt3 qt3support qt4 quicktime readline realmedia rtc rtsp ruby samba sasl screenshot sdl server session sftplogging shout skins smux sndfile snmp song-screen speex spell sse ssl stream svg sysfs syslog tcl tcpd tetex tga theora threads tiff tk truetype unicode upnp usb userlocales v4l v4l2 vcd vidix vlm vorbis wavpack win32codecs winbind x86 xanim xcomposite xml xml2 xorg xosd xterm-color xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Same error here.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-21 17:20:47 UTC
(In reply to comment #2)
> Created attachment 274117 [details]
> build.log
> 
> Sorry, build.log has to be zipped it is 11MB in size unzipped.

You still want to post your `emerge --info' output.
Comment 5 cilly 2011-05-22 21:52:16 UTC
Portage 2.1.9.42 (hardened/linux/x86, gcc-4.4.5, libc-0-r0, 2.6.32.40-r3 i686)
=================================================================
System uname: Linux-2.6.32.40-r3-i686-VIA_Nehemiah-with-gentoo-1.12.14
Timestamp of tree: Sun, 22 May 2011 00:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"
FFLAGS=""
GENTOO_MIRRORS="rsync://ftp.join.uni-muenster.de/gentoo                 rsync://ftp-stud.fht-esslingen.de/gentoo                 rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo                          rsync://mirror.netcologne.de/gentoo/            
        rsync://ftp-stud.hs-esslingen.de/gentoo/                                rsync://de-mirror.org/gentoo/                 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo                 ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror                 ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo                 ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo                 ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo                 ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo                 ftp://ftp.tu-clausthal.de/pub/linux/gentoo                 http://distfiles.gentoo.org                 http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 caps cli cracklib crypt ctype cups curl cxx dri fam gd gmp gnutls hardened iconv idn imap innodb ipv6 jbig jpeg jpeg2k libwww lm_sensors maildir mhash mmx modules mudflap mysql ncurses nls nptl nptlonly pam pcre perl pic png posix pppd python readline sasl session snmp sockets ssl sysfs tcpd threads tiff unicode usb vhosts x86 xattr xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-22 22:34:32 UTC
So that's particular to VIA Nehemiah CPUs, then.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-23 11:00:16 UTC
Oh, so this has been known out there for a good while.
Comment 8 cilly 2011-05-23 12:21:05 UTC
(In reply to comment #7)
> Oh, so this has been known out there for a good while.

Did you try a newer binutils version already?

btw, thx for negotiating & link.
Comment 9 cilly 2011-05-23 15:44:23 UTC
cat /proc/cpuinfo 
processor       : 0
vendor_id       : CentaurHauls
cpu family      : 6
model           : 9
model name      : VIA Nehemiah
stepping        : 8
cpu MHz         : 1002.103
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr cx8 mtrr pge cmov pat mmx fxsr sse rng rng_en ace ace_en
bogomips        : 2005.71
clflush size    : 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual
power management:
Comment 10 cilly 2011-05-23 15:50:26 UTC
It seems we need a newer version of binutils to get glibc to work with via:

See comment:

https://bugs.archlinux.org/task/19733#comment66419

on site:

https://bugs.archlinux.org/task/19733

"update to binutils >= 2.20.51.0.11"
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-23 19:01:54 UTC
(In reply to comment #10)
> It seems we need a newer version of binutils to get glibc to work with via:
> 
> See comment:
> 
> https://bugs.archlinux.org/task/19733#comment66419

That /appears/ to be about an i586 with some i686 features - the Geode processor family.

> 
> on site:
> 
> https://bugs.archlinux.org/task/19733

And there people keep confusing the original VIA C3 (i586) with the Nehemiah (i686, or c3-2 in GCC parlance), having to google to support the wrong conclusion... The C3 Nehemiah is fully i686 compatible contrary to the original C3. *sigh*

> "update to binutils >= 2.20.51.0.11"

The original description may be right, though. What I'd like to see is a binutils bug tracker reference instead of distro packagers having a wildly inaccurate guess.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-23 19:06:31 UTC
(In reply to comment #10)
> It seems we need a newer version of binutils to get glibc to work with via:
> "update to binutils >= 2.20.51.0.11"

We have 2.21 in the tree. I'll test with that.
Comment 13 SpanKY gentoo-dev 2011-05-24 02:38:24 UTC

*** This bug has been marked as a duplicate of bug 336020 ***