<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33592</bug_id>
          
          <creation_ts>2017-06-26 18:30:24 +0300</creation_ts>
          <short_desc>gost3411-2012: illegal hardware instruction</short_desc>
          <delta_ts>2017-10-18 15:31:28 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>streebog</component>
          <version>не указана</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Дмитрий Державин">dd</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>gremlin</cc>
    
    <cc>lav</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>164444</commentid>
    <comment_count>0</comment_count>
    <who name="Дмитрий Державин">dd</who>
    <bug_when>2017-06-26 18:30:24 +0300</bug_when>
    <thetext>$ uname -mr
4.4.43-std-def-alt0.M80P.2 x86_64

$ gost3411-2012 -t
M1: 012345678901234567890123456789012345678901234567890123456789012
zsh: illegal hardware instruction  gost3411-2012 -t</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164459</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-06-27 10:23:51 +0300</bug_when>
    <thetext>cas@cas ~ $ gost3411-2012 -t
M1: 012345678901234567890123456789012345678901234567890123456789012
GOST R 34.11-2012 512 bit digest (M1): 0x1b54d01a4af5b9d5cc3d86d68d285462b19abc2475222f35c085122be4ba1ffa00ad30f8767b3a82384c6574f024c311e2a481332b08ef7f41797891c1646f48
GOST R 34.11-2012 256 bit digest (M1): 0x9d151eefd8590b89daa6ba6cb74af9275dd051026bb149a452fd84e5e57b5500

Какая машина и какая битность?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164460</commentid>
    <comment_count>2</comment_count>
    <who name="Дмитрий Державин">dd</who>
    <bug_when>2017-06-27 11:07:19 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Какая машина и какая битность?

64 же.

$ cat /proc/cpuinfo 

[…]

processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 18
model           : 1
model name      : AMD A8-3850 APU with Radeon(tm) HD Graphics
stepping        : 0
microcode       : 0x300000f
cpu MHz         : 2899.776
cache size      : 1024 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 3
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter vmmcall
bugs            : fxsave_leak sysret_ss_attrs
bogomips        : 5799.55
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164463</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Vissarionov">gremlin</who>
    <bug_when>2017-06-27 13:01:51 +0300</bug_when>
    <thetext>%build
%ifarch x86_64
export CFLAGS=&quot;-march=core2 -mtune=sandybridge -mssse3&quot;
%endif
%make_build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164940</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-07-31 12:28:52 +0300</bug_when>
    <thetext>streebog-0.11-alt2.git8de633e -&gt; sisyphus:

Mon Jul 31 2017 Andrey Cherepanov &lt;cas@altlinux.org&gt; 0.11-alt2.git8de633e
- Set compatibility flags (ALT #33592) Solution is supplied by gremlin@</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164956</commentid>
    <comment_count>5</comment_count>
    <who name="Дмитрий Державин">dd</who>
    <bug_when>2017-08-01 13:48:48 +0300</bug_when>
    <thetext>$ rpm -qv streebog
streebog-0.11-alt2.git8de633e
$ gost3411-2012 -t
M1: 012345678901234567890123456789012345678901234567890123456789012
zsh: illegal hardware instruction  gost3411-2012 -t</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164988</commentid>
    <comment_count>6</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-08-02 14:43:25 +0300</bug_when>
    <thetext>(В ответ на комментарий №5)
&gt; $ rpm -qv streebog
&gt; streebog-0.11-alt2.git8de633e
&gt; $ gost3411-2012 -t
&gt; M1: 012345678901234567890123456789012345678901234567890123456789012
&gt; zsh: illegal hardware instruction  gost3411-2012 -t
Покажи свой

cat /proc/cpuinfo | grep ^flags | uniq</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164989</commentid>
    <comment_count>7</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-08-02 14:44:36 +0300</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; (В ответ на комментарий №5)
&gt; &gt; $ rpm -qv streebog
&gt; &gt; streebog-0.11-alt2.git8de633e
&gt; &gt; $ gost3411-2012 -t
&gt; &gt; M1: 012345678901234567890123456789012345678901234567890123456789012
&gt; &gt; zsh: illegal hardware instruction  gost3411-2012 -t
&gt; Покажи свой
&gt; 
&gt; cat /proc/cpuinfo | grep ^flags | uniq
Ой, уже есть. Прощу прощения.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166369</commentid>
    <comment_count>8</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-10-16 17:28:09 +0300</bug_when>
    <thetext>streebog-0.11-alt3.git8de633e -&gt; sisyphus:

Mon Oct 16 2017 Andrey Cherepanov &lt;cas@altlinux.org&gt; 0.11-alt3.git8de633e
- Completely fix for AMD CPUs (ALT #33592)
- Package man page</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166390</commentid>
    <comment_count>9</comment_count>
    <who name="Дмитрий Державин">dd</who>
    <bug_when>2017-10-18 15:31:28 +0300</bug_when>
    <thetext>Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>