Receive error on socket/sa_len.o when trying to compile recompile glibc with new linux-headers-2.6.28-r1. Reproducible: Always Steps to Reproduce: 1. Current working system has same version of glibc successfully compiled with linux-headers-2.6.27-r2. Upgrade to linux-headers-2.6.28-r1 after successfully compiling the 2.6.28-mipsgit-20081230 kernel (mips-sources). 2. Now attempt to recompile glibc, bombs after a fair amount of work. Actual Results: Forced to retreat to linux-headers-2.6.27-r2 Expected Results: Newly recompiled glibc with linux-headers-2.6.28-r1 Note: system running ~mips, the only currently recommended way to run mips now. Everything else is up-to-date and working fine. Snippet of glibc compile log followed by emerge --info In file included from /usr/include/asm/byteorder.h:65, from /usr/include/linux/atalk.h:4, from ../sysdeps/unix/sysv/linux/netatalk/at.h:25, from ../sysdeps/unix/sysv/linux/sa_len.c:22: /usr/include/linux/byteorder.h:8:3: error: #error Fix asm/byteorder.h to define one endianness .././scripts/mkinstalldirs /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-mips-unknown-linux-gnu-nptl/socket (echo '#include <sysdep-cancel.h>'; \ echo 'PSEUDO (__libc_connect, connect, 3)'; \ echo ' ret'; \ echo 'PSEUDO_END(__libc_connect)'; \ echo 'libc_hidden_def (__libc_connect)'; \ echo 'weak_alias (__libc_connect, __connect_internal)'; \ echo 'libc_hidden_weak (__connect_internal)'; \ echo 'weak_alias (__libc_connect, __connect)'; \ echo 'libc_hidden_weak (__connect)'; \ echo 'weak_alias (__libc_connect, connect)'; \ echo 'libc_hidden_weak (connect)'; \ ) | mips-unknown-linux-gnu-gcc -mabi=32 -c -I../include -I/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-mips-unknown-linux-gnu-nptl/socket -I/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-mips-unknown-linux-gnu-nptl -I../ports/sysdeps/mips/elf -I../ports/sysdeps/unix/sysv/linux/mips/mips32 -I../ports/sysdeps/unix/sysv/linux/mips/nptl -I../ports/sysdeps/unix/sysv/linux/mips -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/mips/mips32 -I../ports/sysdeps/unix/mips -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/mips/mips32 -I../ports/sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../ports/sysdeps/mips/fpu -I../ports/sysdeps/mips/nptl -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include -isystem /usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DASSEMBLER -fPIC -x assembler-with-cpp -o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-mips-unknown-linux-gnu-nptl/socket/connect.os - make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-mips-unknown-linux-gnu-nptl/socket/sa_len.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/socket' make[1]: *** [socket/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1' make: *** [all] Error 2 * * ERROR: sys-libs/glibc-2.6.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3396: Called eblit-run 'src_compile' * environment, line 1078: Called eblit-glibc-src_compile * src_compile.eblit, line 187: Called toolchain-glibc_src_compile * src_compile.eblit, line 122: Called die * The specific snippet of code: * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed" * The die message: * make for default failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:glibc-2.6.1:20090111-170643.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'. * !! sys-libs/glibc-2.6.1 failed to install. ! Failed so far: sys-libs/glibc-2.6.1 sys-libs/glibc-2.6.1 failed to install Portage 2.1.6.4 (default/linux/mips/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-mipsgit-20081230 mips64) ================================================================= System uname: Linux-2.6.28-mipsgit-20081230-mips64-R5000_V2.1_FPU_V1.0-with-glibc2.0 Timestamp of tree: Sat, 10 Jan 2009 23:45:02 +0000 distcc 3.1 mips-unknown-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="mips ~mips" CBUILD="mips-unknown-linux-gnu" CFLAGS="-O2 -march=mips4 -pipe -mabi=32" CHOST="mips-unknown-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 /etc/udev/rules.d" CXXFLAGS="-O2 -march=mips4 -pipe -mabi=32" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.ing.umu.se/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.ds.karen.hj.se/gentoo/ http://trumpetti.atm.tut.fi/gentoo/" LC_ALL="en_US.utf8" LDFLAGS="-Wl,--hash-style=sysv" LINGUAS="en_US en_GB sv_SE sv" MAKEOPTS="-j2" PKGDIR="/var/pkg" 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://giddy.michael.hammill.name/gentoo-portage" USE="/ bash-completion berkdb bzip2 cli cracklib crypt cups fam fortran gdbm gpm iconv ipv6 isdnlog mailwrapper midi mips mudflap ncurses nls no-old-linux nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode vram xorg zlib" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB sv_SE sv" USERLAND="GNU" VIDEO_CARDS="fbdev impact newport" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
dont mix stable/unstable
(In reply to comment #1) > dont mix stable/unstable > Huh? As said, I run ~mips. According to the Gentoo Newsletter and the mips team we are *ONLY* supposed to run ~mips now. No other option is supported. Please report my problem!
mips needs to get up to spee t hen. we arent fixing glibc-2.6.1.
*** Bug 258056 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 253775 ***