Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Embedded (http://www.linux-archive.org/gentoo-embedded/)
-   -   /usr/lib/libm.so: undefined reference to `__get_cpu_features@GLIBC_PRIVATE' (http://www.linux-archive.org/gentoo-embedded/447218-usr-lib-libm-so-undefined-reference-__get_cpu_features-glibc_private.html)

Kfir Lavi 11-02-2010 05:07 PM

/usr/lib/libm.so: undefined reference to `__get_cpu_features@GLIBC_PRIVATE'
 
Hi,
I have a crossdev for x86 inside a chroot with standard updated stage3.
emerging ncurses results in:
/usr/__CHOST_/usr/lib/libm.so: undefined reference to `__get_cpu_features@GLIBC_PRIVATE'


Other packages will emerge ok.

I have attached the info from the emerge.

Regards,
Kfir

Portage 2.1.8.3 (embedded, gcc-4.4.4, glibc-2.12.1-r3, 2.6.34-gentoo-r6 i686)
================================================== ===============
System Settings
================================================== ===============
System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 02 Nov 2010 08:45:01 +0000
app-shells/bash: 4.1_p7
dev-lang/python: 2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=prescott -fomit-frame-pointer -I/usr/__CHOST__/usr/include/ -I/usr/__CHOST__/include/"
CHOST="i686-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe -march=prescott -fomit-frame-pointer -I/usr/__CHOST__/usr/include/ -I/usr/__CHOST__/include/"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-L/usr/__CHOST__/lib -L/usr/__CHOST__/usr/lib"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/__CHOST__/packages/"
PORTAGE_CONFIGROOT="/usr/i686-gentoo-linux-gnu/"
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="/usr/__CHOST__/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bindist kdrive make-symlinks minimal modules multicall x86 zlib" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Mike Frysinger 12-04-2010 09:50 AM

/usr/lib/libm.so: undefined reference to `__get_cpu_features@GLIBC_PRIVATE'
 
On Tuesday, November 02, 2010 14:07:06 Kfir Lavi wrote:
> I have a crossdev for x86 inside a chroot with standard updated stage3.
> emerging ncurses results in:
> /usr/__CHOST_/usr/lib/libm.so: undefined reference to
> `__get_cpu_features@GLIBC_PRIVATE'
>
> Other packages will emerge ok.
>
> I have attached the info from the emerge.

i dont know why you're setting -I/-L paths yourself. that's just wrong.
-mike


All times are GMT. The time now is 01:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.