Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67396 - genkernel 3.0.2g fails on dietlibc.
Summary: genkernel 3.0.2g fails on dietlibc.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 08:54 UTC by David Lebel
Modified: 2004-10-14 11:32 UTC (History)
1 user (show)

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


Attachments
genkernel.log of the failure (genkernel.log,11.07 KB, text/plain)
2004-10-13 08:55 UTC, David Lebel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Lebel 2004-10-13 08:54:39 UTC
When I try to build an initrd with genkernel, it fails at the following step:

/var/tmp/genkernel/diet/lib-i386/libc.a(logging.o)(.text+0x644): In function `setlogmask':
: undefined reference to `connect'
/var/tmp/genkernel/diet/lib-i386/libc.a(logging.o)(.text+0x708): In function `setlogmask':
: undefined reference to `socket'
collect2: ld returned 1 exit status

I'm including the complete genkernel.log.

Reproducible: Always
Steps to Reproduce:
1. genkernel --udev initrd
2.
3.

Actual Results:  
See the attached log.
Comment 1 David Lebel 2004-10-13 08:55:52 UTC
Created attachment 41728 [details]
genkernel.log of the failure
Comment 2 solar (RETIRED) gentoo-dev 2004-10-13 16:46:22 UTC
Your bug report is missing all the good stuff like 'emerge info' and telling everybody what versions of what your trying to build.
Comment 3 David Lebel 2004-10-13 17:09:58 UTC
emerge info:

Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP  3200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/lebel/Portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac aim alsa apm avi berkdb bitmap-fonts bootsplash bzlib cdparanoia cdr crypt cups curl curlwrappers divx4linux dvd dvdr dvdread encode esd faac faad fftw flac foomaticdb gd gif gimpprint gnome gpm gstreamer gtk gtk2 hal iconv imagemagick imap java jikes joystick jpeg libg++ libwww lzo lzw lzw-tiff mad maildir matroska mikmod mmx motif mozilla moznoirc mozplaintext mozsvg mp3 mpeg ncurses network nls nptl oggvorbis opengl oscar pam pcre pdflib perl png python quicktime readline recode samba sasl sdl slang smime spell sse ssl svg svga tcpd tiff truetype usb vhosts vim-with-x wxwindows x86 xine xml2 xmms xprint xv xvid xvmc zlib linguas_fr linguas_en"

Kernel:

gentoo-dev-sources-2.6.8-r8
Comment 4 David Lebel 2004-10-14 10:49:11 UTC
Well, additional note:

this isn't dietlibc per se that's causing the error.  Process barfs when compiling rmmod, modprobe and all the other module-init-tools components.  The lack of connect and socket seems to be the cause of the error.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2004-10-14 11:30:43 UTC
Want to try genkernel 3.0.2h? Just copy genkernel-3.0.2g.ebuild to genkernel-3.0.2h.ebuild and then run ebuild /usr/portage/sys-kernel/genkernel/genkernel-3.0.2h.ebuild digest and then emerge it. Thanks!
Comment 6 David Lebel 2004-10-14 11:32:52 UTC
OK, never mind.

Looks like for some odd reason, the dietlibc that was in my genkernel's bincache was compiled without all the fonction calls.  Now, after making sure all the cache where removed, I restarted my genkernel and it went thru just fine.

I'm closing this bug.