From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mvwZLxxhvl5CAQAA0tVLHw (envelope-from ) for ; Fri, 15 May 2020 09:30:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iDF2Khxhvl5uRQAA1q6Kng (envelope-from ) for ; Fri, 15 May 2020 09:30:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 69414940368 for ; Fri, 15 May 2020 09:30:04 +0000 (UTC) Received: from localhost ([::1]:59886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZWfK-0001X2-5u for larch@yhetil.org; Fri, 15 May 2020 05:30:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZWfC-0001Wt-Po for guix-devel@gnu.org; Fri, 15 May 2020 05:29:54 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:56105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZWfB-0007nU-8c; Fri, 15 May 2020 05:29:54 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8C2F21C0003; Fri, 15 May 2020 09:29:46 +0000 (UTC) From: Pierre Neidhardt To: guix-devel@gnu.org Subject: Re: DXVK 1.5: Need to use the mingw compiler, anyone? In-Reply-To: <87tv5wh31y.fsf@ambrevar.xyz> References: <87tv5wh31y.fsf@ambrevar.xyz> Date: Fri, 15 May 2020 11:29:45 +0200 Message-ID: <877dxdzgty.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@ambrevar.xyz; helo=relay5-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 05:06:51 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe , Carl Dong Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.39 X-TUID: 8+rjhg+iytiz --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable DXVK 1.6 does not seem to build with Winelib anymore and upstream has deprecated Winelib for a while. I'm trying to compile dxvk with mingw instead. How do I use mingw to build a package (dxvk uses meson)? Can I use the #:system argument? Otherwise I could add mingw as input like this: =2D-8<---------------cut here---------------start------------->8--- (make-mingw-w64 "x86_64" #:xgcc (cross-gcc "x86_64-linux-gnu") #:xbinutils (cross-binutils "x86_64-linux-gnu") #:with-winpthreads? #t) =2D-8<---------------cut here---------------end--------------->8--- or, for the 32-bit build (dxvk needs both) =2D-8<---------------cut here---------------start------------->8--- (make-mingw-w64 "i686" #:xgcc (cross-gcc "i686-linux-gnu") #:xbinutils (cross-binutils "i686-linux-gnu") #:with-winpthreads? #t) =2D-8<---------------cut here---------------end--------------->8--- I can't seem to be able to build the mingw compiler though. The following fails on master =2D-8<---------------cut here---------------start------------->8--- ./guix/pre-inst-env guix build -e '((@@ (gnu packages mingw) make-mingw-w64= ) "i686" #:xgcc ((@@ (gnu packages cross-base) cross-gcc) "i686-linux-gnu")= #:xbinutils ((@@ (gnu packages cross-base) cross-binutils) "i686-linux-gnu= ") #:with-winpthreads? #t)' =2D-8<---------------cut here---------------end--------------->8--- with =2D-8<---------------cut here---------------start------------->8--- checking how to run the C preprocessor... /gnu/store/0qqmpdm7v8jigvvv5i05ih= dz2jlbmjmf-gcc-cross-sans-libc-i686-linux-gnu-7.5.0/bin/i686-w64-mingw32-cpp configure: error: in `/tmp/guix-build-mingw-w64-i686-7.0.0.drv-0/mingw-w64-= v7.0.0/mingw-w64-crt': configure: error: C preprocessor "/gnu/store/0qqmpdm7v8jigvvv5i05ihdz2jlbmj= mf-gcc-cross-sans-libc-i686-linux-gnu-7.5.0/bin/i686-w64-mingw32-cpp" fails= sanity check See `config.log' for more details configure: error: ./configure failed for mingw-w64-crt command "/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bi= n/bash" "./configure" "CONFIG_SHELL=3D/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxw= cfyk72-bash-minimal-5.0.16/bin/bash" "SHELL=3D/gnu/store/pwcp239kjf7lnj5i4l= kdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "--prefix=3D/gnu/store/x7pl1lh= 5x81s047bgp3j00dp2qrqkviv-mingw-w64-i686-7.0.0" "--enable-fast-install" "--= build=3Dx86_64-unknown-linux-gnu" "--host=3Di686-w64-mingw32" failed with s= tatus 1 builder for `/gnu/store/i5i6zq8b6knrr96l554d8lw2pd2mbii6-mingw-w64-i686-7.0= .0.drv' failed with exit code 1 =2D-8<---------------cut here---------------end--------------->8--- Any idea? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl6+YQkACgkQm9z0l6S7 zH+Iwgf+NQjHP+aNJaxf63By0c40FLtfGIaYuDMXaabvfjmn36lbdxFd5KyPnZK/ UXrmfF4lwH5b/RToTze71CkzJ4q68CniBSQafMjQwoKnyJnuh8Si80XYyXdrlNL5 yT/wZFm1CAtRSg23YuVyJ4Y3iaoQVgiBe1B2qQuAUnbRqWh2k2k9NBO/5MoL+knw jMUoT7hpjmL1fa7MUg+nDCsBA5zMd65Ma9HLC99Srrm0E6Kh0QTmc+syUliwo4Vg Op5tLzyiL11oAhjFV7Jh7RXmTZ9EueBhjsnp45af+Bno/tYI2WLlaS/8/eOTzScP 4CvG01LgjILoGM8B75K7dMILiSzNQQ== =5UF5 -----END PGP SIGNATURE----- --=-=-=--