Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[solved] glibc upgrade (2.5-r4 -> 2.6.1) on VIA C3 won't fly

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
oKtosiTe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon Aug 15, 2005 6:30 pm
Location: Halmstad, Sweden

[solved] glibc upgrade (2.5-r4 -> 2.6.1) on VIA C3 won't

  • Quote

Post by oKtosiTe » Tue Nov 27, 2007 3:16 am

For about two or three weeks I've been getting the following error on my VIA C3 based server when trying to upgrade glibc:
(apologies for the horrible layout...)

Code: Select all

CPP='i686-pc-linux-gnu-gcc -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs
/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math:/var/tm
p/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-
gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-d
efault-i686-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-
2.6.1/work/build-default-i686-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/crypt:/var/tm
p/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-g
nu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
mkdir /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/rpcsvc
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Illegal instruction
make[2]: *** Waiting for unfinished jobs....
CPP='i686-pc-linux-gnu-gcc -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/gli
bc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math:/var/tmp/po
rtage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-npt
l/dlfcn:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i6
86-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.6.1/wor
k/build-default-i686-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/crypt:/var/tmp/portage/
sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/sunr
pc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.T
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Illegal instruction
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/sunrpc'
make[1]: *** [sunrpc/others] 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 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   glibc-2.6.1.ebuild, line  155:  Called eblit-run 'src_compile'
 *   glibc-2.6.1.ebuild, line  150:  Called eblit-glibc-src_compile
 *    src_compile.eblit, line  179:  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/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
 *
My /proc/cpuinfo

Code: Select all

processor       : 0
vendor_id       : CentaurHauls
cpu family      : 6
model           : 7
model name      : VIA Samuel 2
stepping        : 3
cpu MHz         : 796.155
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 de tsc msr cx8 mtrr pge mmx 3dnow up
bogomips        : 1594.82
clflush size    : 32
My /etc/make.conf

Code: Select all

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -march=i386"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
PORTAGE_NICENESS=17
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync2.nl.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="http://gentoo.tiscali.nl/ "

CONFIG_PROTECT_MASK="/etc/init.d /etc/rc.d /usr/lib/X11/xkb /etc/sound/events"

AUTOCLEAN="yes"

FEATURES="ccache"
CCACHE_SIZE="2048M"
CCACHE_DIR="/var/tmp/ccache/"

LINGUAS="en de fr es nl"

USE="
7zip
apache2 -alsa -arts
-berkdb bzip2
cdr cgi clamav cli crypt ctype cups curl
dvd
encode -esd exif expat
foomaticdb ftp
gd gmp -gnome gnutls gpm gstreamer -gtk -gtk2 gzip
httpd
idn imagemagick imap ipv6
-jack jpeg
lcms
maildir mailwrapper mbox mhash mime mng mozilla mp3 mmx mysql
ncurses nfs
offensive ogg -oss
pcre php png python
-qt -qt3
readline rss
samba -sdl session slang socks5 spell stream syslog
tiff theora truetype
unicode usb
vhosts vorbis
web
xml -xmms
zip
"
Using a hardened kernel...

Code: Select all

$ uname -a
Linux viaduct 2.6.20-hardened-r6 #1 SMP PREEMPT Thu Aug 30 02:13:31 CEST 2007 i686 VIA Samuel 2 CentaurHauls GNU/Linux
Apparently still using gcc 3.4.6, is that a problem?

Code: Select all

$ gcc-config -l
 [1] i686-pc-linux-gnu-3.4.6 *
 [2] i686-pc-linux-gnu-3.4.6-hardenednopie
 [3] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [4] i686-pc-linux-gnu-3.4.6-hardenednossp
 [5] i686-pc-linux-gnu-3.4.6-vanilla
 [6] i686-pc-linux-gnu-4.1.2[/code
Last edited by oKtosiTe on Fri Jan 04, 2008 9:24 am, edited 3 times in total.
Ask Ubuntu | Super User
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Tue Nov 27, 2007 6:17 am

I think it would be better to post that on b.g.o then here.

// SteveB
Top
oKtosiTe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon Aug 15, 2005 6:30 pm
Location: Halmstad, Sweden

Fixed

  • Quote

Post by oKtosiTe » Sat Dec 01, 2007 3:46 am

I've fixed it by changing my CHOST according to this page to safe values as indicated here.

Code: Select all

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=c3 -O2"
CXXFLAGS="${CFLAGS}"
Silly me.
Ask Ubuntu | Super User
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic