Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45863 - Endeavour 2.3.6 fails to detect CPU
Summary: Endeavour 2.3.6 fails to detect CPU
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High major
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 20:58 UTC by Cletus Lichte
Modified: 2004-12-22 16:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cletus Lichte 2004-03-26 20:58:48 UTC
During the configure stage, endeavour incorrectly identifies my CPU as a i686, I have a Via C3 which requires software to be compiled as i586.  The resulting binary gives the error:  Illegal instruction

emerge info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 VIA Samuel 2
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=c3 -m3dnow -O2 -pipe"
CHOST="i586-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 /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=c3 -m3dnow -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3ds X X509 Xaw3d aalib aavm acpi alsa apache2 arts artswrappersuid athena atlas avi berkdb bsh crypt cscope cups curl dga dillo dnd doc dv dvd emacs encode ethereal faad fam fbcon fftw flac flash fltk fluidsynth foomaticdb gd gdbm ggi gif gimpprint gpm gstreamer gtk gtk2 imagemagick imap imlib jack jack-caps jack-tmpfs java javamail javascript jdepend jpeg jsch junit jython ladcca lcms leim libg++ libwww mad mbox mcal md5sum mikmod mmx motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mpeg mpi ncurses nntp nogcj nojoystick objc oggvorbis opengl optional-tasks oro oss pam parse-clocks pcap pda pdflib perl pic plotutils png ppds python qt quicktime radeon readline regexp rhino ruby ruby18 sdl skey slang slp sox speex spell sqlite ssl tcltk tcpd tetex tiff transcode truetype type1 usb video_cards_radeon videos vim-with-x wmf wxwindows x86 xerces xml xml2 xmms xv xvid zlib"
Comment 1 Cletus Lichte 2004-03-26 21:25:07 UTC
Ok, I ran ebuild endeavour-2.3.6 unpack and then went to the work dir to play with the configure script.  I found that I can use the --disable="arch-i686" flag and now it will run on my box.  I know that you don't want this arch disabled on all platforms so I won't attach the patched ebuild, but isn't there a way for an ebuild to check what CPU settings are in /etc/make.conf and then use different configure flags accordingly?
Comment 2 Hanno Böck gentoo-dev 2004-12-22 16:00:09 UTC
The endeavour-configure seems to be quite buggy and doesn't reflect the use-flags given to it.
Please report this upstream or provide a patch that'll fix it generally without breaking on other cpus.