Summary: | sys-apps/mkinitrd-3.5.7-r3 - i686-pc-linux-gnu/bin/ld: cannot find -lc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jarryd Beck <jarro.2783> |
Component: | New packages | Assignee: | Gentoo Developers for the x86 Architecture <x86> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | jer |
Priority: | High | ||
Version: | 2008.0_beta2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jarryd Beck
2008-06-09 00:02:48 UTC
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25.5 i686) ================================================================= System uname: 2.6.25.5 i686 Intel(R) Pentium(R) M processor 1.86GHz Timestamp of tree: Sun, 08 Jun 2008 01:45:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY # cat build.log >>> Unpacking source... >>> Unpacking mkinitrd-3.5.7.tar.bz2 to /var/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/work * Applying mkinitrd-lvm_statics.diff ... [ ok ] * Applying mkinitrd-3.5.7-dietssp.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/work/mkinitrd-3.5.7 ... cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector -c -o nash.o nash.c nash.c: In function 'runStartup': nash.c:1158: warning: implicit declaration of function 'display_uuid_cache' cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector -c -o mount_by_label.o mount_by_label.c mount_by_label.c: In function 'get_label_uuid': mount_by_label.c:67: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_by_label.c: In function 'get_spec_by_uuid': mount_by_label.c:268: warning: pointer targets in passing argument 2 of 'get_spec_by_x' differ in signedness cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector -c -o ssp.o ssp.c cc -static -fno-stack-protector -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector -o nash nash.o mount_by_label.o ssp.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [nash] Error 1 * * ERROR: sys-apps/mkinitrd-3.5.7-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2023: Called die * The specific snippet of code: * emake || die "nash compile failed."; * The die message: * nash compile 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-apps/mkinitrd-3.5.7-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/temp/environment'. * Looks similar to bug #222161. Could it be related to new installs based on a 2008.0 beta livecd? Oops. Does anything else (C based) fail to compile? the initrd part of genkernel fails with the same error I solved it by re emerging glibc. It appears that /usr/lib/libc.a was missing. (In reply to comment #6) > the initrd part of genkernel fails with the same error > > I solved it by re emerging glibc. It appears that /usr/lib/libc.a was missing. I've heard that one before. I'll make a mental note. Is it alright to close this bug? If so, go ahead and do so. |