* [gentoo-embedded] error building uclibc-0.9.28.1
@ 2007-02-16 10:55 Lorenzo Marussi
2007-02-16 23:51 ` Vitaly Ivanov
0 siblings, 1 reply; 9+ messages in thread
From: Lorenzo Marussi @ 2007-02-16 10:55 UTC (permalink / raw
To: gentoo-embedded
Hi list
I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a system
update. ( I mounted proc e portage, I make env-update && source
/etc/profile)
When I try to update uclibc to 0.9.28.1 version I get this error:
make[2]: Entering directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28.1/work/uClibc-0.9.28.1/libc/unistd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28.1/work/uClibc-0.9.28.1/libc/unistd'
rm -f libc.a shared_libc.a
objs=`cat obj.*` ; \
i386-gentoo-linux-uclibc-ar cr libc.a $objs && \
i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs && \
i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs
i386-gentoo-linux-uclibc-ar cr libc.a obj.signal
i386-gentoo-linux-uclibc-ar cr libc.a obj.string.generic
i386-gentoo-linux-uclibc-ar cr libc.a obj.string.i386
i386-gentoo-linux-uclibc-ar cr libc.a obj.string
i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.common
i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.i386
cp libc.a shared_libc.a
i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
i386-gentoo-linux-uclibc-ranlib libc.a
i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
-z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
--whole-archive shared_libc.a \
../libc/misc/internals/interp.o --no-whole-archive \
-init __uClibc_init ../lib/ld-uClibc.so.0
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
shared_libc.a(difftime.o): In function `difftime':
time.c:(.text+0x16): undefined reference to `__floatsidf'
time.c:(.text+0x2e): undefined reference to `__subdf3'
shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
_fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
_fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
_fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
_fpmaxtostr.c:(.text+0x1cf): undefined reference to `__mulxf3'
_fpmaxtostr.c:(.text+0x46c): undefined reference to `__gexf2'
_fpmaxtostr.c:(.text+0x560): undefined reference to `__floatsixf'
_fpmaxtostr.c:(.text+0x579): undefined reference to `__addxf3'
_fpmaxtostr.c:(.text+0x58d): undefined reference to `__subxf3'
shared_libc.a(vfprintf.o): In function `vfprintf':
vfprintf.c:(.text+0x44c): undefined reference to `__extenddfxf2'
shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
shared_libc.a(strtof.o): In function `strtof':
strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
make[1]: *** [shared] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28.1/work/uClibc-0.9.28.1/libc'
make: *** [shared] Error 2
!!! ERROR: sys-libs/uclibc-0.9.28.1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3360: Called src_compile
uclibc-0.9.28.1.ebuild, line 386: Called die
!!! make 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/uclibc-0.9.28.1/temp/build.log'.
If I update to 0.9.28-r2 I get this error:
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/unistd'
rm -f libc.a shared_libc.a
objs=`cat obj.*` ; \
i386-gentoo-linux-uclibc-ar cr libc.a $objs && \
i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs && \
i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs
i386-gentoo-linux-uclibc-ar cr libc.a obj.signal
i386-gentoo-linux-uclibc-ar cr libc.a obj.string.generic
i386-gentoo-linux-uclibc-ar cr libc.a obj.string.i386
i386-gentoo-linux-uclibc-ar cr libc.a obj.string
i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.common
i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.i386
cp libc.a shared_libc.a
i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
i386-gentoo-linux-uclibc-ranlib libc.a
i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
-z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
--whole-archive shared_libc.a \
../libc/misc/internals/interp.o --no-whole-archive \
-init __uClibc_init ../lib/ld-uClibc.so.0
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
shared_libc.a(difftime.o): In function `difftime':
time.c:(.text+0x16): undefined reference to `__floatsidf'
time.c:(.text+0x2e): undefined reference to `__subdf3'
shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
_fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
_fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
_fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
_fpmaxtostr.c:(.text+0x1cf): undefined reference to `__mulxf3'
_fpmaxtostr.c:(.text+0x46c): undefined reference to `__gexf2'
_fpmaxtostr.c:(.text+0x560): undefined reference to `__floatsixf'
_fpmaxtostr.c:(.text+0x579): undefined reference to `__addxf3'
_fpmaxtostr.c:(.text+0x58d): undefined reference to `__subxf3'
shared_libc.a(vfprintf.o): In function `vfprintf':
vfprintf.c:(.text+0x43a): undefined reference to `__extenddfxf2'
shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
shared_libc.a(strtof.o): In function `strtof':
strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
make[1]: *** [shared] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc'
make: *** [shared] Error 2
!!! ERROR: sys-libs/uclibc-0.9.28-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3359: Called src_compile
uclibc-0.9.28-r2.ebuild, line 385: Called die
!!! make 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/uclibc-0.9.28-r2/temp/build.log'.
This is for uclibc-0.9.28-r1
cp libc.a shared_libc.a
i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
i386-gentoo-linux-uclibc-ranlib libc.a
i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
-z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
--whole-archive shared_libc.a \
../libc/misc/internals/interp.o --no-whole-archive \
-init __uClibc_init ../lib/ld-uClibc.so.0
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
shared_libc.a(difftime.o): In function `difftime':
time.c:(.text+0x16): undefined reference to `__floatsidf'
time.c:(.text+0x2e): undefined reference to `__subdf3'
shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
_fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
_fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
_fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
_fpmaxtostr.c:(.text+0x1cf): undefined reference to `__mulxf3'
_fpmaxtostr.c:(.text+0x46c): undefined reference to `__gexf2'
_fpmaxtostr.c:(.text+0x560): undefined reference to `__floatsixf'
_fpmaxtostr.c:(.text+0x579): undefined reference to `__addxf3'
_fpmaxtostr.c:(.text+0x58d): undefined reference to `__subxf3'
shared_libc.a(vfprintf.o): In function `vfprintf':
vfprintf.c:(.text+0x43a): undefined reference to `__extenddfxf2'
shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
shared_libc.a(strtof.o): In function `strtof':
strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
make[1]: *** [shared] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28-r1/work/uClibc-0.9.28/libc'
make: *** [shared] Error 2
!!! ERROR: sys-libs/uclibc-0.9.28-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3359: Called src_compile
uclibc-0.9.28-r1.ebuild, line 385: Called die
!!! make 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/uclibc-0.9.28-r1/temp/build.log'.
this is for 0.9.28:
i386-gentoo-linux-uclibc-ar cr libc.a obj.signal
i386-gentoo-linux-uclibc-ar cr libc.a obj.string.generic
i386-gentoo-linux-uclibc-ar cr libc.a obj.string.i386
i386-gentoo-linux-uclibc-ar cr libc.a obj.string
i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.common
i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.i386
cp libc.a shared_libc.a
i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
i386-gentoo-linux-uclibc-ranlib libc.a
i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
-z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
--whole-archive shared_libc.a \
../libc/misc/internals/interp.o --no-whole-archive \
-init __uClibc_init ../lib/ld-uClibc.so.0
/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
shared_libc.a(difftime.o): In function `difftime':
time.c:(.text+0x16): undefined reference to `__floatsidf'
time.c:(.text+0x2e): undefined reference to `__subdf3'
shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
_fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
_fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
_fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
_fpmaxtostr.c:(.text+0x201): undefined reference to `__mulxf3'
_fpmaxtostr.c:(.text+0x49e): undefined reference to `__gexf2'
_fpmaxtostr.c:(.text+0x55a): undefined reference to `__floatsixf'
_fpmaxtostr.c:(.text+0x573): undefined reference to `__addxf3'
_fpmaxtostr.c:(.text+0x587): undefined reference to `__subxf3'
shared_libc.a(vfprintf.o): In function `vfprintf':
vfprintf.c:(.text+0x43a): undefined reference to `__extenddfxf2'
shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
shared_libc.a(strtof.o): In function `strtof':
strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
make[1]: *** [shared] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/uclibc-0.9.28/work/uClibc-0.9.28/libc'
make: *** [shared] Error 2
!!! ERROR: sys-libs/uclibc-0.9.28 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3359: Called src_compile
uclibc-0.9.28.ebuild, line 385: Called die
!!! make 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/uclibc-0.9.28/temp/build.log'.
this is my make.conf:
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CXXFLAGS="-Os -pipe"
LDFLAGS="-Wl,-z,relro"
FEATURES="ccache buildpkg"
USE="minimal nodoc noman noinfo uclibc"
PKGDIR="${PORTDIR}/packages/uclibc" # Store .tbz2's in their own directory
UCLIBC_CPU="386"
emerge --info:
Portage 2.1.2-r9 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28-r0, 2.6.19-gentoo-r4
x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 Intel(R) Pentium(R) D CPU 2.66GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Thu, 15 Feb 2007 21:50:01 +0000
ccache version 2.4 [enabled]
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.60
sys-devel/automake: 1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc
noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,relro"
PKGDIR="/packages/uclibc"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bitmap-fonts cli cracklib dlloader dri midi minimal ncurses nodoc
noinfo noman pcre readline reflection session spl truetype-fonts type1-fonts
uclibc x86 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol" ELIBC="uclibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
if I switch to this make.conf:
CFLAGS="-Os -pipe"
CHOST="i686-gentoo-linux-uclibc"
CXXFLAGS="-Os -pipe"
LDFLAGS="-Wl,-z,relro"
FEATURES="ccache buildpkg"
USE="minimal nodoc noman noinfo uclibc"
PKGDIR="${PORTDIR}/packages/uclibc" # Store .tbz2's in their own directory
UCLIBC_CPU="686"
Using 686 instead of 386 nothing changes....
Where is the error?? I didn't understand...
thanks
--
Lorenzo Marussi
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
2007-02-16 10:55 Lorenzo Marussi
@ 2007-02-16 23:51 ` Vitaly Ivanov
2007-02-17 13:17 ` jozef maslik
0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Ivanov @ 2007-02-16 23:51 UTC (permalink / raw
To: gentoo-embedded
Lorenzo Marussi wrote:
> Hi list
>
> I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a system
> update. ( I mounted proc e portage, I make env-update && source
> /etc/profile)
>
> When I try to update uclibc to 0.9.28.1 version I get this error:
>
> [skip]
>
I have such problems too
I download stage3-x86-uclibc-2006.1
unpack it
unpack portage snapshot
mount /proc
chroot
source /etc/profile
emerge -e system
and got similar error
Thanks.
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
2007-02-16 23:51 ` Vitaly Ivanov
@ 2007-02-17 13:17 ` jozef maslik
2007-02-17 22:45 ` Vitaly Ivanov
0 siblings, 1 reply; 9+ messages in thread
From: jozef maslik @ 2007-02-17 13:17 UTC (permalink / raw
To: gentoo-embedded
Hello!
Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for gcc 4.
On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
> Lorenzo Marussi wrote:
> > Hi list
> >
> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a system
> > update. ( I mounted proc e portage, I make env-update && source
> > /etc/profile)
> >
> > When I try to update uclibc to 0.9.28.1 version I get this error:
> >
> > [skip]
> >
>
> I have such problems too
>
> I download stage3-x86-uclibc-2006.1
> unpack it
> unpack portage snapshot
> mount /proc
> chroot
> source /etc/profile
> emerge -e system
>
> and got similar error
>
> Thanks.
> --
> gentoo-embedded@gentoo.org mailing list
>
>
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
@ 2007-02-17 14:33 Lorenzo Marussi
2007-02-17 16:58 ` jozef maslik
0 siblings, 1 reply; 9+ messages in thread
From: Lorenzo Marussi @ 2007-02-17 14:33 UTC (permalink / raw
To: gentoo-embedded
you are right. I tried to compile uclibc 0.9.28.1 with gcc-3.4.6 and all is
ok.
But i didn't find any page in bugs.gentoo.org and no info in uclibc site and
nothing in google..
have you a link for this patch?
thanks
jozef maslik <jmaslik@gmail.com> scritto:
>Hello!
>
>Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for gcc
>4.
>
>
>On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
>> Lorenzo Marussi wrote:
>> > Hi list
>> >
>> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a
>system
>> > update. ( I mounted proc e portage, I make env-update && source
>> > /etc/profile)
>> >
>> > When I try to update uclibc to 0.9.28.1 version I get this error:
>> >
>> > [skip]
>> >
>>
>> I have such problems too
>>
>> I download stage3-x86-uclibc-2006.1
>> unpack it
>> unpack portage snapshot
>> mount /proc
>> chroot
>> source /etc/profile
>> emerge -e system
>>
>> and got similar error
>>
>> Thanks.
>> --
>> gentoo-embedded@gentoo.org mailing list
>>
>>
>--
>gentoo-embedded@gentoo.org mailing list
>
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
2007-02-17 14:33 Lorenzo Marussi
@ 2007-02-17 16:58 ` jozef maslik
0 siblings, 0 replies; 9+ messages in thread
From: jozef maslik @ 2007-02-17 16:58 UTC (permalink / raw
To: gentoo-embedded
for example bug from gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=155970
and crosstools with gcc 4 and uclibc have gumstick (i'm not sure)
On 2/17/07, Lorenzo Marussi <lorenzo@auroracomputers.it> wrote:
> you are right. I tried to compile uclibc 0.9.28.1 with gcc-3.4.6 and all is
> ok.
>
> But i didn't find any page in bugs.gentoo.org and no info in uclibc site and
> nothing in google..
>
> have you a link for this patch?
>
> thanks
>
> jozef maslik <jmaslik@gmail.com> scritto:
> >Hello!
> >
> >Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for gcc
> >4.
> >
> >
> >On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
> >> Lorenzo Marussi wrote:
> >> > Hi list
> >> >
> >> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a
> >system
> >> > update. ( I mounted proc e portage, I make env-update && source
> >> > /etc/profile)
> >> >
> >> > When I try to update uclibc to 0.9.28.1 version I get this error:
> >> >
> >> > [skip]
> >> >
> >>
> >> I have such problems too
> >>
> >> I download stage3-x86-uclibc-2006.1
> >> unpack it
> >> unpack portage snapshot
> >> mount /proc
> >> chroot
> >> source /etc/profile
> >> emerge -e system
> >>
> >> and got similar error
> >>
> >> Thanks.
> >> --
> >> gentoo-embedded@gentoo.org mailing list
> >>
> >>
> >--
> >gentoo-embedded@gentoo.org mailing list
> >
>
>
> --
> gentoo-embedded@gentoo.org mailing list
>
>
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
2007-02-17 13:17 ` jozef maslik
@ 2007-02-17 22:45 ` Vitaly Ivanov
2007-02-17 23:49 ` jozef maslik
0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Ivanov @ 2007-02-17 22:45 UTC (permalink / raw
To: gentoo-embedded
jozef maslik wrote:
> Hello!
>
> Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for
> gcc 4.
>
>
> On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
>> Lorenzo Marussi wrote:
>> > Hi list
>> >
>> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a
>> system
>> > update. ( I mounted proc e portage, I make env-update && source
>> > /etc/profile)
>> >
>> > When I try to update uclibc to 0.9.28.1 version I get this error:
>> >
>> > [skip]
>> >
>>
>> I have such problems too
>>
>>
Tried
gcc-4.1.1
gcc-3.4.6
gcc-3.4.4-r1
problem still present
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
2007-02-17 22:45 ` Vitaly Ivanov
@ 2007-02-17 23:49 ` jozef maslik
2007-02-18 21:36 ` Vitaly Ivanov
0 siblings, 1 reply; 9+ messages in thread
From: jozef maslik @ 2007-02-17 23:49 UTC (permalink / raw
To: gentoo-embedded
mmm ... i try this:
# mkdir test_chroot
# cd test_chroot
# tar xpf ../stage3-x86-uclibc-2006.1.tar.bz2
# mount --bind /dev/ ./dev/
# mount --bind /usr/portage/ ./usr/portage/
# mount -t proc none ./proc/
# chroot ./
(chroot)# ln -snf /usr/portage/profiles/uclibc/x86 /etc/make.profile
(optional ;) )
(chroot)# env-update && source /etc/profile
(chroot)# emerge uclibc (sys-libs/uclibc-0.9.28.1)
emerge done without any problem...
i do not change anything...
make.conf...
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CXXFLAGS="-Os -pipe"
LDFLAGS="-Wl,-z,relro"
# emerge --info
Portage 2.1-r2 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28.1-r0,
2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 Intel(R) Pentium(R) M processor 2.13GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.4.26-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,relro"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 bitmap-fonts cli cracklib dlloader dri midi ncurses pcre
readline reflection session spl truetype-fonts type1-fonts uclibc xorg
zlib alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug
alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_uclibc
input_devices_keyboard input_devices_mouse input_devices_evdev
kernel_linux lcd_devices_bayrad lcd_devices_cfontz
lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780
lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb
lcd_devices_ncurses lcd_devices_text userland_GNU video_cards_dummy
video_cards_fbdev video_cards_v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
> jozef maslik wrote:
> > Hello!
> >
> > Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for
> > gcc 4.
> >
> >
> > On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
> >> Lorenzo Marussi wrote:
> >> > Hi list
> >> >
> >> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a
> >> system
> >> > update. ( I mounted proc e portage, I make env-update && source
> >> > /etc/profile)
> >> >
> >> > When I try to update uclibc to 0.9.28.1 version I get this error:
> >> >
> >> > [skip]
> >> >
> >>
> >> I have such problems too
> >>
> >>
> Tried
> gcc-4.1.1
> gcc-3.4.6
> gcc-3.4.4-r1
> problem still present
> --
> gentoo-embedded@gentoo.org mailing list
>
>
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
@ 2007-02-18 19:13 Lorenzo Marussi
0 siblings, 0 replies; 9+ messages in thread
From: Lorenzo Marussi @ 2007-02-18 19:13 UTC (permalink / raw
To: gentoo-embedded
emerge --sync
mkdir /test
cd /test
wget
http://pandemonium.tiscali.de/pub/gentoo/experimental/x86/embedded/stages/stage3-x86-uclibc-2006.1.tar.bz2
tar xvjpf stage3-x86-uclibc-2006.1.tar.bz2
mount --bind /dev/ ./dev/
mount --bind /usr/portage/ ./usr/portage/
mount -t proc none ./proc/
chroot ./
(chroot)# ln -snf /usr/portage/profiles/uclibc/x86 /etc/make.profile
(chroot)# env-update && source /etc/profile
(chroot)# emerge uclibc (sys-libs/uclibc-0.9.28.1)
now It's work for me too!!
Something changed in portage tree?
Lorenzo Marussi
jozef maslik <jmaslik@gmail.com> scritto:
>mmm ... i try this:
>
># mkdir test_chroot
># cd test_chroot
># tar xpf ../stage3-x86-uclibc-2006.1.tar.bz2
>
># mount --bind /dev/ ./dev/
># mount --bind /usr/portage/ ./usr/portage/
># mount -t proc none ./proc/
>
># chroot ./
>
>(chroot)# ln -snf /usr/portage/profiles/uclibc/x86 /etc/make.profile
> (optional ;) )
>(chroot)# env-update && source /etc/profile
>(chroot)# emerge uclibc (sys-libs/uclibc-0.9.28.1)
>
>emerge done without any problem...
>
>i do not change anything...
>
>make.conf...
> CFLAGS="-Os -pipe"
> CHOST="i386-gentoo-linux-uclibc"
> CXXFLAGS="-Os -pipe"
> LDFLAGS="-Wl,-z,relro"
>
># emerge --info
>Portage 2.1-r2 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28.1-r0,
>2.6.19-suspend2-r1 i686)
>=================================================================
>System uname: 2.6.19-suspend2-r1 i686 Intel(R) Pentium(R) M processor
>2.13GHz
>Gentoo Base System version 1.12.4
>app-admin/eselect-compiler: [Not Present]
>dev-java/java-config: [Not Present]
>dev-lang/python: 2.4.3-r1
>dev-python/pycrypto: 2.0.1-r5
>dev-util/ccache: [Not Present]
>dev-util/confcache: [Not Present]
>sys-apps/sandbox: 1.2.17
>sys-devel/autoconf: 2.13, 2.59-r7
>sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
>sys-devel/binutils: 2.16.1-r3
>sys-devel/gcc-config: 1.3.13-r3
>sys-devel/libtool: 1.5.22
>virtual/os-headers: 2.4.26-r1
>ACCEPT_KEYWORDS="x86"
>AUTOCLEAN="yes"
>CBUILD="i386-gentoo-linux-uclibc"
>CFLAGS="-Os -pipe"
>CHOST="i386-gentoo-linux-uclibc"
>CONFIG_PROTECT="/etc /usr/share/X11/xkb"
>CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
>CXXFLAGS="-Os -pipe"
>DISTDIR="/usr/portage/distfiles"
>FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman
>sandbox sfperms strict"
>GENTOO_MIRRORS="http://distfiles.gentoo.org
>http://distro.ibiblio.org/pub/linux/distributions/gentoo"
>LDFLAGS="-Wl,-z,relro"
>PKGDIR="/usr/portage/packages"
>PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
>--compress --force --whole-file --delete --delete-after --stats
>--timeout=180 --exclude='/distfiles' --exclude='/local'
>--exclude='/packages'"
>PORTAGE_TMPDIR="/var/tmp"
>PORTDIR="/usr/portage"
>SYNC="rsync://rsync.gentoo.org/gentoo-portage"
>USE="x86 bitmap-fonts cli cracklib dlloader dri midi ncurses pcre
>readline reflection session spl truetype-fonts type1-fonts uclibc xorg
>zlib alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
>alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
>alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
>alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
>alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug
>alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
>alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
>alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
>alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
>alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_uclibc
>input_devices_keyboard input_devices_mouse input_devices_evdev
>kernel_linux lcd_devices_bayrad lcd_devices_cfontz
>lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780
>lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb
>lcd_devices_ncurses lcd_devices_text userland_GNU video_cards_dummy
>video_cards_fbdev video_cards_v4l"
>Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
>LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
>
>
>
>On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
>> jozef maslik wrote:
>> > Hello!
>> >
>> > Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for
>> > gcc 4.
>> >
>> >
>> > On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
>> >> Lorenzo Marussi wrote:
>> >> > Hi list
>> >> >
>> >> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a
>> >> system
>> >> > update. ( I mounted proc e portage, I make env-update && source
>> >> > /etc/profile)
>> >> >
>> >> > When I try to update uclibc to 0.9.28.1 version I get this error:
>> >> >
>> >> > [skip]
>> >> >
>> >>
>> >> I have such problems too
>> >>
>> >>
>> Tried
>> gcc-4.1.1
>> gcc-3.4.6
>> gcc-3.4.4-r1
>> problem still present
>> --
>> gentoo-embedded@gentoo.org mailing list
>>
>>
>--
>gentoo-embedded@gentoo.org mailing list
>
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-embedded] error building uclibc-0.9.28.1
2007-02-17 23:49 ` jozef maslik
@ 2007-02-18 21:36 ` Vitaly Ivanov
0 siblings, 0 replies; 9+ messages in thread
From: Vitaly Ivanov @ 2007-02-18 21:36 UTC (permalink / raw
To: gentoo-embedded
jozef maslik wrote:
> mmm ... i try this:
>
> # mkdir test_chroot
> # cd test_chroot
> # tar xpf ../stage3-x86-uclibc-2006.1.tar.bz2
>
> # mount --bind /dev/ ./dev/
> # mount --bind /usr/portage/ ./usr/portage/
> # mount -t proc none ./proc/
>
> # chroot ./
>
> (chroot)# ln -snf /usr/portage/profiles/uclibc/x86 /etc/make.profile
> (optional ;) )
> (chroot)# env-update && source /etc/profile
> (chroot)# emerge uclibc (sys-libs/uclibc-0.9.28.1)
>
> emerge done without any problem...
>
> i do not change anything...
>
>
> On 2/17/07, Vitaly Ivanov <im@rle.ru> wrote:
>> jozef maslik wrote:
>> > Hello!
>> >
>> > Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for
>> > gcc 4.
>> >
>> >
>> Tried
>> gcc-4.1.1
>> gcc-3.4.6
>> gcc-3.4.4-r1
>> problem still present
>> --
>> gentoo-embedded@gentoo.org mailing list
>>
>>
problem was fixed in snapshot portage-20070216.tar.bz2
in previous snapshots emerge uclibc failed by all avaible gcc versions
Thanks.
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-02-18 21:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-18 19:13 [gentoo-embedded] error building uclibc-0.9.28.1 Lorenzo Marussi
-- strict thread matches above, loose matches on Subject: below --
2007-02-17 14:33 Lorenzo Marussi
2007-02-17 16:58 ` jozef maslik
2007-02-16 10:55 Lorenzo Marussi
2007-02-16 23:51 ` Vitaly Ivanov
2007-02-17 13:17 ` jozef maslik
2007-02-17 22:45 ` Vitaly Ivanov
2007-02-17 23:49 ` jozef maslik
2007-02-18 21:36 ` Vitaly Ivanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox