Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Glibc-2.15-r2 in domU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
spysz
n00b
n00b


Joined: 21 Apr 2007
Posts: 15
Location: Kraków

PostPosted: Mon Jul 02, 2012 2:47 pm    Post subject: Glibc-2.15-r2 in domU Reply with quote

Hi all!

I installed my gentoo as guest in XenServer. Image I get from stacklet.com. 2012-07 amd64.
I have a problem with compile glibc-2.15-r2. I have no idea, what is wrong. What I red I must IA32 emulation in kernel... So I have.

Also I use gcc-4.6.3.

Here, what I get:

Code:
     CPP='x86_64-pc-linux-gnu-gcc -m64 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld-linux-x86-64.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -h rpcsvc/nlm_prot.x -o /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.T
    make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Error 132
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 132
    make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 132
    make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.stmp] Error 132
    make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r2/work/glibc-2.15/sunrpc'
    make[1]: *** [sunrpc/others] Error 2
    make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r2/work/glibc-2.15'
    make: *** [all] Error 2
 



emerge --info:

Code:

    Portage 2.1.11.3 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.14.1-r3, 3.4.4-gentoo x86_64)
    =================================================================
    System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
    Timestamp of tree: Mon, 02 Jul 2012 06:00:01 +0000
    app-shells/bash:          4.2_p20
    dev-lang/python:          2.7.3-r2, 3.2.3
    dev-util/pkgconfig:       0.26
    sys-apps/baselayout:      2.1-r1
    sys-apps/openrc:          0.10.3
    sys-apps/sandbox:         2.5
    sys-devel/autoconf:       2.68
    sys-devel/automake:       1.11.1
    sys-devel/binutils:       2.21.1-r1
    sys-devel/gcc:            4.5.3-r2, 4.6.3
    sys-devel/gcc-config:     1.7.3
    sys-devel/libtool:        2.4-r1
    sys-devel/make:           3.82-r1
    sys-kernel/linux-headers: 3.4 (virtual/os-headers)
    sys-libs/glibc:           2.14.1-r3
    Repositories: gentoo
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="*"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -pipe -fomit-frame-pointer -march=corei7"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=corei7"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    LINGUAS="pl"
    MAKEOPTS="-j4"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY=""
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="acl amd64 apng berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 jpeg mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pdf perl png pppd python python2 python3 readline session sse sse2 ssl tcpd tiff unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Where is the problem? Because, I cannot find it. ;-( I tried change -march to native, nocona, also I removed - nothing change. ;-(

Regards,
Simon
Back to top
View user's profile Send private message
andylyon
n00b
n00b


Joined: 13 Jun 2006
Posts: 74

PostPosted: Sun Aug 12, 2012 11:58 am    Post subject: Reply with quote

I've just had a similar problem, running 3.5.0 mainline (gentoo-sources) pv_ops kernel dom0 with Xen 4.2.0-unstable c/s 25667, compiling glibc-2.15-r2 with gcc 4.5.3

CPP='x86_64-pc-linux-gnu-gcc -m64 -E -x c-header' /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld-linux-x86-64.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -h rpcsvc/mount.x -o /var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/mount.T
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 132
make[2]: *** Waiting for unfinished jobs....

in dmesg:

ld-linux-x86-64[16913] trap invalid opcode ip:2b88ddf8dd25 sp:7fffba47b458 error:0 in libc.so[2b88dde62000+1a1000]
ld-linux-x86-64[16918] trap invalid opcode ip:2b8cd2298d25 sp:7fff5f7a9a18 error:0 in libc.so[2b8cd216d000+1a1000]
ld-linux-x86-64[16923] trap invalid opcode ip:2b774007ed25 sp:7ffffd7fa7d8 error:0 in libc.so[2b773ff53000+1a1000]
ld-linux-x86-64[16931] trap invalid opcode ip:2b27e5d72d25 sp:7fff481e1168 error:0 in libc.so[2b27e5c47000+1a1000]
ld-linux-x86-64[16937] trap invalid opcode ip:2b77db619d25 sp:7fffed1bfea8 error:0 in libc.so[2b77db4ee000+1a1000]
ld-linux-x86-64[16941] trap invalid opcode ip:2af4c101fd25 sp:7fffb30ebe88 error:0 in libc.so[2af4c0ef4000+1a1000]
ld-linux-x86-64[16943] trap invalid opcode ip:2b81a743bd25 sp:7ffff2a60408 error:0 in libc.so[2b81a7310000+1a1000]
ld-linux-x86-64[16946] trap invalid opcode ip:2ba6861f8d25 sp:7fff83a21158 error:0 in libc.so[2ba6860cd000+1a1000]
ld-linux-x86-64[16949] trap invalid opcode ip:2b5c365f4d25 sp:7fff83cf4188 error:0 in libc.so[2b5c364c9000+1a1000]

emerge --info

Portage 2.1.10.65 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2640_0_@_2.50GHz-with-debian-4.0
Timestamp of tree: Fri, 10 Aug 2012 01:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.2_p20
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python: 2.6.6-r2, 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.10.5
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo enlightenment sunrise mozilla ub0rlay virtualization x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/mnt/jos-tb1_store/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB uk"
MAKEOPTS="-j30"
PKGDIR="/mnt/store/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/sunrise /var/lib/layman/mozilla /var/lib/layman/ub0rlay /var/lib/layman/virtualization /usr/local/portage"
SYNC="rsync://rsync.sw.protocolstack.net/gentoo-portage"
USE="X aac acl acpi alaw alsa amd64 bash-completion berkdb bluetooth bzip2 cli cracklib crypt cups cxx dbus dri dvd encode ffmpeg fortran fuse g722 g729 gdbm gpm gsm gtk hddtemp hvm ico iconv ipv6 jpeg kerberos lm_sensors lvm mmx mmxext modules mp3 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre png pppd qt3support readline samba sasl session smartcard sqlite sse sse2 ssl ssse3 tcpd threads truetype ulaw unicode video wav x264 xen xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB uk" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Xiol
Apprentice
Apprentice


Joined: 24 Jul 2003
Posts: 209
Location: UK

PostPosted: Mon Aug 13, 2012 5:22 am    Post subject: Reply with quote

Same issue here. Gentoo hardened. Fresh install tonight, just doing my first world upgrade. Running as guest inside KVM.

Code:
[root@websrv ~]# emerge --info
Portage 2.1.11.9 (hardened/linux/amd64, gcc-4.5.3, glibc-2.14.1-r3, 3.4.5-hardened x86_64)
=================================================================
System uname: Linux-3.4.5-hardened-x86_64-Westmere_E56xx-L56xx-X56xx_-Nehalem-C-with-gentoo-2.1
Timestamp of tree: Mon, 13 Aug 2012 03:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.opteamax.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync2.uk.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv ipv6 justify mmx modules mudflap multilib ncurses nls nptl openmp pam pax_kernel pcre pppd readline session sse sse2 ssl tcpd unicode urandom zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
dadigi
n00b
n00b


Joined: 25 Aug 2012
Posts: 2

PostPosted: Sat Aug 25, 2012 3:11 pm    Post subject: Same same Reply with quote

Same here:

emerge -pqv '=sys-libs/glibc-2.15-r2'
Code:

[ebuild     U ] sys-libs/glibc-2.15-r2 [2.14.1-r3] USE="(multilib) -debug -gd (-hardened) -profile (-selinux) -vanilla"


fails with:
Code:

make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 132
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r2/work/glibc-2.15/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r2/work/glibc-2.15'
make: *** [all] Error 2
emake failed
 * ERROR: sys-libs/glibc-2.15-r2 failed (compile phase):
 *   make for amd64 failed
 *
 * Call stack:
 *           ebuild.sh, line   85:  Called src_compile
 *         environment, line 3577:  Called eblit-run 'src_compile'
 *         environment, line  940:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  213:  Called src_compile
 *         environment, line 3577:  Called eblit-run 'src_compile'
 *         environment, line  940:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  221:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  132:  Called die
 * The specific snippet of code:
 *         emake || die "make for ${ABI} failed"


Dom0: Linux dom0 3.4.0-gentoo-dom0-01 #2 SMP Thu May 24 18:19:29 CEST 2012 x86_64 Intel(R) Core(TM) i5-2500T CPU @ 2.30GHz GenuineIntel GNU/Linux

DomU: Linux domU 3.4.0-gentoo-domU-01 #1 SMP Tue Jun 5 18:02:00 CEST 2012 x86_64 Intel(R) Core(TM) i5-2500T CPU @ 2.30GHz GenuineIntel GNU/Linux

emerge --info '=sys-libs/glibc-2.15-r2'
Code:

Portage 2.1.11.9 (default/linux/amd64/10.0/server, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-gentoo-domU-01 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.0-gentoo-domU-01-x86_64-Intel-R-_Core-TM-_i5-2500T_CPU_@_2.30GHz-with-gentoo-2.1
Timestamp of tree: Sat, 25 Aug 2012 00:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.1.4-r3, 3.2.3
dev-util/ccache:          3.1.7
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv mmx modules mudflap multilib ncurses nls nptl openmp pam pcre perl pppd python readline session snmp sse sse2 ssl tcpd truetype unicode vim-syntax xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
dadigi
n00b
n00b


Joined: 25 Aug 2012
Posts: 2

PostPosted: Sun Sep 02, 2012 3:20 pm    Post subject: any news? Reply with quote

Did someone get this fixed in the meantime?
Back to top
View user's profile Send private message
mape2k
n00b
n00b


Joined: 26 Apr 2004
Posts: 24

PostPosted: Tue Sep 04, 2012 8:03 am    Post subject: Reply with quote

Same problems here but only on a core-i7-Hostsystem. Seems to be related to new processors (like #402753 and #424577)?

Because there's no bugreport, i just filed one. #433884

glibc-2.16.0 builds fine, not tested if it's working fine.
Back to top
View user's profile Send private message
mape2k
n00b
n00b


Joined: 26 Apr 2004
Posts: 24

PostPosted: Tue Sep 11, 2012 10:06 am    Post subject: Reply with quote

Bugreport updated, using AVX-Patches from glibc-2.16 seems to fix the issue.

If you want to try, create dir /etc/portage/patches/sys-libs/glibc-2.15-r2/ and copy patches from Bugtracker to the directory.
Be careful, i'm not responsible if this breaks your system ;) Tried patches in a dev-system, it builds and i have no problems until now...
Back to top
View user's profile Send private message
dummys
n00b
n00b


Joined: 15 Sep 2012
Posts: 16

PostPosted: Sun Sep 16, 2012 7:30 pm    Post subject: Reply with quote

Same problem with hardened and -f-stack-protector CFLAGS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum