Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156985 - hwsetup cross compiled for uclibc requires dynamic libraries from pciutils
Summary: hwsetup cross compiled for uclibc requires dynamic libraries from pciutils
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-03 07:04 UTC by Deadpan110
Modified: 2007-02-09 22:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deadpan110 2006-12-03 07:04:42 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
Build Identifier: 

Using cross compiling methods with crossdev described in
http://www.gentoo.org/proj/en/base/embedded/cross-development.xml

Target machine is i386-[vendor]-linux-uclibc

root@uclibc / # ldd /usr/sbin/hwsetup
        libpci.so => not found (0x00000000)
        libc.so.6 => not found (0x00000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

It appears dynamic libs have been dropped from pciutils in favour of static.
Shouldnt pciutils and any other ebuilds heading in the same direction at least
have a USE flag to enable dynamic linking?

pciutils is an important component of my embedded uclibc compile. I am unsure of
ways around my problem and any help of feedback on this matter will be greatly
appriciated.

I haven't fixed the libc.so.6 problem yet as I have been thinking either its
because I have minimal set for uclibc or I just need to symbolic link it to
/usr/lib/libc.so.



Reproducible: Always




NOTE: information obtained from a cross compiling emerge wrapper like the one
mentioned at http://www.gentoo.org/proj/en/base/embedded/cross-development.xml

Portage 2.1.1-r2 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28-r1, 2.6.17-om i686)
=================================================================
System uname: 2.6.17-om i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 02 Dec 2006 22:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe"
CHOST="i386-unknown-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/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CTARGET="i386-genwulf-linux-uclibc"
CXXFLAGS="-Os -pipe"
DISTDIR="/mnt/auto/work/gentoo/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/public_html/download/packages/i386-unknown-linux-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="/mnt/auto/work/gentoo/portage"
PORTDIR_OVERLAY="/home/martin/Desktop/Subversion/development-uclibc/trunk/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="elibc_uclibc input_devices_keyboard kernel_linux minimal ncurses netboot
savedconfig uclibc userland_GNU video_cards_dummy video_cards_fbdev
video_cards_v4l x86"
Unset:  EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-12-03 12:23:43 UTC
the hwsetup package is broken here, not the toolchains

it ignores CC and CFLAGS among other things
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-05 11:47:57 UTC
OK.  I might have solved this.  I updated the hwsetup ebuild, but also added 1.2 to the tree.  See if either resolve the issue for you.  I even fixed the LDFLAGS/CFLAGS/CC problems.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-09 22:23:25 UTC
Since I don't have the time necessary to test this fix, can you verify it?  I'm marking this as NEEDINFO, since it's been a while.  If it is still broken, please REOPEN the bug and we'll look at what else we can try.