After installing klibc 1.5.12, emerging v86d returns: klcc -c -O2 -march=nocona -fomit-frame-pointer -ftree-loop-linear -ftree-vectorize -pipe -I/usr/src/linux/include -Ilibs/lrmi-0.10 -o lrmi.o lrmi.c lrmi.c: In function 'set_regs': lrmi.c:399: error: 'IF_MASK' undeclared (first use in this function) lrmi.c:399: error: (Each undeclared identifier is reported only once lrmi.c:399: error: for each function it appears in.) lrmi.c:399: error: 'IOPL_MASK' undeclared (first use in this function) lrmi.c: In function 'run_vm86': lrmi.c:824: error: 'VIF_MASK' undeclared (first use in this function) lrmi.c:824: error: 'TF_MASK' undeclared (first use in this function) lrmi.c: In function 'LRMI_int': lrmi.c:1051: error: 'IF_MASK' undeclared (first use in this function) lrmi.c:1051: error: 'IOPL_MASK' undeclared (first use in this function) make[1]: *** [lrmi.o] Error 1 Reproducible: Always Steps to Reproduce: 1. install klibc 1.5.12 2. try to emerge v86d 3. fail Actual Results: v86d failed to compile at lrmi.c Expected Results: v86d builds successfully Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0 Timestamp of tree: Mon, 14 Jul 2008 21:17:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -fomit-frame-pointer -ftree-loop-linear -ftree-vectorize -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -ftree-loop-linear -ftree-vectorize -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://prometheus.cs.wmich.edu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ " LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu" LINGUAS="en_US en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amr bash-completion berkdb bidi branding bzip2 cairo caps cdda cddb cdr cjk cli cracklib crypt cups curl dbus dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fbcon ffmpeg flac fontconfig fortran gdbm geoip gif glut gmp gnutls gpm hal iconv isdnlog ithreads jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ladspa lcms libcaca live logrotate lzo mad matroska midi mikmod mmx mmxext mng mp2 mp3 mp4 mpeg mudflap musepack musicbrainz ncurses nptl nptlonly offensive ogg opengl pam pch pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection rtsp samba session shorten shout smp sndfile socks5 speex spell spl sse sse2 ssl svg syslog taglib tcpd theora threads threadsafe tiff truetype twolame unicode vorbis wavpack win32codecs x264 x86 xcomposite xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS CFLAGS="-O0" are forced for v86d.
Well, correction: I tried with -O0 forced but it did not change the results.
Are you sure you didn't also upgrade sys-devel/gcc to 4.3.1 before you started seeing this failure? lrmi.c:399: error: 'IF_MASK' undeclared (first use in this function)
same here. i also started having this failure right after klibc-1.5.12-r1 (had 1.5.11 before). i've been using gcc 4.3.1 for a while now. v86d used to build, but it would still segfault (as described in other bugs). downgrading to 1.5.11 makes v86d build again. (but it probably still segfaults).
I have compiled v86d using GCC 4.3.1 earlier with the 1.5.11 version of klibc. It segfaulted on start if compiled without -O0 but otherwise functioned.
The problem should be fixed in v86d-0.1.5.1.