From: Lorenzo Marussi <lorenzo@auroracomputers.it>
To: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] error building uclibc-0.9.28.1
Date: Fri, 16 Feb 2007 11:55:20 +0100 [thread overview]
Message-ID: <abb9c91cc7bd37815b3b986c03f67c73@aurora> (raw)
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
next reply other threads:[~2007-02-16 10:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 10:55 Lorenzo Marussi [this message]
2007-02-16 23:51 ` [gentoo-embedded] error building uclibc-0.9.28.1 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
-- 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-18 19:13 Lorenzo Marussi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=abb9c91cc7bd37815b3b986c03f67c73@aurora \
--to=lorenzo@auroracomputers.it \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox