<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>180385</bug_id>
          
          <creation_ts>2007-05-30 19:42 0000</creation_ts>
          <short_desc>sci-libs/blas-goto  emerge fails - No such instruction</short_desc>
          <delta_ts>2007-06-06 13:33:58 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cshei@cs.indiana.edu</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>cshei@cs.indiana.edu</who>
            <bug_when>2007-05-30 19:42:50 0000</bug_when>
            <thetext>assembler lacks &quot;palignr&quot; instruction that blas-goto requires on Core2-based systems

Reproducible: Always

Actual Results:  
zcopy_sse_core2.S: Assembler messages:
zcopy_sse_core2.S:242: Error: no such instruction: `palignr $4,%xmm0,%xmm1&apos;
zcopy_sse_core2.S:247: Error: no such instruction: `palignr $4,%xmm9,%xmm2&apos;
zcopy_sse_core2.S:252: Error: no such instruction: `palignr $4,%xmm10,%xmm3&apos;
zcopy_sse_core2.S:257: Error: no such instruction: `palignr $4,%xmm11,%xmm4&apos;


Expected Results:  
Correct compilation</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-05-31 10:53:11 0000</bug_when>
            <thetext>sci-libs/blas-goto version and emerge --info please.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cshei@cs.indiana.edu</who>
            <bug_when>2007-05-31 12:49:49 0000</bug_when>
            <thetext>Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Xeon(R) CPU           X5365  @ 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 30 May 2007 13:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -msse3 -fomit-frame-pointer -march=nocona -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -msse3 -fomit-frame-pointer -march=nocona -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j9&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac aalib acl alsa amd64 audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups dri dvd dvdr firefox flac fortran gdbm gnome gpm gstreamer gtk gtkhtml iconv ipv6 isdnlog java jpeg libg++ midi mmx mng mudflap musepack ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl pppd python readline reflection samba session sndfile spell spl sse sse2 ssl tcpd tetex threads tiff truetype-fonts type1-fonts unicode xine xorg xvid zlib&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nv nvidia vesa&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cshei@cs.indiana.edu</who>
            <bug_when>2007-05-31 12:51:17 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; sci-libs/blas-goto version and emerge --info please.
&gt; 

blas-goto-1.14, although the same problem occurs with 1.15 when installing it outside of portage</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cshei@cs.indiana.edu</who>
            <bug_when>2007-05-31 19:57:24 0000</bug_when>
            <thetext>Added needed info</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-06-01 13:08:42 0000</bug_when>
            <thetext>Please correct me if I am wrong but AFAIK &quot;palignr&quot; is part of
SSSE3 (note the additional &quot;S&quot;) which is not supported
by either gcc-4.1 or gcc-4.2. I believe SSSE3 support will 
be part of gcc-4.3. That said, I am not sure if this piece
of code will compile using gcc in the near future.

cheers,
Markus </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-06-01 18:16:31 0000</bug_when>
            <thetext>I thought about this some more and what really matters here I guess
is not gcc but rather gas. That said, I believe that the gas version that 
ships with binutils-2.17 should be able to do these ssse3 instructions. Could
you give this a try (you&apos;re currently at binutils-2.16).

Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cshei@cs.indiana.edu</who>
            <bug_when>2007-06-01 20:27:40 0000</bug_when>
            <thetext>Excellent, success!  binutils-2.17 does indeed work.  Thanks Markus!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-06-01 22:36:42 0000</bug_when>
            <thetext>Great! I guess we better put this requirement into DEPEND.

best,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-06-06 13:33:58 0000</bug_when>
            <thetext>I&apos;ve just added this dependence on binutils-2.17 to the 
blas-goto-1.14 ebuild.


cheers,
Markus</thetext>
          </long_desc>
      
    </bug>

</bugzilla>