Jump to content

Photo

Problem updating glibc-2.20-r1

- - - - - glibc gcc

No replies to this topic

#1
lasuit

lasuit

    Newbie

  • Members
  • Pip
  • 1 posts

I'm trying to update from glibc-2.19 to glibc-2.20-r1.  I've also tried to update gcc-4.8.4 to gcc-4.9.2-r1.  Both throw an error that I don't understand. 

 

I'm attaching my build.log file and the output from emerge --info.  Thanks for the help.

 

Whoops! Too big.  Here's hopefully relevant parts:

> make -j2 -s glibc-test 
> make -j2 -s glibc-test 
>>>> Unpacking source...
> <builtin>: recipe for target 'glibc-test' failed
>  [32;01m*[0m Auto adding -march=x86_64 to CFLAGS_x86 #185404
>  [32;01m*[0m Checking gcc for __thread support ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m Checking kernel version (4.0.3 >= 2.6.32) ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m Checking linux-headers version (4.0.0 >= 2.6.32) ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>>>> Unpacking glibc-2.20.tar.xz to /var/tmp/portage/sys-libs/glibc-2.20-r1/work
>>>> Unpacking glibc-2.20-patches-1.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.20-r1/work
>  [32;01m*[0m Applying Gentoo Glibc Patchset 2.20-1 ...
>  [32;01m*[0m   00_all_0001-disable-ldconfig-during-install.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0002-workaround-crash-when-handling-signals-in-static-PIE.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0003-make-fortify-logic-checks-less-angry.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0004-Fix-localedef-segfault-when-run-under-exec-shield-Pa.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0005-reload-etc-resolv.conf-when-it-has-changed.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0006-nptl-support-thread-stacks-that-grow-up.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0007-rtld-do-not-ignore-arch-specific-CFLAGS.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0008-nptl-handle-EAGAIN-with-some-futex-operations.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0009-gentoo-support-running-tests-under-sandbox.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0010-gentoo-disable-building-in-timezone-subdir.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0011-arm-fix-PIC-vs-SHARED-typos.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0012-hppa-name-setjmp-union.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0013-hppa-fix-build-problems-with-atomic-code.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0014-hppa-fix-bug-in-floating-point-exception-support.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0015-hppa-fix-pthread-spinlock.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0016-hppa-fix-__O_SYNC-to-match-the-kernel.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   00_all_0017-disable-PIE-when-checking-for-PIC-default.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m Done with patching
>  [32;01m*[0m Applying CVE-2015-1781-dns-host.c-buffer-overflow.patch ...
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m Using GNU config files from /usr/share/gnuconfig
>  [32;01m*[0m   Updating scripts/config.sub
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>  [32;01m*[0m   Updating scripts/config.guess
> [A[72C [34;01m[ [32;01mok[34;01m ][0m
>>>> Source unpacked in /var/tmp/portage/sys-libs/glibc-2.20-r1/work
>>>> Compiling source in /var/tmp/portage/sys-libs/glibc-2.20-r1/work/glibc-2.20 ...
> <builtin>: recipe for target 'glibc-test' failed
>  [32;01m*[0m Auto adding -march=x86_64 to CFLAGS_x86 #185404
> <builtin>: recipe for target 'glibc-test' failed
>  [32;01m*[0m Auto adding -march=i686 to CFLAGS_x86 #185404
>  [32;01m*[0m Running toolchain-glibc_src_compile for ABI x86
> 
>  [32;01m*[0m Configuring glibc for nptl
>  [32;01m*[0m             ABI:   x86
>  [32;01m*[0m          CBUILD:   x86_64-pc-linux-gnu
>  [32;01m*[0m           CHOST:   x86_64-pc-linux-gnu
>  [32;01m*[0m         CTARGET:   x86_64-pc-linux-gnu
>  [32;01m*[0m      CBUILD_OPT:   i686-pc-linux-gnu
>  [32;01m*[0m     CTARGET_OPT:   i686-pc-linux-gnu
>  [32;01m*[0m              CC:   x86_64-pc-linux-gnu-gcc -m32 -march=i686
>  [32;01m*[0m         ASFLAGS:   
>  [32;01m*[0m          CFLAGS:   -pipe -O2 -fno-strict-aliasing
>  [32;01m*[0m        CPPFLAGS:   
>  [32;01m*[0m        CXXFLAGS:   -pipe -O2 -fno-strict-aliasing
>  [32;01m*[0m         LDFLAGS:   -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
>  [32;01m*[0m       Manual CC:   x86_64-pc-linux-gnu-gcc -m32 -march=i686
> 
> /


And:

> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../libc.so when searching for -lc
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../libc.a when searching for -lc
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lc
> collect2: error: ld returned 1 exit status
> Makefile:167: recipe for target '/var/tmp/portage/sys-libs/glibc-2.20-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen' failed
> make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.20-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/cross-rpcgen] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.20-r1/work/glibc-2.20/sunrpc'
> Makefile:214: recipe for target 'sunrpc/others' failed
> make[1]: *** [sunrpc/others] Error 2
> make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.20-r1/work/glibc-2.20'
> Makefile:9: recipe for target 'all' failed
> make: *** [all] Error 2
> make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.20-r1/work/build-x86-x86_64-pc-linux-gnu-nptl'
> emake failed
>  [31;01m*[0m ERROR: sys-libs/glibc-2.20-r1 failed (compile phase):
>  [31;01m*[0m   make nptl for x86 failed
>  [31;01m*[0m 
>  [31;01m*[0m Call stack:
>  [31;01m*[0m           ebuild.sh, line   93:  Called src_compile
>  [31;01m*[0m         environment, line 3189:  Called eblit-run 'src_compile'
>  [31;01m*[0m         environment, line  919:  Called eblit-glibc-src_compile
>  [31;01m*[0m   src_compile.eblit, line   23:  Called foreach_abi 'toolchain-glibc_src_compile'
>  [31;01m*[0m        common.eblit, line  326:  Called toolchain-glibc_src_compile
>  [31;01m*[0m   src_compile.eblit, line   12:  Called die
>  [31;01m*[0m The specific snippet of code:
>  [31;01m*[0m   			emake -C "$(builddir ${t})" || die "make ${t} for ${ABI} failed"
>  [31;01m*[0m 
>  [31;01m*[0m If you need support, post the output of `emerge --info '=sys-libs/glibc-2.20-r1'`,
>  [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.20-r1'`.
>  [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.20-r1/temp/build.log'.
>  [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.20-r1/temp/environment'.
>  [31;01m*[0m Working directory: '/var/tmp/portage/sys-libs/glibc-2.20-r1/work/build-x86-x86_64-pc-linux-gnu-nptl'
>  [31;01m*[0m S: '/var/tmp/portage/sys-libs/glibc-2.20-r1/work/glibc-2.20'


Finally:

> Script started on Thu 21 May 2015 06:19:49 PM BST
> ]0;art@localhost:/home/art[01;32mart@localhost[01;34m ~ $[00m emerge --info

> ]0;emergePortage 2.3.6-r9 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.4, glibc-2.19, 4.0.3-gentoo x86_64)

> =================================================================

> System uname: Linux-4.0.3-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.2.0

> KiB Mem:      979156 total,    204928 free

> KiB Swap:    2097148 total,   2096872 free

> Timestamp of tree: Unknown

> ld GNU ld (Gentoo 2.24 p1.4) 2.24

> app-shells/bash:          4.3_p30-r1

> dev-lang/perl:            5.20.2-r1

> dev-lang/python:          2.7.9-r1000, 3.3.6-r1000

> dev-util/cmake:           3.2.1

> sys-apps/baselayout:      2.2.0-r6

> sys-apps/openrc:          0.12.4-r4

> sys-apps/sandbox:         2.6-r2

> sys-devel/autoconf:       2.13, 2.69-r1

> sys-devel/automake:       1.14.1, 1.15

> sys-devel/binutils:       2.24-r3, 2.25-r1

> sys-devel/gcc:            4.8.4

> sys-devel/gcc-config:     1.8

> sys-devel/libtool:        2.4.3-r2

> sys-devel/make:           4.1-r1

> sys-kernel/linux-headers: 4.0 (virtual/os-headers)

> sys-libs/glibc:           2.19

> Repositories: gentoo

> ACCEPT_KEYWORDS="amd64 ~amd64"

> ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"

> CBUILD="x86_64-pc-linux-gnu"

> CFLAGS="-march=core2 -O2 -pipe"

> CHOST="x86_64-pc-linux-gnu"

> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"

> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"

> CXXFLAGS="-march=core2 -O2 -pipe"

> DISTDIR="/usr/portage/distfiles"

> FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"

> FFLAGS=""

> GENTOO_MIRRORS="http://distfiles.gentoo.org"

> LANG="en_US.UTF-8"

> LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"

> MAKEOPTS="-j2"

> PKGDIR="/usr/portage/packages"

> PORTAGE_CONFIGROOT="/"

> PORTAGE_TMPDIR="/var/tmp"

> PORTDIR="/usr/portage"

> PORTDIR_OVERLAY=""

> SYNC="git://github.com/funtoo/ports-2012.git"

> SYNC_USER="root"

> USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm ico iconv icu ieee1394 ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png postproc pppd python quicktime readline resolvconf sndfile sse sse2 ssl svg taglib tcpd theora tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel" 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, SYNC_UMASK

> 

> ]0;art@:~]0;art@localhost:/home/art[01;32mart@localhost[01;34m ~ $[00m exit

> 
> Script done on Thu 21 May 2015 06:20:06 PM BST






Reply to this topic



  



Also tagged with one or more of these keywords: glibc, gcc

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users