8 msgLooking into zip files
37 msgstar
2 msgNew mobo and USB problems
18 msghelp with the dreaded mount: RPC: Program not r...
2 msggcc 4.2.0 with java
23 msg{OT} Opinions on Host's Decision Please
3 msgpython-2.5
2 msgNo ogg sounds
1 msgAcidrip Pango-WARNING
3 msgskype and logitech quickcam communicate STX
9 msgdisable dropping to -j1 when building certain p...
4 msgcontinue emerge on failure
9 msgportage: error scanning <directory>/
5 msgMeaning of bold/regular font in output from emerge

glibc-2.3.6 fails to compile (in a vserver)
\ Alan McKinnon (20 Sep 2007)
. \ Alan McKinnon (20 Sep 2007)
. . \ Bo Ørsted Andresen (20 Sep 2007)
. . . \ Alan McKinnon (21 Sep 2007)

4 msgOT: Bash question
1 msgAudio/mp3 problems, something not set properly
2 msgBad 3Dness from my Intel 855GM!
13 msgStrange mplayer symbols on a terminal
1 msgPAE limitations
Subject:glibc-2.3.6 fails to compile (in a vserver)
Group:Gentoo-user
From:Alan McKinnon
Date:20 Sep 2007


 
Hi,

A glibc upgrade from 2.3.5-r2 to 2.3.6-r5 inside a vserver is failing on
me.

It's a new install using a 20060317 stage3 built for vservers by hollow.
I need a 2.3 glibc for the app that will run in it, hence the very old
stage3. Running a later glibc is not an option.

The stage originally had baselayout-vserver1.1.?, I've changed this to
baselayout-1.13.0_alpha2 because
http://www.gentoo.org/proj/en/vps/vserver-howto.xml implies it should
work.

USE settings for glibc:

nazgul-master / # emerge -av glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] sys-libs/glibc-2.3.6-r5 [2.3.5-r2]
USE="-build -erandom -glibc-compat20 -glibc-omitfp (-hardened)
(-multilib) -nls* (-nptl) (-nptlonly) -profile (-selinux)
(-linuxthreads-tls%) (-pic%) (-userlocales%)" 0 kB

The compile errors:

i686-pc-linux-gnu-gcc ../sysdeps/generic/sigjmp.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fno-strict-aliasing -march=pentium-m -pipe -mpreferred-stack-boundary=2 -I../include -I. -I/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i686-pc-linux-gnu- linuxthreads/setjmp -I.. -I../libio -I/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i686-pc-linux-gnu- linuxthreads -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i686-pc-linux-gnu-li nuxthreads/setjmp/sigjmp.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i686-pc-linux-gnu-li nuxthreads/setjmp/sigjmp.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i686-pc-linux-gnu-li nuxthreads/setjmp/sigjmp.o
../sysdeps/i386/elf/setjmp.S: Assembler messages:
../sysdeps/i386/elf/setjmp.S:63: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:64: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:65: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:66: Error: unrecognized symbol type ""
../sysdeps/i386/elf/setjmp.S:66: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:67: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:70: Error: expected comma after name `'
in .size directive
make[2]: ***
[/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/build-default-i686-pc-linux-gnu-l inuxthreads/setjmp/setjmp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/glibc-2.3.6/setjmp'
make[1]: *** [setjmp/subdir_lib] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.3.6-r5/work/glibc-2.3.6'
make: *** [all] Error 2


alan


--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user mailing list



© 2004-2008 readlist.com