Summary: | app-crypt/johntheripper-1.7.9 - john.c:(.text+0xd65): undefined reference to `CPU_detect' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Neil Bothwick <neil> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andreasoehler, gentoo, joel, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Neil Bothwick
2012-02-26 16:59:27 UTC
Created attachment 303385 [details]
build log
Same thing here on both x86 and x64. Portage 2.2.0_alpha89 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64) ================================================================= System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1 Timestamp of tree: Tue, 28 Feb 2012 19:45:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3::local-repo, 3.2.2 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo local-repo Installed sets: @mybase, @mydesktop, @myfonts, @mykde, @mymedia, @mynvidia, @myscoring, @mysecurity, @mysplash, @mystandard, @myvirtual, @mywireless, @myx64, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=8.1 --keep-going --with-bdeps=y --complete-graph" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.netnitco.net http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.tds.net/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--progress" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="64bit X a52 aac acl acpi alsa amd64 apache2 artworkextra asf audiofile automount avahi berkdb branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper dri dts dvd dvdr dvi encode escreen ffmpeg flac fontconfig foomaticdb fortran fuse gd gdbm gif gimp glib glibc-omitfp gmp gnome gnuplot gphoto2 gpm graphviz gstreamer gtk gtk3 iconv id3tag ieee1394 ifp imagemagick imlib inotify ipv6 ithreads java java5 java6 jpeg jpeg2k kde lame laptop latex libnotify libwww lm_sensors logrotate lua lzma mad md5sum mdnsresponder-compat mmap mmx mng modules mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pdf pdo perl php plotutils png policykit posix ppds pppd python qt3support qt4 quicktime rar rdp readline rtc samba scanner sdl session sift skins smbclient sndfile spell sqlite sse sse2 sse41 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff transcode truetype twolame udev unicode usb vcd vdpau vhosts vim-with-x vorbis webkit wmf wxwidgets wxwindows x264 xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS I forgot to mention that this is still happening after doing an: emerge -e @world Workaround: Fails with: MAKEOPTS="-j1" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" emerge --oneshot johntheripper Builds and installs fine with: MAKEOPTS="-j1" CFLAGS="-O2 -mtune=native -pipe -fomit-frame-pointer" emerge --oneshot johntheripper This is with an Intel 2600K. Hope this helps. I can confirm this, switching from -march=native to -mtune=native, without changing MAKEOPTS, worked for me. If you add this line just inside of src_compile it allows me to build despite my unsupported cflag: replace-flags -march=native -mtune=native I suggest we update the ebuild. Thanks, ZC The fix in bug 405941 should work for this as well. Thanks, ZC Fixed in CVS. That's fixed it for me, thanks. This is happening again with app-crypt/johntheripper-1.7.9-r1 (In reply to comment #10) > This is happening again with app-crypt/johntheripper-1.7.9-r1 This is caused by the CFLAGS line not pointing at config.gentoo properly and is a completely new bug. >>> Compiling source in /var/tmp/portage/app-crypt/johntheripper-1.7.9-r1/work/john-1.7.9 ... cc1: fatal error: \"/var/tmp/portage/app-crypt/johntheripper-1.7.9-r1/work/john-1.7.9\"/config.gentoo: No such file or directory compilation terminated. cc1: fatal error: \"/var/tmp/portage/app-crypt/johntheripper-1.7.9-r1/work/john-1.7.9\"/config.gentoo: No such file or directory compilation terminated. This is the issue, no idea why, I can easily enough fix it by editing the line in the ebuild, but none of my fixes look clean.... When I change: CFLAGS="${CFLAGS} -include \\\"${S}\\\"/config.gentoo" to: CFLAGS="${CFLAGS} -include ${S}/config.gentoo" it builds cleanly, but I'm not sure if that breaks the rules about having ${S} surrounded by quotes (it still is surrounded by quotes, they are just further away). (In reply to comment #10) > This is happening again with app-crypt/johntheripper-1.7.9-r1 Please don't reopen old, unrelated bugs with new info. Anyway, this is now fixed in CVS. Sorry, I didn't think it was unrelated, it looked like the same error all over again - otherwise I would have opened a new bug. |