Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215321 - dev-libs/crypto++-5.5.2 fails compilation with assembler complaining "no such instruction: `palignr xmm5,xmm2,4'"
Summary: dev-libs/crypto++-5.5.2 fails compilation with assembler complaining "no such...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 14:25 UTC by Albert Zeyer
Modified: 2008-03-30 06:12 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 Albert Zeyer 2008-03-29 14:25:16 UTC
>>> Emerging (1 of 307) dev-libs/crypto++-5.5.2 to /
 * cryptopp552.zip RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking cryptopp552.zip ;-) ...                                       [ ok ]
>>> Unpacking source...
>>> Unpacking cryptopp552.zip to /var/tmp/portage/dev-libs/crypto++-5.5.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/crypto++-5.5.2/work ...
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c 3way.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c adler32.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c algebra.cpp
...
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c network.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c oaep.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c osrng.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c panama.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c pch.cpp
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c pkcspad.cpp
{standard input}: Assembler messages:
{standard input}:293: Error: no such instruction: `palignr xmm5,xmm2,4'
{standard input}:293: Error: no such instruction: `palignr xmm6,xmm3,4'
{standard input}:299: Error: no such instruction: `palignr xmm7,xmm3,4'
{standard input}:299: Error: no such instruction: `palignr xmm6,xmm2,4'
{standard input}:299: Error: no such instruction: `palignr xmm5,xmm1,4'
{standard input}:299: Error: no such instruction: `palignr xmm4,xmm0,4'
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -c polynomi.cpp
make: *** [panama.o] Error 1
make: *** Waiting for unfinished jobs....
 * 
 * ERROR: dev-libs/crypto++-5.5.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2325:  Called die
 * The specific snippet of code:
 *       emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/crypto++-5.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/crypto++-5.5.2/temp/environment'.
 *
Comment 1 Albert Zeyer 2008-03-29 14:26:16 UTC
acomputer ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 AMD Athlon(tm) XP 2000+
Timestamp of tree: Sat, 29 Mar 2008 11:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.15.92.0.2-r10, 2.16.1-r3, 2.17-r1, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -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/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext GAPING_SECURITY_HOLE X X509 a52 aac aalib acl acpi acpi4linux adns afs agg aiglx alsa amd amuled aqua_theme ares asf asm atm auctex avahi bash-completion bidi bindist bittorrent bl bonjour bookmarks bootsplash bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr cdrom cgi clisp codecs corba cracklib crypt cups curl custreloc dbus dedicated dga dhcp divx4linux dlopen dmi dnd dri dts dv dvd dvdnav dvdr dvdread dxr3 eds encode exif faad fam fame ffmpeg firefox flac flash font-server fortran fpx freetype ftp galago gcj gcl gd gdbm ggi gif gimp gl glitz glslideshow glut gnome gprof graphviz gs gstreamer gtk gtk2 gzip h323 hal haskell howl howl-compat html httpd iconv imagemagick imap imlib2 insecure-drivers ithreads jack java jbig jikes jit jpeg jpeg2k kerberos lame lcms ldap libcaca libnotify linuxthreads-tls live lzo mad matroska mbox midi mikmod mjpeg mmx mmxext mng mod modplug mozbranding mozcalendar mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mppe-mppc mudflap multislot musepack musicbrainz mysql nautilus ncurses net network njb nls nntp nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis openal opengl openmp oss pam pascal pcre pdf php png pop posix ppds pthreads python qt quicktime rar readline real rogue rplay rtc rtsp ruby samba sasl screen sdl server session shorten shout silvercity silverxp skins slp sndfile sockets speedo speex spell sse sse-filters ssl stream subversion svg svga tagwriting tcltk teamarena tetex tga themes theora threads threadsafe thumbnail tiff transcode truetype type1 unicode urandom usb utf8 v4l v4l2 vcd vdr vidix visualization vlm vorbis win32codecs wma wmf wxwindows x264 x86 xanim xatrix xcomposite xext xface xforms xine xorg xosd xpm xprint xrandr xscreensaver xv xvid xvmc zip zlib zvbi" ALSA_CARDS="emu10k1 bt87x" 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="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv apm"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-03-29 19:25:26 UTC
Post the output of:
binutils-config -l
Comment 3 Albert Zeyer 2008-03-29 20:13:17 UTC
acomputer ~ # binutils-config -l
 [1] i686-pc-linux-gnu-2.15.92.0.2
 [2] i686-pc-linux-gnu-2.16.1 *
 [3] i686-pc-linux-gnu-2.17
 [4] i686-pc-linux-gnu-2.18

Thanks for the hint, I will try to use the 2.18.
Comment 4 Albert Zeyer 2008-03-29 20:23:53 UTC
Thanks, that worked. It compiles fine now.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-29 20:31:26 UTC
As the 2.18 is stable no need to fix.
Comment 6 Albert Zeyer 2008-03-29 20:32:48 UTC
Perhaps a check in the ebuild that one is using 2.18?
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-29 20:34:08 UTC
I don't understand.
Comment 8 Albert Zeyer 2008-03-30 00:36:54 UTC
The compilation seems broken for binutils-2.16.1. The ebuild should check therefore that one is not using this binutils version (or an older one).
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-30 06:12:05 UTC
There can be many versions of binutil on a system, you take a risk of not working with latest stable.
All ebuild dependency is on stable "system" configuration.
No need to check this.