Distribution: Gentoo Base System version 1.4.16 Package: pkg-config version 0.15.0 pkg-config returns "illegal instruction" Reproducible: Always Steps to Reproduce: 1. Run pkg-config with any option 2. 3.
Could you please post your `emerge --info`?
The bug exists only compiling the pkgconfig package with the -march=athlon-xp option. Compiling with -march=i686 it works.
works fine here with athlon-xp .. still havent provided your 'emerge info'
Sorry I forgot to add the information you asked me. Here they are Gentoo Base System version 1.4.16 Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-gentoo-r6) ================================================================= System uname: 2.4.26-gentoo-r6 i686 AMD Athlon(tm) processor Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb cdr crypt cups divx4linux encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg ldap libg++ libwww mad matrox mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
sorry we can't do much with this. Works fine here. Illegal instruction usually points at some hw problem or maybe a flaky gcc. Do you actually have an amd XP, your uname isn't very clear on that. Maybe you should reset your CFLAGS.