From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 04:42:23 2020 Received: (at submit) by debbugs.gnu.org; 28 May 2020 08:42:23 +0000 Received: from localhost ([127.0.0.1]:50939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeE7G-00061f-6t for submit@debbugs.gnu.org; Thu, 28 May 2020 04:42:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:46784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeE76-00061L-GD for submit@debbugs.gnu.org; Thu, 28 May 2020 04:42:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeE76-0006qj-8i for guix-patches@gnu.org; Thu, 28 May 2020 04:42:08 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:61672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeE71-0008Cz-Nk for guix-patches@gnu.org; Thu, 28 May 2020 04:42:07 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1590655326; h=Content-Type: MIME-Version: Message-Id: Subject: From: To: Date: Sender; bh=eB+hCzmksidUW1Ioid09WjC7cO0iFuUnU//wJNESm3o=; b=LPuiXnLHW3qVMb5AgbhenxODCPTBbW22W9kWyf98EFXGyGROI1RM3/t8nLiSE8lSmrVpoE+S 2yDBDc/shjZBMkNxEYPtLP7FenPrEuE5ZCz1nwUjmfEM84rOZg1Gk3/WT6IuSNThpr3aljgb FC2k0EAIO3DGdR+gn2wbY8pTPj9ICj8dG4885YHg/2H9PDedIzp1WhAZtiYYpaVMaGRTAGWu JhwdQzzH+rLAiSKoHitXeJhnyVpjA9q1prRmbt823WUXDxTruhharzTGAlWhiQgtAh9NCxzv suHX8Vy4PUHltjbujU6m89bRxfaZRebxoSQvbpFL+HLjgQ8XJA9WSg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5MmEzMyIsICJndWl4LXBhdGNoZXNAZ251Lm9yZyIsICIwODU0N2EiXQ== Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 5ecf7955b65440fdba4e9a70 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Thu, 28 May 2020 08:41:57 GMT Received: from localhost (KD111239205253.au-net.ne.jp [111.239.205.253]) by wilsonb.com (Postfix) with ESMTPSA id CDD3AA1A90 for ; Thu, 28 May 2020 08:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1590655315; bh=eB+hCzmksidUW1Ioid09WjC7cO0iFuUnU//wJNESm3o=; h=Date:To:From:Subject:From; b=6r1R4nnBisDNquDbHn1lnX+2c87Ia/PoFL2291fuS8hf44mnZoiwrYwCgWVotB7yV pKFGtaw+K6fj0ij0VzzEId6/f1/GZKaoXy6BYFLlmeKbBFdZUlg8zXT0QlLjfLveBW IecNtGNGMUkzQRecwY5boqON3zUcbhfv23s32mSUuMuhFCjMfxlUKOr4n3EAsK84iz Wqju2nezLEPFIZMCrvtpTrXGe8oDgFajh2xhGH/cS+im+No89QyLsqLbOOLa5wHULx 4fQl01AxA+/+CAe8XvgPuaDYC1ctFWzg0KS4wWgsML+5cNPogiCDNcv3e0VZm4ncU/ UoBzFAxwRaVhTMiOmdC73P7/pvGSMcODypallTELr9pALZcGyA4+Mqv9tiZawHnRhR wRMiA7cqn4T7/mtjLX+tSSVkar+sCoJPjSIRF88ewBSGrnfrqjiajLZJAUviw5lL76 H4lvkP51QLgoKCWqluhQUIRlG+nW210T3PdHu6uT/O4vKB+LAcNn8BbPfzrywkijKM gaZza1rNrO84OO/vKy0XEMjqVDQDlodOnkHu5ZKd1T3zgDXcxn0m8GAS5wHJYL2hnX n6lwGoQ10hydCGP+ARpL1eekxk93gIV/zDyDq9ir3i0ExA7+WmWKD7DvvwBJAb9i9c PqqIlxmpnpudDjFAjeJx5DOU= Date: Thu, 28 May 2020 17:41:52 +0900 To: guix-patches@gnu.org From: elaexuotee@wilsonb.com Subject: gnu: Add xed. Message-Id: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_3bf9cb31526e4d2309e7e07d_=_" Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+686de0.08547a-guix-patches=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/28 04:42:02 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multipart message in MIME format. ------_=_3bf9cb31526e4d2309e7e07d_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_2041dc90477c349e081b5504_=_" This is a multipart message in MIME format. ------_=_2041dc90477c349e081b5504_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch packages up Intel's X86 Encoder and Decoder library and associat= ed cli tool "examples." A few things of note: 1) The build uses Intel's custom Python build tool `mbuild' so we have to manually handle the main build phases. We may need to add explicit optio= ns to the build script invocation so that build variables (e.g. CFLAGS etc.= ) propogate correctly. These don't look to be set in the environment, so w= hat variables should we pick be picking up and from where? 2) The group of tests under `tests/tests-avx512pf' seems to be failing. A u= ser on the irc channel also cross-checked for me and confirmed the same. Thi= s program isn't actually *executing* the avx instructions, so I don't thin= k the failing test are specific to the executing cpu. Anyway, I opted to l= eave this test in the source commented out. 3) The commands provided by the `out' output are pretty poorly documented a= nd have dumb names. I suspose this is becase the utilities are branded as j= ust "examples" of using the library. Anyway, this is a case where the only reasonable documentation is the source code, so I provide that for the utilities in the `doc' output. 4) Finally, the `devel' output supplies the library and headers proper. 5) The package name `xed' potentially collides with the package from http://xed.sourceforge.net/. We don't currently have the latter yet, but= I mention this just in case there is a good way to proactively handle this= up front. Thoughts? I threw this together just because I wanted it myself but figured= it's worth sharing. ------_=_2041dc90477c349e081b5504_=_ Content-Disposition: attachment; filename=0001-gnu-Add-xed.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom 9ec113c2bfed745ffe28bdbc4510fa799bea5199 Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Thu, 28 May 2020 07:32:28 +0900 =53ubject: [PATCH] gnu: Add xed. =54o: guix-patches@gnu.org =0A* gnu/packages/assembly.scm (xed): New variable. =2D-- =20gnu/packages/assembly.scm | 92 +++++++++++++++++++++++++++++++++++++++ =201 file changed, 92 insertions(+) =0Adiff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm =69ndex c775603445..f0293fe54d 100644 =2D-- a/gnu/packages/assembly.scm =2B++ b/gnu/packages/assembly.scm =40@ -8,6 +8,7 @@ =20;;; Copyright =C2=A9 2019 Andy Tai =20;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka = =0A ;;; Copyright =C2=A9 2020 Christopher Lemmer Webber =2B;;; Copyright =C2=A9 2020 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -371,3 +372,94 @@ It understands mnemonics and generates code for NMOS= =206502s (such =20as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), =20 CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.") =20 (license license:gpl2))) =2B =2B(define-public xed =2B (package =2B (name "xed") =2B (version "11.2.0") =2B (source =2B (origin =2B (method url-fetch) =2B (uri (string-append "https://github.com/intelxed/xed/archive/" =2B version ".tar.gz")) =2B (sha256 =2B (base32 "1dl23wxz0dlkbcw6k78njnz2yc8a8yr4lp979sd9x1lnz74malvi"))= =0A+ (file-name (string-append name "-" version ".tar.gz")))) =2B (build-system gnu-build-system) =2B (native-inputs =2B `(("python-2" ,python-2) =2B ("python-3" ,python-3) =2B ("mbuild" =2B ,(let ((name "mbuild") =2B (version "0.2496")) =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/mbuild.git") =2B (commit "5304b94361fccd830c0e2417535a866b79c1c297")))= =0A+ (sha256 =2B (base32 =2B "0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) =2B (file-name (git-file-name name version))))))) =2B (arguments =2B `(#:phases =2B ;; Upstream uses the custom Python build tool `mbuild', so we mun= =67e =2B ;; gnu-build-system to fit. The build process for this package i= =73 =2B ;; documented at https://intelxed.github.io/build-manual/. =2B (let* ((build-dir "build") =2B (kit-dir "kit")) =2B (modify-phases %standard-phases =2B (delete 'configure) =2B (replace 'build =2B (lambda* (#:key inputs #:allow-other-keys) =2B (let ((mbuild (assoc-ref inputs "mbuild"))) =2B ;; The build system requires that `mbuild' be in a sibl= =69ng =2B ;; directory to the project's source. =2B (symlink mbuild "../mbuild") =2B (invoke "./mfile.py" =2B (string-append "--build-dir=3D" build-dir) =2B (string-append "--install-dir=3D" kit-dir) =2B "examples" =2B "doc" =2B "install")))) =2B (replace 'check =2B (lambda _ =2B (invoke "tests/run-cmd.py" =2B (string-append "--build-dir=3D" kit-dir "/bin") =2B "--tests" "tests/tests-base" =2B "--tests" "tests/tests-avx512" =2B ; "--tests" "tests/tests-avx512pf" ; Broken =2B "--tests" "tests/tests-cet" =2B "--tests" "tests/tests-via" =2B "--tests" "tests/tests-syntax" =2B "--tests" "tests/tests-xop"))) =2B (replace 'install =2B (lambda* (#:key outputs #:allow-other-keys) =2B (let* ((out (assoc-ref outputs "out")) =2B (doc (assoc-ref outputs "doc")) =2B (devel (assoc-ref outputs "devel")) =2B (pkg (strip-store-file-name out))) =2B (copy-recursively (string-append kit-dir "/bin") =2B (string-append out "/bin")) =2B (copy-recursively (string-append kit-dir "/examples") =2B (string-append doc "/share/doc/" pkg =2B "/examples")) =2B (copy-recursively (string-append kit-dir "/include") =2B (string-append devel "/include")) =2B (copy-recursively (string-append kit-dir "/lib") =2B (string-append devel "/lib"))))))))) =2B (outputs '("out" "devel" "doc")) =2B (home-page "https://intelxed.github.io/") =2B (synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructio= =6Es") =2B (description "The X86 Encoder Decoder (XED) is a software library an= =64 =2Bfor encoding and decoding X86 (IA32 and Intel64) instructions. The deco= =64er =2Btakes sequences of 1-15 bytes along with machine mode information and pr= =6Fduces =2Ba data structure describing the opcode, operands, and flags. The encode= =72 takes =2Ba similar data structure and produces a sequence of 1 to 15 bytes. Disa= =73sembly =2Bis essentially a printing pass on the data structure. =2B =2BThe default output contains a family of command line wrappers @code{xed*= =7D =2Baround the library with the development files themselves in the @code{de= =76el} =2Boutput. See the @code{doc} output for documentation and examples about = =74he =2Blibrary, including the source code to the @code{xed*} utilities.") =2B (license license:asl2.0))) =2D-=20 =32.26.2 =0A= ------_=_2041dc90477c349e081b5504_=_-- ------_=_3bf9cb31526e4d2309e7e07d_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXs95RxccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7Cgc3qAPwJHpueG807vKb1wFIpzm/yeUMm fF82kVjGIUhNHDssigEA54YnR0scSCnSRaQOnjpgK+9KjX0V6ywbsQr+T8kuGQY= =jFUs -----END PGP SIGNATURE----- ------_=_3bf9cb31526e4d2309e7e07d_=_-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 30 00:16:58 2020 Received: (at 41574) by debbugs.gnu.org; 30 May 2020 04:16:58 +0000 Received: from localhost ([127.0.0.1]:56657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jesvU-0002jV-2e for submit@debbugs.gnu.org; Sat, 30 May 2020 00:16:58 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:22966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jesvQ-0002jH-E3 for 41574@debbugs.gnu.org; Sat, 30 May 2020 00:16:50 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1590812209; h=Content-Type: MIME-Version: Message-Id: Subject: From: To: Date: Sender; bh=Q4APbAe1ICOEdjRyp8PaAOtpKdGoFG/gMfziaQW/hU0=; b=Coa3Vdg6LVGXpS194KQY8zshpVqtmcbhB6taOTuENs4XwSipC21S7aAWbipqHcbFQ9sy5YNh ukof8UxrTv+NSdcYFyppio010dQ9sq4mfyDAIWa3EC+EvUMMiZs8JMH7OmbfM/iwiJcWbE/+ M+NAlbFAZzZvCWbqkKds7k1bMqAtk24a52x2XmXR72YxXNscp5IDJQ5z8duiX1sRcnZk1wwA JfWysgKUIiDLiTYJc6EirrSnxXUwIVo+CsaEBh3KpRLeEBMjP/RQSNuSKy3LoNe+pDqO9KEv nxaBh/gAP03Pwx+MrHgOujww4MFBIPDoIhQZCd3aDwnS0n2dY0uscw== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIwYzVjZiIsICI0MTU3NEBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n09.prod.us-west-2.postgun.com with SMTP id 5ed1de294776d1da6d1a6781 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sat, 30 May 2020 04:16:41 GMT Received: from localhost (KD111239193156.au-net.ne.jp [111.239.193.156]) by wilsonb.com (Postfix) with ESMTPSA id 83297A280A for <41574@debbugs.gnu.org>; Sat, 30 May 2020 04:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1590812199; bh=Q4APbAe1ICOEdjRyp8PaAOtpKdGoFG/gMfziaQW/hU0=; h=Date:To:From:Subject:From; b=We3ZKjoIJxXda8UGqD6X3SrITcvqaHBdv/6x1Bmq94f4l/1scwFZyvt4fGUTeic5T RbJnPBVqAEiKKASoZY/4AKbKyWhUdtU8KD0AJnON21/MsiX9/R+M+0uHvZdSIf+nk0 426x8AaNHe5lU4oBVZIjifahTsB8CYDQ9KSkwBl0i/3mOsezaz8F5wXSFuUZDO1siW o0TBg7ovOp6myvljO6AFdHHnvukzaU+ROhkkZm1RbiS7gfFgNfwklijIGdA3BxxwWs dxPSv59BBnV9prhx7p1MsLaL8vfdx/2zwf1wZrOqPaLRj7FJ+Za6Bdst53OeAsq80y MhS9/5E1DBmiaB3hzOu5XXf2cQLozDw8sRWhjtJmxLoqkkFCEJTAsb2vtSeLn+EJSE WRd7rG6CNaH4O3/M/6sC6XOibposMjfFHpU+iGnU4d+6oqwsDmxAyMM9ChZXVh6cLK MkQj2WgRoNOi2571PGNSJMSvgiMR8wFP+WsQekH/UMEQ8z4nr0vsb/IlRKq7ufqIpz PyWvvnPsKLkIvtZnQXDz3xZ7R6N6zvBH7Fw6lFiVgpmEZ5/U2I1Gf9lUNGR+f7RveC k20gNirdUP76850tq7NnuWQnXUBaHVkMRR0/4Y99tJMneVqmJAKSFDD4xhKGYpxJKy khOy8TNddeyirXcIHZW3vwZE= Date: Sat, 30 May 2020 13:16:34 +0900 To: 41574@debbugs.gnu.org From: elaexuotee@wilsonb.com Subject: Re: gnu: Add xev. Message-Id: <2QH9MCU253SH7.2JDM9LTPYXMEC@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_50cadf256dfcbeb54268fb64_=_" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41574 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_50cadf256dfcbeb54268fb64_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_6abcf16664494f0c2d36ec6a_=_" This is a multipart message in MIME format. ------_=_6abcf16664494f0c2d36ec6a_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Updated patch to fix three issues: 1) Change output name `doc' to `src' and install under src/-= /, 2) Change output name `devel' to `lib', and 3) Delete extraneous *.py files from `lib' output. However, in the course of the above, I ran into an issue with a non-deterministic build. For now I'm sharing the current state of the patch= but am looking into fixing the determinism. ------_=_6abcf16664494f0c2d36ec6a_=_ Content-Disposition: attachment; filename=0001-gnu-Add-xed.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom 4a4073c3b7ba588ab65c406d018336524a4c29b9 Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Thu, 28 May 2020 07:32:28 +0900 =53ubject: [PATCH] gnu: Add xed. =0A* gnu/packages/assembly.scm (xed): New variable. =2D-- =20gnu/packages/assembly.scm | 96 +++++++++++++++++++++++++++++++++++++++ =201 file changed, 96 insertions(+) =0Adiff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm =69ndex c775603445..0af9f2a237 100644 =2D-- a/gnu/packages/assembly.scm =2B++ b/gnu/packages/assembly.scm =40@ -8,6 +8,7 @@ =20;;; Copyright =C2=A9 2019 Andy Tai =20;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka = =0A ;;; Copyright =C2=A9 2020 Christopher Lemmer Webber =2B;;; Copyright =C2=A9 2020 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,7 @@ =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages python) =20 #:use-module (gnu packages sphinx) =2B #:use-module (gnu packages shells) =20 #:use-module (gnu packages xml) =20 #:use-module ((guix utils) =20 #:select (%current-system))) =40@ -371,3 +373,97 @@ It understands mnemonics and generates code for NMOS= =206502s (such =20as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), =20 CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.") =20 (license license:gpl2))) =2B =2B(define-public xed =2B (package =2B (name "xed") =2B (version "11.2.0") =2B (source =2B (origin =2B (method url-fetch) =2B (uri (string-append "https://github.com/intelxed/xed/archive/" =2B version ".tar.gz")) =2B (sha256 =2B (base32 "1dl23wxz0dlkbcw6k78njnz2yc8a8yr4lp979sd9x1lnz74malvi"))= =0A+ (file-name (string-append name "-" version ".tar.gz")))) =2B (build-system gnu-build-system) =2B (native-inputs =2B `(("python-2" ,python-2) =2B ("python-3" ,python-3) =2B ("tcsh" ,tcsh) =2B ("mbuild" =2B ,(let ((name "mbuild") =2B (version "0.2496")) =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/mbuild.git") =2B (commit "5304b94361fccd830c0e2417535a866b79c1c297")))= =0A+ (sha256 =2B (base32 =2B "0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) =2B (file-name (git-file-name name version))))))) =2B (outputs '("out" "lib" "src")) =2B (arguments =2B `(#:phases =2B ;; Upstream uses the custom Python build tool `mbuild', so we mun= =67e =2B ;; gnu-build-system to fit. The build process for this package i= =73 =2B ;; documented at https://intelxed.github.io/build-manual/. =2B (let* ((build-dir "build") =2B (kit-dir "kit")) =2B (modify-phases %standard-phases =2B (delete 'configure) =2B (replace 'build =2B (lambda* (#:key inputs #:allow-other-keys) =2B (let ((mbuild (assoc-ref inputs "mbuild"))) =2B ;; The build system requires that `mbuild' be in a sibl= =69ng =2B ;; directory to the project's source. =2B (symlink mbuild "../mbuild") =2B (invoke "./mfile.py" =2B (string-append "--build-dir=3D" build-dir) =2B (string-append "--install-dir=3D" kit-dir) =2B "examples" =2B "doc" =2B "install")))) =2B (replace 'check =2B (lambda _ =2B (invoke "tests/run-cmd.py" =2B ;; Skip broken test group `tests/tests-avx512pf'.= =0A+ (string-append "--build-dir=3D" kit-dir "/bin") =2B "--tests" "tests/tests-base" =2B "--tests" "tests/tests-avx512" =2B "--tests" "tests/tests-cet" =2B "--tests" "tests/tests-via" =2B "--tests" "tests/tests-syntax" =2B "--tests" "tests/tests-xop"))) =2B (replace 'install =2B (lambda* (#:key outputs #:allow-other-keys) =2B (let* ((out (assoc-ref outputs "out")) =2B (lib (assoc-ref outputs "lib")) =2B (src (assoc-ref outputs "src")) =2B (pkg (strip-store-file-name out)) =2B (src-dir (string-append src "/src/" pkg "/examples= =22))) =2B (copy-recursively (string-append kit-dir "/bin") =2B (string-append out "/bin")) =2B (copy-recursively (string-append kit-dir "/examples") s= =72c-dir) =2B (copy-recursively (string-append kit-dir "/include") sr= =63-dir) =2B ;; Discard residual build system files. =2B (for-each delete-file (find-files src-dir "\\.py$")) =2B (copy-recursively (string-append kit-dir "/include") =2B (string-append lib "/include")) =2B (copy-recursively (string-append kit-dir "/lib") =2B (string-append lib "/lib"))))))))) =2B (home-page "https://intelxed.github.io/") =2B (synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructio= =6Es") =2B (description "The X86 Encoder Decoder (XED) is a software library an= =64 =2Bfor encoding and decoding X86 (IA32 and Intel64) instructions. The deco= =64er =2Btakes sequences of 1-15 bytes along with machine mode information and pr= =6Fduces =2Ba data structure describing the opcode, operands, and flags. The encode= =72 takes =2Ba similar data structure and produces a sequence of 1 to 15 bytes. Disa= =73sembly =2Bis essentially a printing pass on the data structure. =2B =2BThe library and development files are under the @code{lib} output, with = =61 =2Bfamily of command line utility wrappers in the default output. Each of = =74he cli =2Btools is named like @code{xed*}. Documentation for the cli tools is spa= =72se, so =2Bsee the @code{src} output for the corresponding source code.") =2B (license license:asl2.0))) =2D-=20 =32.26.2 =0A= ------_=_6abcf16664494f0c2d36ec6a_=_-- ------_=_50cadf256dfcbeb54268fb64_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXtHeHBccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7CgXiMAP9KJMZP9bzAloOJPeMpWc9aBxfL N9gXJwf4qgPMS445LQD+PKPe12AGx+OqIW21pMFc+yrvPILzvryAhq0n5QxR+Qw= =VbWF -----END PGP SIGNATURE----- ------_=_50cadf256dfcbeb54268fb64_=_-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 03 06:34:10 2020 Received: (at 41574) by debbugs.gnu.org; 3 Jun 2020 10:34:10 +0000 Received: from localhost ([127.0.0.1]:42105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgQia-0005VL-KG for submit@debbugs.gnu.org; Wed, 03 Jun 2020 06:34:10 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:30157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgQiS-0005Uw-KP for 41574@debbugs.gnu.org; Wed, 03 Jun 2020 06:33:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1591180432; h=Content-Type: MIME-Version: Message-Id: Subject: From: To: Date: Sender; bh=afZx2aFeerM3Jj6gcD/eJej5kPzaaUJKTq2yKrp7AFk=; b=lpkR3hqpKOEwMv00OWtykk2920GYBtjFNpH+qnjYHCIkIfngW+/MkP/pyFujLJ9Ce7N8dH90 guI36t3zWToGYEskvxZHhAtBQqlnUo4taskd5cOoEtqmYuERCb2SuxSm0fuimyar4/rFQr7X v9hpEToX3lTESPCVb7JaWV2dNoqQo5h/yFvwoIb0vK0f4+RlIX2AOAckuZGMMNhTnu7Z6YwA 3TgGutifgPCG+AJTzBuYm5mxvOljuKLhR09vvoUx43jj+SrOAXIloY6533vu20mIhYPWUflA lt5Iai02zIeQu9D55gQMjgrHcaow4wrMHdzi/LwcvQO9J0L5DKkuPg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIwYzVjZiIsICI0MTU3NEBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n11.prod.us-west-2.postgun.com with SMTP id 5ed77c7b46d39fc0a2e608d9 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Wed, 03 Jun 2020 10:33:31 GMT Received: from localhost (KD111239210008.au-net.ne.jp [111.239.210.8]) by wilsonb.com (Postfix) with ESMTPSA id 547F3A2107 for <41574@debbugs.gnu.org>; Wed, 3 Jun 2020 10:33:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1591180408; bh=afZx2aFeerM3Jj6gcD/eJej5kPzaaUJKTq2yKrp7AFk=; h=Date:To:From:Subject:From; b=Ol7Pio1liZtQiY9v5zBvVh5glHRM67ovHfWH39OMEvjAFNLJntRIeojajkKAkjpk8 h7nJ6Xw0dUchRVnohA7h124hPXp5lNeoZHTO7V8wR4FjtV7K+RLa5mrdtvQu+dwFNZ des64rqGFd+wyF1N1CELLVtVWfo3z4LWlW28KlnajKhi8764DWNDEBDiny6Qn6RpjV PZQAcjmrGjr9c62nmiB58uYHWRsRNqE1S8/04DThf7+eGaIecQ31QFlGuVPbPtHAwI BY2k6bpa4Abp8lhvjD3MQU8jATEK0Eq2sn2yfN8YXEtSnBP1o5E6Kb4ZhJVTtSObVu E8LtsNVq/6/2LVD4ymNUw2BPOQ/SX+wDPmiWOcLrwa5QuXvZWLWO1MbY35KKYeaXGt 9cgLeSx8aj/0y3M5SMmW7MR3xqcHntaG2LzvTWWaGqV3CEShuvcDyzh7VbJLgJHoF1 FohQMFDn0OtwbHVtOL/sJMW6U49FjcQECByDva4LTe/3P+FmFk9oxFU7romShyeDsF TAzAoM+qYxjlqGrkrtE9O8PRRoFaZ8s/V0Xn1KFWRrbDFL/MPIO4tkXZ9jYwimqi86 ciZ/fDx9/z9eWlf98vNQMIT2z5Fn0lxsmLPsbqJCgRKMaWuh6Ym4ZRfp5yK/GUoh3D Y15EilvAKqWv3z4aU5RtrQ4k= Date: Wed, 03 Jun 2020 19:33:25 +0900 To: 41574@debbugs.gnu.org From: elaexuotee@wilsonb.com Subject: gnu: Add intel-xev. Message-Id: <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_00da556e76a65e3410c5df32_=_" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41574 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_00da556e76a65e3410c5df32_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_06c4cc040de6496252ec1258_=_" This is a multipart message in MIME format. ------_=_06c4cc040de6496252ec1258_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch makes two main changes: 1) Fixes upstream's source of non-determinism! 2) Renames packages from `xed` to `intel-xed`, along with a few other minor improvements. ------_=_06c4cc040de6496252ec1258_=_ Content-Disposition: attachment; filename=0001-gnu-Add-intel-xed.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom 4e0d690a702fbfc983cf2d981d4f07f1eb79ede3 Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Thu, 28 May 2020 07:32:28 +0900 =53ubject: [PATCH] gnu: Add intel-xed. =54o: guix-patches@gnu.org =0A* gnu/packages/assembly.scm (intel-xed): New variable. =2D-- =20gnu/local.mk | 1 + =20gnu/packages/assembly.scm | 105 +++++++++++++++++- =20.../intel-xed-fix-nondeterminism.patch | 100 +++++++++++++++++ =203 files changed, 202 insertions(+), 4 deletions(-) =20create mode 100644 gnu/packages/patches/intel-xed-fix-nondeterminism.pat= =63h =0Adiff --git a/gnu/local.mk b/gnu/local.mk =69ndex babcb8f6ad..9cefb31235 100644 =2D-- a/gnu/local.mk =2B++ b/gnu/local.mk =40@ -1103,6 +1103,7 @@ dist_patch_DATA =3D \ =20 %D%/packages/patches/ilmbase-fix-test-arm.patch \ =20 %D%/packages/patches/inetutils-hurd.patch \ =20 %D%/packages/patches/inkscape-poppler-0.76.patch \ =2B %D%/packages/patches/intel-xed-fix-nondeterminism.patch \ =20 %D%/packages/patches/intltool-perl-compatibility.patch \ =20 %D%/packages/patches/irrlicht-use-system-libs.patch \ =20 %D%/packages/patches/isl-0.11.1-aarch64-support.patch \ =64iff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm =69ndex c9582bc596..c78400f5fc 100644 =2D-- a/gnu/packages/assembly.scm =2B++ b/gnu/packages/assembly.scm =40@ -8,6 +8,7 @@ =20;;; Copyright =C2=A9 2019 Andy Tai =20;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka = =0A ;;; Copyright =C2=A9 2020 Christopher Lemmer Webber =2B;;; Copyright =C2=A9 2020 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,7 @@ =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages python) =20 #:use-module (gnu packages sphinx) =2B #:use-module (gnu packages shells) =20 #:use-module (gnu packages xml) =20 #:use-module ((guix utils) =20 #:select (%current-system))) =40@ -149,14 +151,14 @@ to the clients.") =20(define-public fasm =20 (package =20 (name "fasm") =2D (version "1.73.24") =2B (version "1.73.22") =20 (source =20 (origin =20 (method url-fetch) =20 (uri (string-append "https://flatassembler.net/fasm-" =20 version ".tgz")) =20 (sha256 =2D (base32 "142vxhs8mh8isvlzq7ir0asmqda410phzxmk9gk9b43dldskkj7k"))= =29) =2B (base32 "1pb0rcfdsb0h89khjjrbikz5wjdllavj3ajim0rcyh7x12xr1hw5"))= =29) =20 (build-system gnu-build-system) =20 (arguments =20 `(#:tests? #f ; no tests exist =40@ -347,14 +349,14 @@ Supported architectures are: =20(define-public xa =20 (package =20 (name "xa") =2D (version "2.3.11") =2B (version "2.3.10") =20 (source (origin =20 (method url-fetch) =20 (uri (string-append "https://www.floodgap.com/retrotech/xa= =22 =20 "/dists/xa-" version ".tar.gz")) =20 (sha256 =20 (base32 =2D "0b81r7mvzqxgnbbmhixcnrf9nc72v1nqaw19k67221g3k561dwij"))= =29) =2B "0y5sd247g11jfk5msxy91hz2nhpy7smj125dzfyfhjsjnqk5nyw6"))= =29) =20 (build-system gnu-build-system) =20 (arguments =20 `(#:tests? #f ; TODO: custom test harness, not sure how it works =40@ -371,3 +373,98 @@ It understands mnemonics and generates code for NMOS= =206502s (such =20as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), =20 CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.") =20 (license license:gpl2))) =2B =2B(define-public intel-xed =2B (package =2B (name "intel-xed") =2B (version "11.2.0") =2B (source =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/xed.git") =2B (commit "40125558530137444b4ee6fd26b445bfa105b543"))) =2B (sha256 (base32 "1jffayski2gpd54vaska7fmiwnnia8v3cka4nfyzjgl8xsky= =39v2s")) =2B (file-name (git-file-name name version)) =2B (patches (search-patches "intel-xed-fix-nondeterminism.patch"))))= =0A+ (build-system gnu-build-system) =2B (native-inputs =2B `(("python-2" ,python-2) =2B ("python-3" ,python-3) =2B ("tcsh" ,tcsh) =2B ("mbuild" =2B ,(let ((name "mbuild") =2B (version "0.2496")) =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/mbuild.git") =2B (commit "5304b94361fccd830c0e2417535a866b79c1c297")))= =0A+ (sha256 =2B (base32 =2B "0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) =2B (file-name (git-file-name name version))))))) =2B (outputs '("out" "lib" "src")) =2B (arguments =2B `(#:phases =2B ;; Upstream uses the custom Python build tool `mbuild', so we mun= =67e =2B ;; gnu-build-system to fit. The build process for this package i= =73 =2B ;; documented at https://intelxed.github.io/build-manual/. =2B (let* ((build-dir "build") =2B (kit-dir "kit")) =2B (modify-phases %standard-phases =2B (delete 'configure) =2B (replace 'build =2B (lambda* (#:key inputs #:allow-other-keys) =2B (let ((mbuild (assoc-ref inputs "mbuild"))) =2B (setenv "PYTHONPATH" (string-append =2B (getenv "PYTHONPATH") ":" mbuild= =29) =2B (invoke "./mfile.py" =2B (string-append "--build-dir=3D" build-dir) =2B (string-append "--install-dir=3D" kit-dir) =2B "examples" =2B "doc" =2B "install")))) =2B (replace 'check =2B (lambda _ =2B (invoke "tests/run-cmd.py" =2B ;; Skip broken test group `tests/tests-avx512pf'.= =0A+ (string-append "--build-dir=3D" kit-dir "/bin") =2B "--tests" "tests/tests-base" =2B "--tests" "tests/tests-avx512" =2B "--tests" "tests/tests-cet" =2B "--tests" "tests/tests-via" =2B "--tests" "tests/tests-syntax" =2B "--tests" "tests/tests-xop"))) =2B (replace 'install =2B (lambda* (#:key outputs #:allow-other-keys) =2B (let* ((out (assoc-ref outputs "out")) =2B (lib (assoc-ref outputs "lib")) =2B (src (assoc-ref outputs "src")) =2B (pkg (strip-store-file-name out)) =2B (src-dir (string-append src "/src/" pkg "/examples= =22))) =2B (copy-recursively (string-append kit-dir "/bin") =2B (string-append out "/bin")) =2B (copy-recursively (string-append kit-dir "/examples") s= =72c-dir) =2B (copy-recursively (string-append kit-dir "/include") sr= =63-dir) =2B ;; Discard residual build system files. =2B (for-each delete-file (find-files src-dir "\\.py$")) =2B (copy-recursively (string-append kit-dir "/include") =2B (string-append lib "/include")) =2B (copy-recursively (string-append kit-dir "/lib") =2B (string-append lib "/lib")) =2B #t))))))) =2B (home-page "https://intelxed.github.io/") =2B (synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructio= =6Es") =2B (description "The Intel X86 Encoder Decoder (XED) is a software libr= =61ry and =2Bfor encoding and decoding X86 (IA32 and Intel64) instructions. The deco= =64er =2Btakes sequences of 1-15 bytes along with machine mode information and pr= =6Fduces =2Ba data structure describing the opcode, operands, and flags. The encode= =72 takes =2Ba similar data structure and produces a sequence of 1 to 15 bytes. Disa= =73sembly =2Bis essentially a printing pass on the data structure. =2B =2BThe library and development files are under the @code{lib} output, with = =61 =2Bfamily of command line utility wrappers in the default output. Each of = =74he cli =2Btools is named like @code{xed*}. Documentation for the cli tools is spa= =72se, so =2Bsee the @code{src} output for the corresponding source code.") =2B (license license:asl2.0))) =64iff --git a/gnu/packages/patches/intel-xed-fix-nondeterminism.patch b/gn= =75/packages/patches/intel-xed-fix-nondeterminism.patch =6Eew file mode 100644 =69ndex 0000000000..657f7e979d =2D-- /dev/null =2B++ b/gnu/packages/patches/intel-xed-fix-nondeterminism.patch =40@ -0,0 +1,100 @@ =2Bdiff --git a/pysrc/ild_codegen.py b/pysrc/ild_codegen.py =2Bindex 628ec45..a9bff79 100755 =2B--- a/pysrc/ild_codegen.py =2B+++ b/pysrc/ild_codegen.py =2B@@ -188,14 +188,14 @@ def gen_l2_func_list(agi, target_nt_dict, arg_nt_d= =69ct, =2B ild_t_member): =2B """generate L2 functions""" =2B l2_func_list =3D [] =2B- for (nt_name,array) in target_nt_dict.items(): =2B+ for (nt_name,array) in sorted(target_nt_dict.items()): =2B target_opname =3D array.get_target_opname() =2B if array.is_const_lookup_fun(): =2B fo =3D gen_const_l2_function(agi, nt_name, =2B target_opname, ild_t_member) =2B l2_func_list.append(fo) =2B else: =2B- for arg_nt_seq,arg_arr in arg_nt_dict.items(): =2B+ for arg_nt_seq,arg_arr in sorted(arg_nt_dict.items()): =2B fo =3D gen_scalable_l2_function(agi, nt_name, =2B target_opname, ild_t_member, arg_arr, list(arg_nt_= =73eq)) =2B l2_func_list.append(fo) =2Bdiff --git a/pysrc/ild_disp.py b/pysrc/ild_disp.py =2Bindex 942c036..cf80e29 100755 =2B--- a/pysrc/ild_disp.py =2B+++ b/pysrc/ild_disp.py =2B@@ -350,7 +350,8 @@ def work(agi, united_lookup, disp_nts, brdisp_nts, = =69ld_gendir, =2B disp_dict =3D _gen_l3_array_dict(agi, disp_nts, _disp_token) =2B=20 =2B =20 =2B- nt_arr_list =3D list(brdisp_dict.values()) + list(disp_dict.values(= =29) =2B+ nt_arr_list =3D ([v for (k,v) in sorted(brdisp_dict.items())] + =2B+ [v for (k,v) in sorted(disp_dict.items())]) =2B #create function that calls all initialization functions =2B init_f =3D ild_nt.gen_init_function(nt_arr_list, 'xed_ild_disp_l3_i= =6Eit') =2B =20 =2B@@ -367,7 +368,7 @@ def work(agi, united_lookup, disp_nts, brdisp_nts, = =69ld_gendir, =2B l2_functions =3D [] =2B eosz_op =3D ild_eosz.get_target_opname() =2B easz_op =3D ild_easz.get_target_opname() =2B- for nt_name,array in list(disp_dict.items()) + list(brdisp_dict.ite= =6Ds()): =2B+ for nt_name,array in sorted(disp_dict.items()) + sorted(brdisp_dict= =2Eitems()): =2B #Some DISP NTs depend on EOSZ, others on EASZ, we need to know =2B #that when we generate L2 functions =2B if eosz_op in array.get_arg_names(): =2Bdiff --git a/pysrc/ild_easz.py b/pysrc/ild_easz.py =2Bindex 02cd691..c53b9f2 100755 =2B--- a/pysrc/ild_easz.py =2B+++ b/pysrc/ild_easz.py =2B@@ -165,9 +165,10 @@ def work(agi, united_lookup, easz_nts, ild_gendir, = =64ebug): =2B return =2B nt_seq_arrays[tuple(nt_seq)] =3D array =2B #init function calls all single init functions for the created tabl= =65s =2B- init_f =3D ild_nt.gen_init_function(list(nt_seq_arrays.values()), =2B+ nt_seq_values =3D [v for (k,v) in sorted(nt_seq_arrays.items())] =2B+ init_f =3D ild_nt.gen_init_function(nt_seq_values, =2B 'xed_ild_easz_init') =2B- ild_nt.dump_lu_arrays(agi, list(nt_seq_arrays.values()), _easz_c_fn= =2C=20 =2B+ ild_nt.dump_lu_arrays(agi, nt_seq_values, _easz_c_fn,=20 =2B mbuild.join('include-private', _easz_header_f= =6E), =2B init_f) =2B getter_fos =3D [] =2Bdiff --git a/pysrc/ild_eosz.py b/pysrc/ild_eosz.py =2Bindex 6643bc3..89d2d89 100755 =2B--- a/pysrc/ild_eosz.py =2B+++ b/pysrc/ild_eosz.py =2B@@ -200,10 +200,11 @@ def work(agi, united_lookup, eosz_nts, ild_gendir,= =20debug): =2B return None =2B nt_seq_arrays[tuple(nt_seq)] =3D array =2B #init function calls all single init functions for the created tabl= =65s =2B- init_f =3D ild_nt.gen_init_function(list(nt_seq_arrays.values()),=20= =0A++ nt_seq_values =3D [v for (k,v) in sorted(nt_seq_arrays.items())] =2B+ init_f =3D ild_nt.gen_init_function(nt_seq_values,=20 =2B 'xed_ild_eosz_init') =2B #dump init and lookup functions for EOSZ sequences =2B- ild_nt.dump_lu_arrays(agi, list(nt_seq_arrays.values()), _eosz_c_fn= =2C =2B+ ild_nt.dump_lu_arrays(agi, nt_seq_values, _eosz_c_fn, =2B mbuild.join('include-private', _eosz_header_f= =6E), =2B init_f) =2B #generate EOSZ getter functions - they get xed_decoded_inst_t* =2Bdiff --git a/pysrc/ild_imm.py b/pysrc/ild_imm.py =2Bindex 51c413c..0530bae 100755 =2B--- a/pysrc/ild_imm.py =2B+++ b/pysrc/ild_imm.py =2B@@ -322,12 +322,14 @@ def work(agi, united_lookup, imm_nts, ild_gendir, = =65osz_dict, =2B level=3D'l3') =2B nt_dict[nt_name] =3D array =2B=20 =2B+ nt_dict_values =3D [v for (k,v) in sorted(nt_dict.items())] =2B+ =2B #create function that calls all initialization functions for L3 =2B- init_f =3D ild_nt.gen_init_function(list(nt_dict.values()), =2B+ init_f =3D ild_nt.gen_init_function(nt_dict_values, =2B 'xed_ild_imm_l3_init') =2B =20 =2B #dump L3 functions =2B- ild_nt.dump_lu_arrays(agi, list(nt_dict.values()), _l3_c_fn, =2B+ ild_nt.dump_lu_arrays(agi, nt_dict_values, _l3_c_fn, =2B mbuild.join('include-private',_l3_header_fn),= =0A+ init_f) =2B =20 =2D-=20 =32.27.0 =0A= ------_=_06c4cc040de6496252ec1258_=_-- ------_=_00da556e76a65e3410c5df32_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXtd8cxccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7Cgd/LAP9qKj8cmIPbU7yxfVYd5n6gsFy/ rtRcE4VYP6cWfRrGAwEAxF+mQ4OI6mIRMqMxmy4tkXNZ0YkJkqt83KVQW4CKuwo= =+3Mf -----END PGP SIGNATURE----- ------_=_00da556e76a65e3410c5df32_=_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 16:49:55 2020 Received: (at 41574) by debbugs.gnu.org; 22 Jun 2020 20:49:55 +0000 Received: from localhost ([127.0.0.1]:34682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnTO5-0001yz-23 for submit@debbugs.gnu.org; Mon, 22 Jun 2020 16:49:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnTNy-0001yi-UC for 41574@debbugs.gnu.org; Mon, 22 Jun 2020 16:49:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48805) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnTNt-0002YM-Cu; Mon, 22 Jun 2020 16:49:41 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:58602 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnTNs-0005aW-UB; Mon, 22 Jun 2020 16:49:41 -0400 From: Marius Bakke To: elaexuotee@wilsonb.com, 41574@debbugs.gnu.org Subject: Re: [bug#41574] gnu: Add intel-xev. In-Reply-To: <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> Date: Mon, 22 Jun 2020 22:49:38 +0200 Message-ID: <878sgebzbx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41574 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain elaexuotee--- via Guix-patches via writes: > This patch makes two main changes: > > 1) Fixes upstream's source of non-determinism! > 2) Renames packages from `xed` to `intel-xed`, > > along with a few other minor improvements. > > From 4e0d690a702fbfc983cf2d981d4f07f1eb79ede3 Mon Sep 17 00:00:00 2001 > From: "B. Wilson" > Date: Thu, 28 May 2020 07:32:28 +0900 > Subject: [PATCH] gnu: Add intel-xed. > To: guix-patches@gnu.org > > * gnu/packages/assembly.scm (intel-xed): New variable. > --- > gnu/local.mk | 1 + > gnu/packages/assembly.scm | 105 +++++++++++++++++- > .../intel-xed-fix-nondeterminism.patch | 100 +++++++++++++++++ > 3 files changed, 202 insertions(+), 4 deletions(-) > create mode 100644 gnu/packages/patches/intel-xed-fix-nondeterminism.patch [...] > @@ -149,14 +151,14 @@ to the clients.") > (define-public fasm > (package > (name "fasm") > - (version "1.73.24") > + (version "1.73.22") > (source > (origin > (method url-fetch) > (uri (string-append "https://flatassembler.net/fasm-" > version ".tgz")) > (sha256 > - (base32 "142vxhs8mh8isvlzq7ir0asmqda410phzxmk9gk9b43dldskkj7k")))) > + (base32 "1pb0rcfdsb0h89khjjrbikz5wjdllavj3ajim0rcyh7x12xr1hw5")))) > (build-system gnu-build-system) > (arguments > `(#:tests? #f ; no tests exist > @@ -347,14 +349,14 @@ Supported architectures are: > (define-public xa > (package > (name "xa") > - (version "2.3.11") > + (version "2.3.10") > (source (origin > (method url-fetch) > (uri (string-append "https://www.floodgap.com/retrotech/xa" > "/dists/xa-" version ".tar.gz")) > (sha256 > (base32 > - "0b81r7mvzqxgnbbmhixcnrf9nc72v1nqaw19k67221g3k561dwij")))) > + "0y5sd247g11jfk5msxy91hz2nhpy7smj125dzfyfhjsjnqk5nyw6")))) Were these two downgrades intended? I'm assuming no, since the new package don't appear to use them. [...] > +(define-public intel-xed > + (package > + (name "intel-xed") > + (version "11.2.0") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/intelxed/xed.git") > + (commit "40125558530137444b4ee6fd26b445bfa105b543"))) > + (sha256 (base32 "1jffayski2gpd54vaska7fmiwnnia8v3cka4nfyzjgl8xsky9v2s")) > + (file-name (git-file-name name version)) > + (patches (search-patches "intel-xed-fix-nondeterminism.patch")))) > + (build-system gnu-build-system) > + (native-inputs > + `(("python-2" ,python-2) > + ("python-3" ,python-3) Does it work to use 'python-wrapper' instead of providing both Python 2 and Python 3 here? > + (outputs '("out" "lib" "src")) Is the src output used for other things than documentation? If not, I think we can drop it and let users do 'guix build --source intel-xed' instead. The description should be modified accordingly. Apart from this the package LGTM. Probably it should have: (supported-systems '("x86_64-linux" "i686-linux")) too? [...] > diff --git a/gnu/packages/patches/intel-xed-fix-nondeterminism.patch b/gnu/packages/patches/intel-xed-fix-nondeterminism.patch > new file mode 100644 > index 0000000000..657f7e979d > --- /dev/null > +++ b/gnu/packages/patches/intel-xed-fix-nondeterminism.patch > @@ -0,0 +1,100 @@ > +diff --git a/pysrc/ild_codegen.py b/pysrc/ild_codegen.py Can you add a short description at the top of the patch file explaining what it does any why? Can you send an updated patch? Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xGWIACgkQoqBt8qM6 VPr2qwgAz/57Htntg3yLYdBPTQPmRv4l2L0wYrZf+qSn3cZFb/CthniyKjPUApS1 s/CB0XRf3EqmNizmn3aOeaStvupFylLUWBETpWBNpC/JqAhg02Bisv8hRoT5Wya/ kmZj601shRze2s9ikhqbWYkQjqfy5WqzpQgxjYydQM0MBU+FYoyiJCOKjAhR2W/O bM3xEDrohPvmkPHCtUQ9SiJtrn0QlVaUjcsDBoq2loVNSicq8S7lfCz83OlKtKLH +uEUku2rzR8rUYFylQKsMDTH6vVYQjm0/565qpx30pBT10le/NauZRWWz494YQP0 +H2Tfi3RIU20J7RPxjFpfvmeVxOyPw== =MUeP -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 23 02:04:40 2020 Received: (at 41574) by debbugs.gnu.org; 23 Jun 2020 06:04:40 +0000 Received: from localhost ([127.0.0.1]:35296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnc2o-00077x-Dx for submit@debbugs.gnu.org; Tue, 23 Jun 2020 02:04:40 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:61226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnc2h-00077e-QS for 41574@debbugs.gnu.org; Tue, 23 Jun 2020 02:04:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1592892263; h=Content-Type: MIME-Version: Message-Id: In-Reply-To: References: Subject: From: Cc: To: Date: Sender; bh=Wm1DdQREGJ6Mny25U5NwwfRGqUSLZarKjIPFJ3wtVzA=; b=a+3GNNr5o1V6d2vX1lSAchs0yAAVC89yiy/f44qPHr3eYZ3Gy3cYzhxzGolQJmT8xP3ynYD9 jNrgnG830yRYakDc5VW18KK6fjUvVfsKPfpaXMcjZJQ71+vZHVjVoluW/biKcpRM7+e0PhVB oPxHUpAKvSwZUMdhOE4uZz0oeNaAExEYREqGMMFgtiCcQ5TdOWRtH0M20+9GcptSYhxW3xg+ +Jf6GZulL9lzDk4WFYdx5gohmUyQOrX5wNc5wCaLCFesIppaGXWxMB3jtjg4sJ75whdF+NPY 50GCw6ennZaaQa+vpJ0VscJzJ4WP3vpM/k/tzjBW3HhuivzbjIijTg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIwYzVjZiIsICI0MTU3NEBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n08.prod.us-east-1.postgun.com with SMTP id 5ef19b618fe116ddd9a604af (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 23 Jun 2020 06:04:17 GMT Received: from localhost (KD111239209250.au-net.ne.jp [111.239.209.250]) by wilsonb.com (Postfix) with ESMTPSA id A208CA2B2C; Tue, 23 Jun 2020 06:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1592892255; bh=Wm1DdQREGJ6Mny25U5NwwfRGqUSLZarKjIPFJ3wtVzA=; h=Date:To:Cc:From:Subject:References:In-Reply-To:From; b=oU5sP+k7MdoKpXS5suZ8+byUiOyuregDnyf10KA+UPSBlvip3crPtDT6zQSIgiKZF VGP94QxbvTairfoPn8rl2P0KOsp+e4eHpBVuQWSfrlYrYtm1xOMu6X0+CqgrYT7Lcs kJXq/11DEkvbzgaY6EnuzsngWb/kFPQYUPFiOF/K+NZONKiakoRIWqg1ACJyvrmTqX qFBCPSBtRdH0msr6i76SM7At7CH0iuDliIOef5Ugbo6YqqxNVB+IAr57xGXVJJJ6c+ +mUYRcjq4ZnWSAn+Vjihv3mTJ1Ehff7V1xAIpLmrOoc3bTgxBv26QQsLVzkEynmQcn YEvsAlo5/atBBgGXbq/xkARNAvIXqzEIxMr3IX48HKnbJv/lmUY+BAzz1amHiTAFiP ZygCfnq1M96hW/3fz71HY1WX8USobTqV1QpLdK+c2sJswtlE9DPfBywWCBA+K9/8wR gNMZ8Z2tFqBUl7J4EAmbKlrSFSYg3CPgFkeiKKn5r3Ta/Eezk8lMwyeTILuKXaM7Dn 2zEp7fASjZS1hMzJOZsm1WyB09oo5M+v17VlOipRvnEV417HGM0u0nrgrQjYaSPUFQ BwCSiTr8/WDiNNU0hfjijyDfD5lEnbJJGYZxHcX2idh8KXh0MOrwG0I9yvZ58JARFp e8xSGK3EZ1Bnpt0BNcnlXyN8= Date: Tue, 23 Jun 2020 15:04:06 +0900 To: Marius Bakke From: elaexuotee@wilsonb.com Subject: Re: [bug#41574] gnu: Add intel-xev. References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> <878sgebzbx.fsf@gnu.org> In-Reply-To: <878sgebzbx.fsf@gnu.org> Message-Id: <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_2302d77b3197a4551155fd37_=_" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41574 Cc: 41574@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_2302d77b3197a4551155fd37_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_4257443d57e9692d729724bc_=_" This is a multipart message in MIME format. ------_=_4257443d57e9692d729724bc_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Marius, Thanks for taking a look at this. > Were these two downgrades intended? I'm assuming no, since the new > package don't appear to use them. Definitely not. Looks like I was sloppy with a local rebase. Thanks for catching this. > Does it work to use 'python-wrapper' instead of providing both Python 2 > and Python 3 here? Beautiful; 'python-wrapper' is exactly what I was looking for. > Is the src output used for other things than documentation? If not, I > think we can drop it and let users do 'guix build --source intel-xed' > instead. The description should be modified accordingly. Sounds emminently reasonable to me. > Apart from this the package LGTM. Probably it should have: >=20 > (supported-systems '("x86_64-linux" "i686-linux")) >=20 > too? I'm not so sure, actually. The tool and library simply facilitate translati= ng to/from x86 opcodes, but as far as I can tell it doesn't actually *execute*= any architecture-specific instructions. > Can you add a short description at the top of the patch file explaining > what it does any why? Oh, neat. I didn't know this was possible. > Can you send an updated patch? Thanks! Done! ------_=_4257443d57e9692d729724bc_=_ Content-Disposition: attachment; filename=0001-gnu-Add-intel-xed.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom a90ef5e79d863201d990d607c2926400654bfd9b Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Thu, 28 May 2020 07:32:28 +0900 =53ubject: [PATCH] gnu: Add intel-xed. =54o: guix-patches@gnu.org =0A* gnu/packages/assembly.scm (intel-xed): New variable. =2D-- =20gnu/local.mk | 1 + =20gnu/packages/assembly.scm | 89 ++++++++++++++ =20.../intel-xed-fix-nondeterminism.patch | 113 ++++++++++++++++++ =203 files changed, 203 insertions(+) =20create mode 100644 gnu/packages/patches/intel-xed-fix-nondeterminism.pat= =63h =0Adiff --git a/gnu/local.mk b/gnu/local.mk =69ndex 1b9fabd2ad..69884b0451 100644 =2D-- a/gnu/local.mk =2B++ b/gnu/local.mk =40@ -1104,6 +1104,7 @@ dist_patch_DATA =3D \ =20 %D%/packages/patches/ilmbase-fix-test-arm.patch \ =20 %D%/packages/patches/inetutils-hurd.patch \ =20 %D%/packages/patches/inkscape-poppler-0.76.patch \ =2B %D%/packages/patches/intel-xed-fix-nondeterminism.patch \ =20 %D%/packages/patches/intltool-perl-compatibility.patch \ =20 %D%/packages/patches/iputils-libcap-compat.patch \ =20 %D%/packages/patches/irrlicht-use-system-libs.patch \ =64iff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm =69ndex c9582bc596..452d458272 100644 =2D-- a/gnu/packages/assembly.scm =2B++ b/gnu/packages/assembly.scm =40@ -8,6 +8,7 @@ =20;;; Copyright =C2=A9 2019 Andy Tai =20;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka = =0A ;;; Copyright =C2=A9 2020 Christopher Lemmer Webber =2B;;; Copyright =C2=A9 2020 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,7 @@ =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages python) =20 #:use-module (gnu packages sphinx) =2B #:use-module (gnu packages shells) =20 #:use-module (gnu packages xml) =20 #:use-module ((guix utils) =20 #:select (%current-system))) =40@ -371,3 +373,90 @@ It understands mnemonics and generates code for NMOS= =206502s (such =20as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), =20 CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.") =20 (license license:gpl2))) =2B =2B(define-public intel-xed =2B (package =2B (name "intel-xed") =2B (version "11.2.0") =2B (source =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/xed.git") =2B (commit "40125558530137444b4ee6fd26b445bfa105b543"))) =2B (sha256 (base32 "1jffayski2gpd54vaska7fmiwnnia8v3cka4nfyzjgl8xsky= =39v2s")) =2B (file-name (git-file-name name version)) =2B (patches (search-patches "intel-xed-fix-nondeterminism.patch"))))= =0A+ (build-system gnu-build-system) =2B (native-inputs =2B `(("python-wrapper" ,python-wrapper) =2B ("tcsh" ,tcsh) =2B ("mbuild" =2B ,(let ((name "mbuild") =2B (version "0.2496")) =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/mbuild.git") =2B (commit "5304b94361fccd830c0e2417535a866b79c1c297")))= =0A+ (sha256 =2B (base32 =2B "0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) =2B (file-name (git-file-name name version))))))) =2B (outputs '("out" "lib" "src")) =2B (arguments =2B `(#:phases =2B ;; Upstream uses the custom Python build tool `mbuild', so we mun= =67e =2B ;; gnu-build-system to fit. The build process for this package i= =73 =2B ;; documented at https://intelxed.github.io/build-manual/. =2B (let* ((build-dir "build") =2B (kit-dir "kit")) =2B (modify-phases %standard-phases =2B (delete 'configure) =2B (replace 'build =2B (lambda* (#:key inputs #:allow-other-keys) =2B (let ((mbuild (assoc-ref inputs "mbuild"))) =2B (setenv "PYTHONPATH" (string-append =2B (getenv "PYTHONPATH") ":" mbuild= =29) =2B (invoke "./mfile.py" =2B (string-append "--build-dir=3D" build-dir) =2B (string-append "--install-dir=3D" kit-dir) =2B "examples" =2B "doc" =2B "install")))) =2B (replace 'check =2B (lambda _ =2B ;; Skip broken test group `tests/tests-avx512pf'. =2B (invoke "tests/run-cmd.py" =2B (string-append "--build-dir=3D" kit-dir "/bin") =2B "--tests" "tests/tests-base" =2B "--tests" "tests/tests-avx512" =2B "--tests" "tests/tests-cet" =2B "--tests" "tests/tests-via" =2B "--tests" "tests/tests-syntax" =2B "--tests" "tests/tests-xop"))) =2B (replace 'install =2B (lambda* (#:key outputs #:allow-other-keys) =2B (let* ((out (assoc-ref outputs "out")) =2B (lib (assoc-ref outputs "lib"))) =2B (copy-recursively (string-append kit-dir "/bin") =2B (string-append out "/bin")) =2B (copy-recursively (string-append kit-dir "/include") =2B (string-append lib "/include")) =2B (copy-recursively (string-append kit-dir "/lib") =2B (string-append lib "/lib")) =2B #t))))))) =2B (home-page "https://intelxed.github.io/") =2B (synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructio= =6Es") =2B (description "The Intel X86 Encoder Decoder (XED) is a software libr= =61ry and =2Bfor encoding and decoding X86 (IA32 and Intel64) instructions. The deco= =64er =2Btakes sequences of 1-15 bytes along with machine mode information and pr= =6Fduces =2Ba data structure describing the opcode, operands, and flags. The encode= =72 takes =2Ba similar data structure and produces a sequence of 1 to 15 bytes. Disa= =73sembly =2Bis essentially a printing pass on the data structure. =2B =2BThe library and development files are under the @code{lib} output, with = =61 =2Bfamily of command line utility wrappers in the default output. Each of = =74he cli =2Btools is named like @code{xed*}. Documentation for the cli tools is spa= =72se, so =2Bthis is a case where ``the code is the documentation.''") =2B (license license:asl2.0))) =64iff --git a/gnu/packages/patches/intel-xed-fix-nondeterminism.patch b/gn= =75/packages/patches/intel-xed-fix-nondeterminism.patch =6Eew file mode 100644 =69ndex 0000000000..c81bd0edde =2D-- /dev/null =2B++ b/gnu/packages/patches/intel-xed-fix-nondeterminism.patch =40@ -0,0 +1,113 @@ =2BThis patch removes sources of build non-determinism in the upstream sour= =63es. =2B =2BIn particular, many of the compiled sources are generated with Python co= =64e, =2Bwhich in turn uses dictionaries to index the output C functions. Howeve= =72, =2Biterators over Python dictionaries have no guaranteed order, thus result= =69ng in =2Bthe C functions being output in a random order between builds. =2B =2BThe patch below fixes this by forcing an order during output in several = =6Bey =2Bplaces. Note, however, that future updates may uncover new such places = =74hat =2Bjust happen to be non-problematic at the time of this patch. If you are= =0A+reading this due to finding such issues, feel free to contact me at =2Belaexuotee@wilsonb.com for help. =2B =2Bdiff --git a/pysrc/ild_codegen.py b/pysrc/ild_codegen.py =2Bindex 628ec45..a9bff79 100755 =2B--- a/pysrc/ild_codegen.py =2B+++ b/pysrc/ild_codegen.py =2B@@ -188,14 +188,14 @@ def gen_l2_func_list(agi, target_nt_dict, arg_nt_d= =69ct, =2B ild_t_member): =2B """generate L2 functions""" =2B l2_func_list =3D [] =2B- for (nt_name,array) in target_nt_dict.items(): =2B+ for (nt_name,array) in sorted(target_nt_dict.items()): =2B target_opname =3D array.get_target_opname() =2B if array.is_const_lookup_fun(): =2B fo =3D gen_const_l2_function(agi, nt_name, =2B target_opname, ild_t_member) =2B l2_func_list.append(fo) =2B else: =2B- for arg_nt_seq,arg_arr in arg_nt_dict.items(): =2B+ for arg_nt_seq,arg_arr in sorted(arg_nt_dict.items()): =2B fo =3D gen_scalable_l2_function(agi, nt_name, =2B target_opname, ild_t_member, arg_arr, list(arg_nt_= =73eq)) =2B l2_func_list.append(fo) =2Bdiff --git a/pysrc/ild_disp.py b/pysrc/ild_disp.py =2Bindex 942c036..cf80e29 100755 =2B--- a/pysrc/ild_disp.py =2B+++ b/pysrc/ild_disp.py =2B@@ -350,7 +350,8 @@ def work(agi, united_lookup, disp_nts, brdisp_nts, = =69ld_gendir, =2B disp_dict =3D _gen_l3_array_dict(agi, disp_nts, _disp_token) =2B=20 =2B =20 =2B- nt_arr_list =3D list(brdisp_dict.values()) + list(disp_dict.values(= =29) =2B+ nt_arr_list =3D ([v for (k,v) in sorted(brdisp_dict.items())] + =2B+ [v for (k,v) in sorted(disp_dict.items())]) =2B #create function that calls all initialization functions =2B init_f =3D ild_nt.gen_init_function(nt_arr_list, 'xed_ild_disp_l3_i= =6Eit') =2B =20 =2B@@ -367,7 +368,7 @@ def work(agi, united_lookup, disp_nts, brdisp_nts, = =69ld_gendir, =2B l2_functions =3D [] =2B eosz_op =3D ild_eosz.get_target_opname() =2B easz_op =3D ild_easz.get_target_opname() =2B- for nt_name,array in list(disp_dict.items()) + list(brdisp_dict.ite= =6Ds()): =2B+ for nt_name,array in sorted(disp_dict.items()) + sorted(brdisp_dict= =2Eitems()): =2B #Some DISP NTs depend on EOSZ, others on EASZ, we need to know =2B #that when we generate L2 functions =2B if eosz_op in array.get_arg_names(): =2Bdiff --git a/pysrc/ild_easz.py b/pysrc/ild_easz.py =2Bindex 02cd691..c53b9f2 100755 =2B--- a/pysrc/ild_easz.py =2B+++ b/pysrc/ild_easz.py =2B@@ -165,9 +165,10 @@ def work(agi, united_lookup, easz_nts, ild_gendir, = =64ebug): =2B return =2B nt_seq_arrays[tuple(nt_seq)] =3D array =2B #init function calls all single init functions for the created tabl= =65s =2B- init_f =3D ild_nt.gen_init_function(list(nt_seq_arrays.values()), =2B+ nt_seq_values =3D [v for (k,v) in sorted(nt_seq_arrays.items())] =2B+ init_f =3D ild_nt.gen_init_function(nt_seq_values, =2B 'xed_ild_easz_init') =2B- ild_nt.dump_lu_arrays(agi, list(nt_seq_arrays.values()), _easz_c_fn= =2C=20 =2B+ ild_nt.dump_lu_arrays(agi, nt_seq_values, _easz_c_fn,=20 =2B mbuild.join('include-private', _easz_header_f= =6E), =2B init_f) =2B getter_fos =3D [] =2Bdiff --git a/pysrc/ild_eosz.py b/pysrc/ild_eosz.py =2Bindex 6643bc3..89d2d89 100755 =2B--- a/pysrc/ild_eosz.py =2B+++ b/pysrc/ild_eosz.py =2B@@ -200,10 +200,11 @@ def work(agi, united_lookup, eosz_nts, ild_gendir,= =20debug): =2B return None =2B nt_seq_arrays[tuple(nt_seq)] =3D array =2B #init function calls all single init functions for the created tabl= =65s =2B- init_f =3D ild_nt.gen_init_function(list(nt_seq_arrays.values()),=20= =0A++ nt_seq_values =3D [v for (k,v) in sorted(nt_seq_arrays.items())] =2B+ init_f =3D ild_nt.gen_init_function(nt_seq_values,=20 =2B 'xed_ild_eosz_init') =2B #dump init and lookup functions for EOSZ sequences =2B- ild_nt.dump_lu_arrays(agi, list(nt_seq_arrays.values()), _eosz_c_fn= =2C =2B+ ild_nt.dump_lu_arrays(agi, nt_seq_values, _eosz_c_fn, =2B mbuild.join('include-private', _eosz_header_f= =6E), =2B init_f) =2B #generate EOSZ getter functions - they get xed_decoded_inst_t* =2Bdiff --git a/pysrc/ild_imm.py b/pysrc/ild_imm.py =2Bindex 51c413c..0530bae 100755 =2B--- a/pysrc/ild_imm.py =2B+++ b/pysrc/ild_imm.py =2B@@ -322,12 +322,14 @@ def work(agi, united_lookup, imm_nts, ild_gendir, = =65osz_dict, =2B level=3D'l3') =2B nt_dict[nt_name] =3D array =2B=20 =2B+ nt_dict_values =3D [v for (k,v) in sorted(nt_dict.items())] =2B+ =2B #create function that calls all initialization functions for L3 =2B- init_f =3D ild_nt.gen_init_function(list(nt_dict.values()), =2B+ init_f =3D ild_nt.gen_init_function(nt_dict_values, =2B 'xed_ild_imm_l3_init') =2B =20 =2B #dump L3 functions =2B- ild_nt.dump_lu_arrays(agi, list(nt_dict.values()), _l3_c_fn, =2B+ ild_nt.dump_lu_arrays(agi, nt_dict_values, _l3_c_fn, =2B mbuild.join('include-private',_l3_header_fn),= =0A+ init_f) =2B =20 =2D-=20 =32.27.0 =0A= ------_=_4257443d57e9692d729724bc_=_-- ------_=_2302d77b3197a4551155fd37_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXvGbVRccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7CgTOFAQDNQkgWyInY//3WGA8i7OonZy2V hzxDftZWNJS0FMx8SQEAvE08px3xdd6tOW1ZBHN5VDSwcyRGVNjgoMDwNtWF4wE= =QR6w -----END PGP SIGNATURE----- ------_=_2302d77b3197a4551155fd37_=_-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 15:55:25 2020 Received: (at 41574) by debbugs.gnu.org; 24 Jun 2020 19:55:25 +0000 Received: from localhost ([127.0.0.1]:39165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joBUP-00045V-O8 for submit@debbugs.gnu.org; Wed, 24 Jun 2020 15:55:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joBUK-00045A-IG for 41574@debbugs.gnu.org; Wed, 24 Jun 2020 15:55:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54519) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1joBUF-0005RR-6M; Wed, 24 Jun 2020 15:55:11 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:50316 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1joBU9-0007CG-G0; Wed, 24 Jun 2020 15:55:07 -0400 From: Marius Bakke To: elaexuotee@wilsonb.com Subject: Re: [bug#41574] gnu: Add intel-xev. In-Reply-To: <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> <878sgebzbx.fsf@gnu.org> <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> Date: Wed, 24 Jun 2020 21:55:03 +0200 Message-ID: <87o8p86xyg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41574 Cc: 41574@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable elaexuotee@wilsonb.com writes: > Marius, > > Thanks for taking a look at this. > >> Were these two downgrades intended? I'm assuming no, since the new >> package don't appear to use them. > > Definitely not. Looks like I was sloppy with a local rebase. Thanks for > catching this. OK. >> Does it work to use 'python-wrapper' instead of providing both Python 2 >> and Python 3 here? > > Beautiful; 'python-wrapper' is exactly what I was looking for. Great. >> Is the src output used for other things than documentation? If not, I >> think we can drop it and let users do 'guix build --source intel-xed' >> instead. The description should be modified accordingly. > > Sounds emminently reasonable to me. The new patch still has a "src" output, even though it does not seem to use it. >> Apart from this the package LGTM. Probably it should have: >>=20 >> (supported-systems '("x86_64-linux" "i686-linux")) >>=20 >> too? > > I'm not so sure, actually. The tool and library simply facilitate transla= ting > to/from x86 opcodes, but as far as I can tell it doesn't actually *execut= e* any > architecture-specific instructions. OK. >> Can you add a short description at the top of the patch file explaining >> what it does any why? > > Oh, neat. I didn't know this was possible. Nice job on the comment. :-) >> Can you send an updated patch? Thanks! > > Done! Looks like I missed a couple of things in the first round, sorry about that. Here it comes... > From a90ef5e79d863201d990d607c2926400654bfd9b Mon Sep 17 00:00:00 2001 > From: "B. Wilson" > Date: Thu, 28 May 2020 07:32:28 +0900 > Subject: [PATCH] gnu: Add intel-xed. > To: guix-patches@gnu.org > > * gnu/packages/assembly.scm (intel-xed): New variable. Please also mention the new patch and change to local.mk in the commit message. [...] > +(define-public intel-xed > + (package > + (name "intel-xed") > + (version "11.2.0") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/intelxed/xed.git") > + (commit "40125558530137444b4ee6fd26b445bfa105b543"))) Use the "11.2.0" tag here instead of the commit hash. > + (sha256 (base32 "1jffayski2gpd54vaska7fmiwnnia8v3cka4nfyzjgl8xsky= 9v2s")) > + (file-name (git-file-name name version)) > + (patches (search-patches "intel-xed-fix-nondeterminism.patch")))) > + (build-system gnu-build-system) > + (native-inputs > + `(("python-wrapper" ,python-wrapper) > + ("tcsh" ,tcsh) > + ("mbuild" > + ,(let ((name "mbuild") > + (version "0.2496")) > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/intelxed/mbuild.git") > + (commit "5304b94361fccd830c0e2417535a866b79c1c297"))) > + (sha256 > + (base32 > + "0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) > + (file-name (git-file-name name version))))))) Can you add a comment about where you got that version number from? Also, would it make sense to package this separately? Can be done later though. > + (outputs '("out" "lib" "src")) As mentioned before, the 'src' output can go. Apart from these minor issues, I think it's good to go. \o/ Can you send an updated patch? TIA! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7zr5cACgkQoqBt8qM6 VPp37ggAyOAPt8USV0wXsWeqUWpbcmzS98ri6GHhpigX5Kbhq3gE3eSHGFp1XcFq +mY2HzMmiUxpbfBTPHvVAJ4uSTKePzTqefS7b8IDdJ7H+ECVQIFvReaLysu6KmRX RpWRcm7hb97MbBDkubKEOFBo58zndRsbT8cNbP4gq48K1fQeT8IkalM+XiSjGVFQ i2j9fDVgsAJlv8F6qdhyDWjc8PHd97dpm3+PTAwIXrTB4mWmzkPNhImc27vyIb7J Mq7FBeRP8lf2h501ycRnYt9V8ru8al8gH5vTKsv0p6gq5c7mQto26faC6MRE1dsv oQ9RK+038YuFE+08+xAyVBiwL4dKqw== =kbbT -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 15:59:31 2020 Received: (at 41574) by debbugs.gnu.org; 24 Jun 2020 19:59:31 +0000 Received: from localhost ([127.0.0.1]:39181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joBYR-0004CY-JU for submit@debbugs.gnu.org; Wed, 24 Jun 2020 15:59:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joBYP-0004CG-J9 for 41574@debbugs.gnu.org; Wed, 24 Jun 2020 15:59:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54572) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1joBYJ-0007Gr-Vl; Wed, 24 Jun 2020 15:59:23 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:50704 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1joBYJ-0006Uc-Cy; Wed, 24 Jun 2020 15:59:23 -0400 From: Marius Bakke To: elaexuotee@wilsonb.com Subject: Re: [bug#41574] gnu: Add intel-xev. In-Reply-To: <87o8p86xyg.fsf@gnu.org> References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> <878sgebzbx.fsf@gnu.org> <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> <87o8p86xyg.fsf@gnu.org> Date: Wed, 24 Jun 2020 21:59:20 +0200 Message-ID: <87lfkc6xrb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41574 Cc: 41574@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Marius Bakke writes: >> +(define-public intel-xed >> + (package >> + (name "intel-xed") >> + (version "11.2.0") >> + (source >> + (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://github.com/intelxed/xed.git") >> + (commit "40125558530137444b4ee6fd26b445bfa105b543"))) > > Use the "11.2.0" tag here instead of the commit hash. Actually, I meant the 'version' variable here, as in (commit version). Patch overload! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7zsJkACgkQoqBt8qM6 VPpB4ggArySKnbY06R8zKf1YrSIb847HVk6MMsSLoXSw2lFEgoVY2WgtpvC8zJgc 6RI7ewRtb2B1MymE82RXLiKsgRFUOXSjXLrQkrrdR4VHmfDywNhkgHh7JZBE8De3 u4tHXEs2KoCq1vwgEoOKA3QVC5W+eMQjnvTqfcONUwW6pI4joQ4lGziMe7S1d+MR i1/aC7HdxXuMwVUf95uLimTDR7DLaGg4qIEQiDDWarm1Ce7/LKeq3+OnH2Li7CT6 uLlsxjJ5mZiCFrhIk1SlP9cCvxxiJu7w3MGt9CSAephHZBiSq+WyF5loJAEv+5vo UIrd7MpNqN/i+DJB3CO/mPjWF8rlZg== =p5EG -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 22:51:43 2020 Received: (at 41574) by debbugs.gnu.org; 25 Jun 2020 02:51:43 +0000 Received: from localhost ([127.0.0.1]:39555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joHz9-0007yX-Mb for submit@debbugs.gnu.org; Wed, 24 Jun 2020 22:51:43 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:31636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joHz0-0007yD-Qs for 41574@debbugs.gnu.org; Wed, 24 Jun 2020 22:51:30 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1593053486; h=Content-Type: MIME-Version: Message-Id: In-Reply-To: References: Subject: From: Cc: To: Date: Sender; bh=iAU81oQEzQmVYbtg4yAyo8ckXvbxbHUfRTdIWQaoLfY=; b=YMOzRIPLK9jUBOQfdJo5/stPiH+j1Ulce7VHn5+eLc9SOPEmDOie/pfCgeyOgoGDMTE7bIfD iXSzcYeIAHeO7f7Cw6Pl8cBQ13C091QdyALUoPunnCthXz8pGeh1+LaCI6O/jT6+P7pUrjqx aSYU43IFOQ46ruY124NfVETmk5FVjhHbTn/XDvCbZgEKzPzde5IioqTdapHY1KX4JYNnuYdX LN/oMnfeHQqp/SKkWPuMAzxLvOQKPxoDj5TlO27B+U71dtUfl360w5CBmEB5nsGzAB5bOyQa hIhXhgWiZei2APx+KbbTbCSxbQyNg9eNFr2i1y7Vs4aaWwL+k3lZhg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIwYzVjZiIsICI0MTU3NEBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n14.prod.us-east-1.postgun.com with SMTP id 5ef41113a3d8a44743c7546f (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Thu, 25 Jun 2020 02:50:59 GMT Received: from localhost (KD111239203083.au-net.ne.jp [111.239.203.83]) by wilsonb.com (Postfix) with ESMTPSA id 2BECAA2C2D; Thu, 25 Jun 2020 02:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1593053456; bh=iAU81oQEzQmVYbtg4yAyo8ckXvbxbHUfRTdIWQaoLfY=; h=Date:To:Cc:From:Subject:References:In-Reply-To:From; b=xduObHoSdQHJyxxGvbv2HeirYgCy6HUo3S84dGAjnAtprsRfPAxZSIGHu1BU1mWxY 8+g9vO4z48hWCMoyLGRRgnOet2nGXsWB12Ca9Las/VHZD4eZVzBCoVvwDfxkygD275 AkDniwG72yME7ok31GfBR7voNDKTSiaHWhuq+JA9d1Wu5Ho8+8XvJXeNrgrmsBgCZe kimJF0MNtfjKE4Pfy5dfNrGImqj9WoJJ+ss0jjwru0eiFHCS/mvYOqjJl2KG1UwJOc wA+k1ilHhdYODpXa1DI8qqRtxRRHy3F0MMByiOmdU3hGlcNdJkcp84wx1LXowX8P+H O5baKr3YcoERKCSVoaTx/7hjQ9Sxk4RD06/WctWFnT2pukBTqPVB/OmtO0FVwHZ7we 0tkiHWAm6TmHnvA22+k/JTLa8ZglCUxSvmgvz7Mr/znj6wlZcMDlZtejXpkTH0qM5o xeVqGuJq58RgW31GJEDGP27PRZNxFm67mPmF/F8VDGYPoFb/YMAwdellPBwvoiqcp4 3nYBnEd1xEj6aqMRpczo3pMX/np2+ZcgBLwexlAfa6MDv3aRQULxkq2wSSNP+6t48d Jb6NWaWufRAYYdmBOOevRH6WTLe9fJhal0UqQ7dJInxHJBFNVvf2iQLe5C/14HfSW0 3QRDexcfGrVqEIi4JkCYkaqk= Date: Thu, 25 Jun 2020 11:50:48 +0900 To: Marius Bakke From: elaexuotee@wilsonb.com Subject: Re: [bug#41574] gnu: Add intel-xev. References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> <878sgebzbx.fsf@gnu.org> <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> <87o8p86xyg.fsf@gnu.org> In-Reply-To: <87o8p86xyg.fsf@gnu.org> Message-Id: <3ILYVAJYYCJDV.3HZ7KJLE03IG5@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_66f35ef05a51c47e06aab864_=_" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41574 Cc: 41574@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_66f35ef05a51c47e06aab864_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_6befa4603ceaeffc6457b167_=_" This is a multipart message in MIME format. ------_=_6befa4603ceaeffc6457b167_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Please also mention the new patch and change to local.mk in the commit > message. Looks like I also forgot to mention the patch itself. Thanks. > Use the "11.2.0" tag here instead of the commit hash. Done. As you mentioned in a follow-up email, I replaced the commit string w= ith the `version' token which happily happens to match the name of the version = tag we want. > Can you add a comment about where you got that version number from? > Also, would it make sense to package this separately? Can be done later > though. I went ahead and added a comment explaining both of these decisions. The re= ason for including mbuild in this way instead of packaging it separately is simp= ly that it seems to be a home-grown build system just for XED (I have no idea why). There are other projects called "mbuild" and I didn't want to pollute= the package namespace unnecessarily. > > + (outputs '("out" "lib" "src")) >=20 > As mentioned before, the 'src' output can go. Argh. Completely missed that. Nice catch. > Apart from these minor issues, I think it's good to go. \o/ >=20 > Can you send an updated patch? TIA! :-) Here you go! ------_=_6befa4603ceaeffc6457b167_=_ Content-Disposition: attachment; filename=0001-gnu-Add-intel-xed.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom aeaae07bbec8e2405ec3be40098b9a6b3fcc0a3b Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Thu, 28 May 2020 07:32:28 +0900 =53ubject: [PATCH] gnu: Add intel-xed. =54o: guix-patches@gnu.org =0A* gnu/packages/assembly.scm (intel-xed): New variable. =2A gnu/packages/patches/intel-xed-fix-nondeterminism.patch: New file. =2A gnu/local.mk (dist_patch_DATA): Add reference to new patch. =2D-- =20gnu/local.mk | 1 + =20gnu/packages/assembly.scm | 94 +++++++++++++++ =20.../intel-xed-fix-nondeterminism.patch | 113 ++++++++++++++++++ =203 files changed, 208 insertions(+) =20create mode 100644 gnu/packages/patches/intel-xed-fix-nondeterminism.pat= =63h =0Adiff --git a/gnu/local.mk b/gnu/local.mk =69ndex a321575799..c70ee59b8f 100644 =2D-- a/gnu/local.mk =2B++ b/gnu/local.mk =40@ -1107,6 +1107,7 @@ dist_patch_DATA =3D \ =20 %D%/packages/patches/ilmbase-fix-test-arm.patch \ =20 %D%/packages/patches/inetutils-hurd.patch \ =20 %D%/packages/patches/inkscape-poppler-0.76.patch \ =2B %D%/packages/patches/intel-xed-fix-nondeterminism.patch \ =20 %D%/packages/patches/intltool-perl-compatibility.patch \ =20 %D%/packages/patches/iputils-libcap-compat.patch \ =20 %D%/packages/patches/irrlicht-use-system-libs.patch \ =64iff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm =69ndex c9582bc596..39e14d452c 100644 =2D-- a/gnu/packages/assembly.scm =2B++ b/gnu/packages/assembly.scm =40@ -8,6 +8,7 @@ =20;;; Copyright =C2=A9 2019 Andy Tai =20;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka = =0A ;;; Copyright =C2=A9 2020 Christopher Lemmer Webber =2B;;; Copyright =C2=A9 2020 B. Wilson =20;;; =20;;; This file is part of GNU Guix. =20;;; =40@ -47,6 +48,7 @@ =20 #:use-module (gnu packages texinfo) =20 #:use-module (gnu packages python) =20 #:use-module (gnu packages sphinx) =2B #:use-module (gnu packages shells) =20 #:use-module (gnu packages xml) =20 #:use-module ((guix utils) =20 #:select (%current-system))) =40@ -371,3 +373,95 @@ It understands mnemonics and generates code for NMOS= =206502s (such =20as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), =20 CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.") =20 (license license:gpl2))) =2B =2B(define-public intel-xed =2B (package =2B (name "intel-xed") =2B (version "11.2.0") =2B (source =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/xed.git") =2B (commit version))) =2B (sha256 (base32 "1jffayski2gpd54vaska7fmiwnnia8v3cka4nfyzjgl8xsky= =39v2s")) =2B (file-name (git-file-name name version)) =2B (patches (search-patches "intel-xed-fix-nondeterminism.patch"))))= =0A+ (build-system gnu-build-system) =2B (native-inputs =2B `(("python-wrapper" ,python-wrapper) =2B ("tcsh" ,tcsh) =2B ;; As of the time of writing this comment, mbuild does not exist = =69n the =2B ;; Python Package Index and seems to only be used by intel-xed, s= =6F we =2B ;; opt to include it here instead of packaging separately. Note = =61lso =2B ;; that the git repository contains no version tags, so we direct= =6Cy =2B ;; reference the "version" variable from setup.py instead. =2B ("mbuild" =2B ,(let ((name "mbuild") =2B (version "0.2496")) =2B (origin =2B (method git-fetch) =2B (uri (git-reference =2B (url "https://github.com/intelxed/mbuild.git") =2B (commit "5304b94361fccd830c0e2417535a866b79c1c297")))= =0A+ (sha256 =2B (base32 =2B "0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) =2B (file-name (git-file-name name version))))))) =2B (outputs '("out" "lib")) =2B (arguments =2B `(#:phases =2B ;; Upstream uses the custom Python build tool `mbuild', so we mun= =67e =2B ;; gnu-build-system to fit. The build process for this package i= =73 =2B ;; documented at https://intelxed.github.io/build-manual/. =2B (let* ((build-dir "build") =2B (kit-dir "kit")) =2B (modify-phases %standard-phases =2B (delete 'configure) =2B (replace 'build =2B (lambda* (#:key inputs #:allow-other-keys) =2B (let ((mbuild (assoc-ref inputs "mbuild"))) =2B (setenv "PYTHONPATH" (string-append =2B (getenv "PYTHONPATH") ":" mbuild)= =29 =2B (invoke "./mfile.py" =2B (string-append "--build-dir=3D" build-dir) =2B (string-append "--install-dir=3D" kit-dir) =2B "examples" =2B "doc" =2B "install")))) =2B (replace 'check =2B (lambda _ =2B ;; Skip broken test group `tests/tests-avx512pf'. =2B (invoke "tests/run-cmd.py" =2B (string-append "--build-dir=3D" kit-dir "/bin") =2B "--tests" "tests/tests-base" =2B "--tests" "tests/tests-avx512" =2B "--tests" "tests/tests-cet" =2B "--tests" "tests/tests-via" =2B "--tests" "tests/tests-syntax" =2B "--tests" "tests/tests-xop"))) =2B (replace 'install =2B (lambda* (#:key outputs #:allow-other-keys) =2B (let* ((out (assoc-ref outputs "out")) =2B (lib (assoc-ref outputs "lib"))) =2B (copy-recursively (string-append kit-dir "/bin") =2B (string-append out "/bin")) =2B (copy-recursively (string-append kit-dir "/include") =2B (string-append lib "/include")) =2B (copy-recursively (string-append kit-dir "/lib") =2B (string-append lib "/lib")) =2B #t))))))) =2B (home-page "https://intelxed.github.io/") =2B (synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructio= =6Es") =2B (description "The Intel X86 Encoder Decoder (XED) is a software libr= =61ry and =2Bfor encoding and decoding X86 (IA32 and Intel64) instructions. The deco= =64er =2Btakes sequences of 1-15 bytes along with machine mode information and pr= =6Fduces =2Ba data structure describing the opcode, operands, and flags. The encode= =72 takes =2Ba similar data structure and produces a sequence of 1 to 15 bytes. Disa= =73sembly =2Bis essentially a printing pass on the data structure. =2B =2BThe library and development files are under the @code{lib} output, with = =61 =2Bfamily of command line utility wrappers in the default output. Each of = =74he cli =2Btools is named like @code{xed*}. Documentation for the cli tools is spa= =72se, so =2Bthis is a case where ``the code is the documentation.''") =2B (license license:asl2.0))) =64iff --git a/gnu/packages/patches/intel-xed-fix-nondeterminism.patch b/gn= =75/packages/patches/intel-xed-fix-nondeterminism.patch =6Eew file mode 100644 =69ndex 0000000000..c81bd0edde =2D-- /dev/null =2B++ b/gnu/packages/patches/intel-xed-fix-nondeterminism.patch =40@ -0,0 +1,113 @@ =2BThis patch removes sources of build non-determinism in the upstream sour= =63es. =2B =2BIn particular, many of the compiled sources are generated with Python co= =64e, =2Bwhich in turn uses dictionaries to index the output C functions. Howeve= =72, =2Biterators over Python dictionaries have no guaranteed order, thus result= =69ng in =2Bthe C functions being output in a random order between builds. =2B =2BThe patch below fixes this by forcing an order during output in several = =6Bey =2Bplaces. Note, however, that future updates may uncover new such places = =74hat =2Bjust happen to be non-problematic at the time of this patch. If you are= =0A+reading this due to finding such issues, feel free to contact me at =2Belaexuotee@wilsonb.com for help. =2B =2Bdiff --git a/pysrc/ild_codegen.py b/pysrc/ild_codegen.py =2Bindex 628ec45..a9bff79 100755 =2B--- a/pysrc/ild_codegen.py =2B+++ b/pysrc/ild_codegen.py =2B@@ -188,14 +188,14 @@ def gen_l2_func_list(agi, target_nt_dict, arg_nt_d= =69ct, =2B ild_t_member): =2B """generate L2 functions""" =2B l2_func_list =3D [] =2B- for (nt_name,array) in target_nt_dict.items(): =2B+ for (nt_name,array) in sorted(target_nt_dict.items()): =2B target_opname =3D array.get_target_opname() =2B if array.is_const_lookup_fun(): =2B fo =3D gen_const_l2_function(agi, nt_name, =2B target_opname, ild_t_member) =2B l2_func_list.append(fo) =2B else: =2B- for arg_nt_seq,arg_arr in arg_nt_dict.items(): =2B+ for arg_nt_seq,arg_arr in sorted(arg_nt_dict.items()): =2B fo =3D gen_scalable_l2_function(agi, nt_name, =2B target_opname, ild_t_member, arg_arr, list(arg_nt_= =73eq)) =2B l2_func_list.append(fo) =2Bdiff --git a/pysrc/ild_disp.py b/pysrc/ild_disp.py =2Bindex 942c036..cf80e29 100755 =2B--- a/pysrc/ild_disp.py =2B+++ b/pysrc/ild_disp.py =2B@@ -350,7 +350,8 @@ def work(agi, united_lookup, disp_nts, brdisp_nts, = =69ld_gendir, =2B disp_dict =3D _gen_l3_array_dict(agi, disp_nts, _disp_token) =2B=20 =2B =20 =2B- nt_arr_list =3D list(brdisp_dict.values()) + list(disp_dict.values(= =29) =2B+ nt_arr_list =3D ([v for (k,v) in sorted(brdisp_dict.items())] + =2B+ [v for (k,v) in sorted(disp_dict.items())]) =2B #create function that calls all initialization functions =2B init_f =3D ild_nt.gen_init_function(nt_arr_list, 'xed_ild_disp_l3_i= =6Eit') =2B =20 =2B@@ -367,7 +368,7 @@ def work(agi, united_lookup, disp_nts, brdisp_nts, = =69ld_gendir, =2B l2_functions =3D [] =2B eosz_op =3D ild_eosz.get_target_opname() =2B easz_op =3D ild_easz.get_target_opname() =2B- for nt_name,array in list(disp_dict.items()) + list(brdisp_dict.ite= =6Ds()): =2B+ for nt_name,array in sorted(disp_dict.items()) + sorted(brdisp_dict= =2Eitems()): =2B #Some DISP NTs depend on EOSZ, others on EASZ, we need to know =2B #that when we generate L2 functions =2B if eosz_op in array.get_arg_names(): =2Bdiff --git a/pysrc/ild_easz.py b/pysrc/ild_easz.py =2Bindex 02cd691..c53b9f2 100755 =2B--- a/pysrc/ild_easz.py =2B+++ b/pysrc/ild_easz.py =2B@@ -165,9 +165,10 @@ def work(agi, united_lookup, easz_nts, ild_gendir, = =64ebug): =2B return =2B nt_seq_arrays[tuple(nt_seq)] =3D array =2B #init function calls all single init functions for the created tabl= =65s =2B- init_f =3D ild_nt.gen_init_function(list(nt_seq_arrays.values()), =2B+ nt_seq_values =3D [v for (k,v) in sorted(nt_seq_arrays.items())] =2B+ init_f =3D ild_nt.gen_init_function(nt_seq_values, =2B 'xed_ild_easz_init') =2B- ild_nt.dump_lu_arrays(agi, list(nt_seq_arrays.values()), _easz_c_fn= =2C=20 =2B+ ild_nt.dump_lu_arrays(agi, nt_seq_values, _easz_c_fn,=20 =2B mbuild.join('include-private', _easz_header_f= =6E), =2B init_f) =2B getter_fos =3D [] =2Bdiff --git a/pysrc/ild_eosz.py b/pysrc/ild_eosz.py =2Bindex 6643bc3..89d2d89 100755 =2B--- a/pysrc/ild_eosz.py =2B+++ b/pysrc/ild_eosz.py =2B@@ -200,10 +200,11 @@ def work(agi, united_lookup, eosz_nts, ild_gendir,= =20debug): =2B return None =2B nt_seq_arrays[tuple(nt_seq)] =3D array =2B #init function calls all single init functions for the created tabl= =65s =2B- init_f =3D ild_nt.gen_init_function(list(nt_seq_arrays.values()),=20= =0A++ nt_seq_values =3D [v for (k,v) in sorted(nt_seq_arrays.items())] =2B+ init_f =3D ild_nt.gen_init_function(nt_seq_values,=20 =2B 'xed_ild_eosz_init') =2B #dump init and lookup functions for EOSZ sequences =2B- ild_nt.dump_lu_arrays(agi, list(nt_seq_arrays.values()), _eosz_c_fn= =2C =2B+ ild_nt.dump_lu_arrays(agi, nt_seq_values, _eosz_c_fn, =2B mbuild.join('include-private', _eosz_header_f= =6E), =2B init_f) =2B #generate EOSZ getter functions - they get xed_decoded_inst_t* =2Bdiff --git a/pysrc/ild_imm.py b/pysrc/ild_imm.py =2Bindex 51c413c..0530bae 100755 =2B--- a/pysrc/ild_imm.py =2B+++ b/pysrc/ild_imm.py =2B@@ -322,12 +322,14 @@ def work(agi, united_lookup, imm_nts, ild_gendir, = =65osz_dict, =2B level=3D'l3') =2B nt_dict[nt_name] =3D array =2B=20 =2B+ nt_dict_values =3D [v for (k,v) in sorted(nt_dict.items())] =2B+ =2B #create function that calls all initialization functions for L3 =2B- init_f =3D ild_nt.gen_init_function(list(nt_dict.values()), =2B+ init_f =3D ild_nt.gen_init_function(nt_dict_values, =2B 'xed_ild_imm_l3_init') =2B =20 =2B #dump L3 functions =2B- ild_nt.dump_lu_arrays(agi, list(nt_dict.values()), _l3_c_fn, =2B+ ild_nt.dump_lu_arrays(agi, nt_dict_values, _l3_c_fn, =2B mbuild.join('include-private',_l3_header_fn),= =0A+ init_f) =2B =20 =2D-=20 =32.27.0 =0A= ------_=_6befa4603ceaeffc6457b167_=_-- ------_=_66f35ef05a51c47e06aab864_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXvQRBhccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7Cge+CAQCMOR1F28F44nVqpSCsWUs4eV4B sM0MAnFDTalj4b03OwEA559AvPMG0U+9PkTpvByWGZEJU73XxT+ccvWGcsfcwwU= =uicZ -----END PGP SIGNATURE----- ------_=_66f35ef05a51c47e06aab864_=_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 17:03:09 2020 Received: (at 41574-done) by debbugs.gnu.org; 21 Jul 2020 21:03:10 +0000 Received: from localhost ([127.0.0.1]:40519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxzPp-00017F-NZ for submit@debbugs.gnu.org; Tue, 21 Jul 2020 17:03:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxzPo-000170-Dj for 41574-done@debbugs.gnu.org; Tue, 21 Jul 2020 17:03:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36397) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxzPj-0004CH-26; Tue, 21 Jul 2020 17:03:03 -0400 Received: from 84-52-226.102.3p.ntebredband.no ([84.52.226.102]:44550 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jxzPh-00084B-DY; Tue, 21 Jul 2020 17:03:02 -0400 From: Marius Bakke To: elaexuotee@wilsonb.com Subject: Re: [bug#41574] gnu: Add intel-xev. In-Reply-To: <3ILYVAJYYCJDV.3HZ7KJLE03IG5@wilsonb.com> References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> <878sgebzbx.fsf@gnu.org> <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> <87o8p86xyg.fsf@gnu.org> <3ILYVAJYYCJDV.3HZ7KJLE03IG5@wilsonb.com> Date: Tue, 21 Jul 2020 23:02:52 +0200 Message-ID: <87r1t4fuo3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41574-done Cc: 41574-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable elaexuotee@wilsonb.com writes: >> Apart from these minor issues, I think it's good to go. \o/ >>=20 >> Can you send an updated patch? TIA! :-) > > Here you go! Sorry for the delay, this patch got lost in my horrifying email queue. Applied now! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl8XV/wACgkQoqBt8qM6 VPofvggAs866rYK3N3FKJ6O76kuMWKqslaibFF5925DSj1a/5OvXiHtbnbl1CFW2 M7hRvAL/MX1I2EKQ0Z23IUOJW4FTRLNE8vuMZzl2bxi5nERQyeeom0gdMfppS0q5 M7GUo7iUD2RS+ZXWYhnZ5BaDs/fHbzPu6HlLUphVKXSxBugcT6O+I8G2Z5d3WyyK 0ag4P+9MCl0sxcj54biQZg5d1HIioEMAfv+yRdy+4aEt57JXIaTYliuuvQDjm9wS LnH9PP8eoOCpPgYxsR8NffLG5gH3/ymk2aJLFz9RYhfnF3e2bPzn4Fv5NjicyFr2 TVQTSozx9gQ6rDwzymHC7WyHNDu1+w== =SjCI -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 02:56:46 2020 Received: (at 41574-done) by debbugs.gnu.org; 24 Jul 2020 06:56:46 +0000 Received: from localhost ([127.0.0.1]:46552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyrdO-0006Aq-Cx for submit@debbugs.gnu.org; Fri, 24 Jul 2020 02:56:46 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:63085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyrdL-0006Ad-Ve for 41574-done@debbugs.gnu.org; Fri, 24 Jul 2020 02:56:45 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1595573804; h=Content-Type: MIME-Version: Message-Id: In-Reply-To: References: Subject: From: Cc: To: Date: Sender; bh=w/xM0UnrWnS8xgRd7xN36GdB29O8vYEoIidTjBnjZKk=; b=SmC2yPwkGakeTPUT47EgJ+Dwn0cpILgHaV1YtutBLym6oiJ1R2Hq+VfBghzGuK1TN0ysoN8M /6r0hJ5BRsrs0UcD90LP6lID8n3t8DKeUGNr/m3NmdKki7+dONJuXqdSeboJEqYgP9iyi+ie FP/AxJEMuQXSJhGyDdV5KJtw+WQ5f86EN/IaYduWU2gJBzVUR1drgylRbzKOOiBy8A0inWgd dGjGeNifmRUzhoKivYH9V+xE4zfSPFrxdxYgbTOo8e944ceadhzkUFuoXykT+aQ349r6Hs0M JZp9MkQ3OMdLxZJ4MkOA986P7dkyHq2YXb8R2isIX84XKfMygiyxvg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI1NWEyNCIsICI0MTU3NC1kb25lQGRlYmJ1Z3MuZ251Lm9yZyIsICIwODU0N2EiXQ== Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n16.prod.us-west-2.postgun.com with SMTP id 5f1a86265b75bcda600282f1 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Fri, 24 Jul 2020 06:56:38 GMT Received: from localhost (KD106154074073.au-net.ne.jp [106.154.74.73]) by wilsonb.com (Postfix) with ESMTPSA id 6B586A10B2; Fri, 24 Jul 2020 06:56:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1595573796; bh=w/xM0UnrWnS8xgRd7xN36GdB29O8vYEoIidTjBnjZKk=; h=Date:To:Cc:From:Subject:References:In-Reply-To:From; b=QdnAta5vtjWMrAiGt8T7/3fHcj2RQbczTADodETycxF9+v4NGeRFOpajQj1EJpbMO GMRO1NuzMgdabQJsHPu9K+CDJ54ElrbyPngl/wI2wQjHDRzoqMIJDL0MHsomSJMbdw 6ImWEgB+Azj4XhR3SHF8AdodRmrROdSQjkFkOhyljdudJCmE3PGA4BMwob4joPdszo UpX+B5Pbsi+ClThRGs7z1FQLeg8W3iHimgwJQV9MptjOTKtuBlLykPEd0CWUAqQ0m5 5ZwTQpF4W3athkgjCtu9zWfnncJhwcNqmQooPtPizNDyf+FcZqblGCRPlQ7d7Y6K53 emGrm/t63WQUcT2/OnC8O8QNZLCg8pGHTM+8RsD+Y2Qw+pNHGD/YTd1wfPwMm8gTDv HJHGTInk0zel+JKyry+RP8lVt409pUA6joBJOv3A1acWEQ2Hdrqv8rmdBCjqyHXRz5 JmMmtbV10zyZQb+XSZxyyt4W36RqCqlbBN5w3HfmYYZ+TSbQvC3A+cS9aFZutj59yN Fcf4YJtBvtdCgZzSyObxcaigh5wQndMTUkEbiDQw/BOSS5FgBNZC7IjXXoYT0zdaZf E8Hi784YPco+1I+FqHy0xDI3hW6ZIGptZRpeXZs9VrkaxEJzcaKuTh14EmU5PFjwcu ceBFucjGIfdkjaiZ9FlYrqDQ= Date: Fri, 24 Jul 2020 15:56:33 +0900 To: Marius Bakke From: elaexuotee@wilsonb.com Subject: Re: [bug#41574] gnu: Add intel-xev. References: <30SSS7KMH7STU.2VZS2NNFF6QOP@wilsonb.com> <338KSVUXDSMM8.2HI3H62CJZAVU@wilsonb.com> <878sgebzbx.fsf@gnu.org> <337PSS1AAVGN7.2MVZ1RZ09WTJA@wilsonb.com> <87o8p86xyg.fsf@gnu.org> <3ILYVAJYYCJDV.3HZ7KJLE03IG5@wilsonb.com> <87r1t4fuo3.fsf@gnu.org> In-Reply-To: <87r1t4fuo3.fsf@gnu.org> Message-Id: <2HEGN68DVIUDM.2UJZX2J00IYAA@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_2c0bb9ad0e88980f00faf399_=_" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41574-done Cc: 41574-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multipart message in MIME format. ------_=_2c0bb9ad0e88980f00faf399_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_3967b9774afe80c166eaf7d3_=_" This is a multipart message in MIME format. ------_=_3967b9774afe80c166eaf7d3_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Sorry for the delay, this patch got lost in my horrifying email queue. >=20 > Applied now! No worries. Thanks! ------_=_3967b9774afe80c166eaf7d3_=_-- ------_=_2c0bb9ad0e88980f00faf399_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXxqGExccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7CgVjYAQD9nO+0OE4trR0+5WovgAwaDnxN nIHLEJIvE5oduCyO9wD/WzmqwIt2DodgsmlR3S/2v8x83reuWNnsr5RpQGvWJAE= =cT5j -----END PGP SIGNATURE----- ------_=_2c0bb9ad0e88980f00faf399_=_-- From unknown Thu Jun 19 14:04:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 21 Aug 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator