hi, i'm using an hardend gentoo on an x86 pentium-m. hardend use flag is enabled By installing kqemu (latest stable 1.3.0_pre9), it compilies and installs all fine but if i try to load the kqemu.ko module i get following errors: :\ modprobe kqemu FATAL: Error inserting kqemu (/lib/modules/2.6.18-gentoo-r6/misc/kqemu.ko): Unknown symbol in module, or unknown parameter (see dmesg) :\ dmesg kqemu: Unknown symbol _GLOBAL_OFFSET_TABLE_ I then have tried to unpack the distfile and compile it my self's and i worked (loaded successfully). I checked the ebuild and did the same commands, except of "filter-flags -fpie -fstack-protector", it seems to be an portage function i don't know. I also tried to use kqemu-1.3.0_pre11 which during compiling. Reproducible: Always Steps to Reproduce: 1. emerge kqemu 2. modprobe kqemu 3. dmesg Actual Results: :\ modprobe kqemu FATAL: Error inserting kqemu (/lib/modules/2.6.18-gentoo-r6/misc/kqemu.ko): Unknown symbol in module, or unknown parameter (see dmesg) :\ dmesg kqemu: Unknown symbol _GLOBAL_OFFSET_TABLE_ Expected Results: kqemu.ko loaded successfully compile by my self worked
i forgot to post emerge --info :\ emerge --info Portage 2.1.2.2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.6.15 Timestamp of tree: Tue, 27 Mar 2007 14:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/www" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig digest distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.mneisen.org/gentoo " LANG="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 apache2 avi bash-completion bluetooth bzip2 caps cli crypt divx4linux doc dv dvd dvdread encode expat extensions ffmpeg gd hardened imagemagick imap jpeg kqemu lm_sensors login-watch lzo mbox memlimit mjpeg mmx mounts-check mp3 mpeg mysql ncurses netpbm nls ogg pam pcre perl php png prelude python quicktime sasl sdl session sse sse2 ssl suidcheck theora usb userlocales v4l vhosts vim-with-x vorbis wxgtk1 x86 xml xml2 xorg xvid zip 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="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="s3" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Recompile this with distcc disabled and try again.