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

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

    <bug>
          <bug_id>45583</bug_id>
          
          <creation_ts>2023-03-19 07:48:36 +0300</creation_ts>
          <short_desc>openssl1.1: не собирается на LoongArch</short_desc>
          <delta_ts>2023-05-15 19:50:25 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>openssl1.1</component>
          <version>unstable</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>45802</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Sheplyakov">asheplyakov</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>asheplyakov</cc>
    
    <cc>glebfm</cc>
    
    <cc>iv</cc>
    
    <cc>nir</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>223020</commentid>
    <comment_count>0</comment_count>
      <attachid>12762</attachid>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-03-19 07:48:36 +0300</bug_when>
    <thetext>Created attachment 12762
патч для spec

Executing(%build): /bin/sh -e /tmp/rpm-tmp.ONOL2d
+ umask 022
+ /bin/mkdir -p /home/loongson/RPM/BUILD
+ cd /home/loongson/RPM/BUILD
+ cd openssl-1.1.1t
+ ADD_ARGS=linux-loongarch64
+ echo &apos;extern __uint128_t i;&apos;
+ gcc -O2 -g -Werror -c -o/dev/null -xc -
+ ADD_ARGS=&apos;enable-ec_nistp_64_gcc_128 linux-loongarch64&apos;
+ ./Configure shared --prefix=/usr --libdir=lib64 --openssldir=/var/lib/ssl --system-ciphers-file=/etc/openssl/cipher-list.conf enable-egd enable-
md2 enable-rfc3779 enable-ssl3 zlib enable-ec_nistp_64_gcc_128 linux-loongarch64 -O2 -g -fno-strict-aliasing -Wa,--noexecstack
Usage: Configure [no-&lt;cipher&gt; ...] [enable-&lt;cipher&gt; ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[
no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--system-ciphers-file=SYSTEMCIPHERFILE] [--with-xx
x[=vvv]] [--config=FILE] os/compiler[:flags]

pick os/compiler from:
BS2000-OSD BSD-aarch64 BSD-generic32 BSD-generic64 BSD-ia64 BSD-riscv64 
BSD-sparc64 BSD-sparcv8 BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-i386 
Cygwin-i486 Cygwin-i586 Cygwin-i686 Cygwin-x86 Cygwin-x86_64 DJGPP MPE/iX-gcc 
UEFI UWIN VC-CE VC-WIN32 VC-WIN32-ARM VC-WIN32-ONECORE VC-WIN64-ARM VC-WIN64A 
VC-WIN64A-ONECORE VC-WIN64A-masm VC-WIN64I aix-cc aix-gcc aix64-cc aix64-gcc 
android-arm android-arm64 android-armeabi android-mips android-mips64 
android-x86 android-x86_64 android64 android64-aarch64 android64-mips64 
android64-x86_64 bsdi-elf-gcc cc darwin-i386-cc darwin-ppc-cc 
darwin64-arm64-cc darwin64-ppc-cc darwin64-x86_64-cc gcc haiku-x86 
haiku-x86_64 hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-gcc 
hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux64-ia64-cc hpux64-ia64-gcc 
hpux64-parisc2-cc hpux64-parisc2-gcc hurd-x86 ios-cross ios-xcrun ios64-cross 
ios64-xcrun iossimulator-xcrun iphoneos-cross irix-mips3-cc irix-mips3-gcc 
irix64-mips4-cc irix64-mips4-gcc linux-aarch64 linux-alpha-gcc linux-aout 
linux-arm64ilp32 linux-armv4 linux-c64xplus linux-elf linux-generic32 
linux-generic64 linux-ia64 linux-mips32 linux-mips64 linux-ppc linux-ppc64 
linux-ppc64le linux-sparcv8 linux-sparcv9 linux-x32 linux-x86 linux-x86-clang 
linux-x86_64 linux-x86_64-clang linux32-s390x linux64-loongarch64 
linux64-mips64 linux64-riscv64 linux64-s390x linux64-sparcv9 mingw mingw64 
nextstep nextstep3.3 sco5-cc sco5-gcc solaris-sparcv7-cc solaris-sparcv7-gcc 
solaris-sparcv8-cc solaris-sparcv8-gcc solaris-sparcv9-cc solaris-sparcv9-gcc 
solaris-x86-gcc solaris64-sparcv9-cc solaris64-sparcv9-gcc solaris64-x86_64-cc 
solaris64-x86_64-gcc tru64-alpha-cc tru64-alpha-gcc uClinux-dist 
uClinux-dist64 unixware-2.0 unixware-2.1 unixware-7 unixware-7-gcc vms-alpha 
vms-alpha-p32 vms-alpha-p64 vms-ia64 vms-ia64-p32 vms-ia64-p64 vos-gcc 
vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug 
vxworks-ppc860 vxworks-ppcgen vxworks-simlinux 

NOTE: If in doubt, on Unix-ish systems use &apos;./config&apos;.
Configuring OpenSSL version 1.1.1t (0x1010114fL) for linux-loongarch64
Using os-specific seed configuration
error: Bad exit status from /tmp/rpm-tmp.ONOL2d (%build)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>225879</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-05-15 19:50:25 +0300</bug_when>
    <thetext>openssl1.1-1.1.1t-alt2 -&gt; sisyphus:

 Mon May 15 2023 Gleb F-Malinovskiy &lt;glebfm@altlinux&gt; 1.1.1t-alt2
 - Updated from upstream OpenSSL_1_1_1-stable branch (fixes CVE-2023-0464,
   CVE-2023-0465, CVE-2023-0466).
 - spec: Added support for loongarch64 architecture (ALT#45583)
   (thx Alexey Sheplyakov).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>12762</attachid>
            <date>2023-03-19 07:48:36 +0300</date>
            <delta_ts>2023-03-19 07:48:36 +0300</delta_ts>
            <desc>патч для spec</desc>
            <filename>openssl1.1-spec-loongarch64.diff</filename>
            <type>text/plain</type>
            <size>360</size>
            <attacher name="Alexey Sheplyakov">asheplyakov</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL29wZW5zc2wuc3BlYyBiL29wZW5zc2wuc3BlYwppbmRleCAwN2IyOGMzZi4u
YjExYTZjNDEgMTAwNjQ0Ci0tLSBhL29wZW5zc2wuc3BlYworKysgYi9vcGVuc3NsLnNwZWMKQEAg
LTI3OSw2ICsyNzksOSBAQCBBRERfQVJHUz1saW51eDY0LW1pcHM2NAogJWlmYXJjaCByaXNjdjY0
ICVlMmsKIEFERF9BUkdTPWxpbnV4LWdlbmVyaWM2NAogJWVuZGlmCislaWZhcmNoIGxvb25nYXJj
aDY0CitBRERfQVJHUz1saW51eDY0LWxvb25nYXJjaDY0CislZW5kaWYKIAogaWYgZWNobyAnZXh0
ZXJuIF9fdWludDEyOF90IGk7JyB8CiAgICBnY2MgJW9wdGZsYWdzIC1XZXJyb3IgLWMgLW8vZGV2
L251bGwgLXhjIC07IHRoZW4K
</data>

          </attachment>
      

    </bug>

</bugzilla>