Re: Dropping wine from ARM

2022-04-10 Thread Zebediah Figura
On 3/30/22 09:49, Neal Gompa wrote: On Wed, Mar 30, 2022 at 10:44 AM NightStrike wrote: On Wed, Mar 30, 2022, 08:34 Michael Cronenworth wrote: Hi, Fedora currently ships Wine 7.3 released February 25th, 2022. Wine 7.4, released March 11th, started to require a 'llvm-mingw' compiler for

Re: Dropping wine from ARM

2022-04-02 Thread Michael Cronenworth
On 3/31/22 9:15 AM, Michael Cronenworth wrote: I think this will get us a working build for x86 and ARM arches. Almost. x86 and ARM64 build now. ARM 32-bit has a few issues that neither upstream nor I have time to address. I may end up dropping ARM 32-bit from current Fedora releases

Re: Dropping wine from ARM

2022-03-31 Thread Tom Stellard
On 3/31/22 04:56, Michael Cronenworth wrote: On 3/30/22 11:04 PM, Tom Stellard wrote: $ x86_64-w64-mingw32-gcc -c test.c -v .. snip .. #include <...> search starts here:   /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include   /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include-fixed This path is the

Re: Dropping wine from ARM

2022-03-31 Thread Michael Cronenworth
On 3/31/22 7:43 AM, Mamoru TASAKA wrote: Actually it seems --target=foo, not -target foo Both argument types work. I had just ignored the "ignoring..." text. I'll have to use the bundled libs on only ARM arches. We don't have MinGW for ARM in Fedora. I think this will get us a working

Re: Dropping wine from ARM

2022-03-31 Thread Mamoru TASAKA
Michael Cronenworth wrote on 2022/03/31 20:56: On 3/30/22 11:04 PM, Tom Stellard wrote: $ x86_64-w64-mingw32-gcc -c test.c -v .. snip .. #include <...> search starts here:   /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include   /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include-fixed This path is the

Re: Dropping wine from ARM

2022-03-31 Thread Michael Cronenworth
On 3/30/22 11:04 PM, Tom Stellard wrote: $ x86_64-w64-mingw32-gcc -c test.c -v .. snip .. #include <...> search starts here:   /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include   /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include-fixed This path is the Fedora MinGW path:   

Re: Dropping wine from ARM

2022-03-30 Thread Tom Stellard
On 3/30/22 18:59, Michael Cronenworth wrote: On 3/30/22 8:33 PM, Tom Stellard wrote: Looking at the builds with gcc, there is an extra option passed to gcc: -I./libs/zlib which is not passed to clang.  So maybe this is an issue with the build system? You may have looked at an older build as

Re: Dropping wine from ARM

2022-03-30 Thread Tom Stellard
On 3/30/22 18:59, Michael Cronenworth wrote: On 3/30/22 8:33 PM, Tom Stellard wrote: Looking at the builds with gcc, there is an extra option passed to gcc: -I./libs/zlib which is not passed to clang.  So maybe this is an issue with the build system? You may have looked at an older build as

Re: Dropping wine from ARM

2022-03-30 Thread Michael Cronenworth
On 3/30/22 8:33 PM, Tom Stellard wrote: Looking at the builds with gcc, there is an extra option passed to gcc: -I./libs/zlib which is not passed to clang.  So maybe this is an issue with the build system? You may have looked at an older build as that is pointing to the bundled MinGW zlib.

Re: Dropping wine from ARM

2022-03-30 Thread Tom Stellard
On 3/30/22 18:33, Tom Stellard wrote: On 3/30/22 17:01, Michael Cronenworth wrote: On 3/30/22 11:36 AM, Mamoru TASAKA wrote: ar is failing so the fault is in binutils at the first look. By the way: - First of all, should /usr/lib64/wine/aarch64-windows/libdbghelp.a (or any other static

Re: Dropping wine from ARM

2022-03-30 Thread Tom Stellard
On 3/30/22 17:01, Michael Cronenworth wrote: On 3/30/22 11:36 AM, Mamoru TASAKA wrote: ar is failing so the fault is in binutils at the first look. By the way: - First of all, should /usr/lib64/wine/aarch64-windows/libdbghelp.a (or any other static archive) be packed   (i.e. are static

Re: Dropping wine from ARM

2022-03-30 Thread Tom Stellard
On 3/30/22 09:36, Mamoru TASAKA wrote: Michael Cronenworth wrote on 2022/03/31 1:25: On 3/30/22 8:51 AM, Michael Cronenworth wrote: On 3/30/22 8:42 AM, Neal Gompa wrote: That sounds like a bug in the package, because our LLVM build has all targets enabled on Fedora:

Re: Dropping wine from ARM

2022-03-30 Thread Michael Cronenworth
On 3/30/22 11:36 AM, Mamoru TASAKA wrote: ar is failing so the fault is in binutils at the first look. By the way: - First of all, should /usr/lib64/wine/aarch64-windows/libdbghelp.a (or any other static archive) be packed   (i.e. are static archives needed in wine binary rpm)?   If not, just

Re: Dropping wine from ARM

2022-03-30 Thread Mamoru TASAKA
Michael Cronenworth wrote on 2022/03/31 1:25: On 3/30/22 8:51 AM, Michael Cronenworth wrote: On 3/30/22 8:42 AM, Neal Gompa wrote: That sounds like a bug in the package, because our LLVM build has all targets enabled on Fedora:

Re: Dropping wine from ARM

2022-03-30 Thread Michael Cronenworth
On 3/30/22 8:51 AM, Michael Cronenworth wrote: On 3/30/22 8:42 AM, Neal Gompa wrote: That sounds like a bug in the package, because our LLVM build has all targets enabled on Fedora: https://src.fedoraproject.org/rpms/llvm/blob/rawhide/f/llvm.spec#_51-52 OK, bug filed.

Re: Dropping wine from ARM

2022-03-30 Thread Neal Gompa
On Wed, Mar 30, 2022 at 10:44 AM NightStrike wrote: > > > > On Wed, Mar 30, 2022, 08:34 Michael Cronenworth wrote: >> >> Hi, >> >> Fedora currently ships Wine 7.3 released February 25th, 2022. >> >> Wine 7.4, released March 11th, started to require a 'llvm-mingw' compiler >> for ARM64 >>

Re: Dropping wine from ARM

2022-03-30 Thread Michael Cronenworth
On 3/30/22 8:42 AM, Neal Gompa wrote: That sounds like a bug in the package, because our LLVM build has all targets enabled on Fedora: https://src.fedoraproject.org/rpms/llvm/blob/rawhide/f/llvm.spec#_51-52 OK, bug filed. https://bugzilla.redhat.com/show_bug.cgi?id=2070151

Re: Dropping wine from ARM

2022-03-30 Thread Neal Gompa
On Wed, Mar 30, 2022 at 9:37 AM Michael Cronenworth wrote: > > On 3/30/22 8:26 AM, Neal Gompa wrote: > > The main llvm package should be capable of this already, as it's a > > retargetable compiler. The clang package provides a clang program > > that's capable of this. > > The configure test in

Re: Is mingw-llvm useful? (was Re: Dropping wine from ARM)

2022-03-30 Thread Neal Gompa
On Wed, Mar 30, 2022 at 9:35 AM Sandro Mani wrote: > > > On 30.03.22 15:31, Sandro Mani wrote: > > > > On 30.03.22 15:26, Neal Gompa wrote: > >> On Wed, Mar 30, 2022 at 9:25 AM Michael Cronenworth > >> wrote: > >>> On 3/30/22 7:38 AM, Sandro Mani wrote: > Hi > > What does

Re: Dropping wine from ARM

2022-03-30 Thread Michael Cronenworth
On 3/30/22 8:26 AM, Neal Gompa wrote: The main llvm package should be capable of this already, as it's a retargetable compiler. The clang package provides a clang program that's capable of this. The configure test in Wine disagrees: checking for clang... clang checking whether clang works...

Re: Is mingw-llvm useful? (was Re: Dropping wine from ARM)

2022-03-30 Thread Sandro Mani
On 30.03.22 15:31, Sandro Mani wrote: On 30.03.22 15:26, Neal Gompa wrote: On Wed, Mar 30, 2022 at 9:25 AM Michael Cronenworth wrote: On 3/30/22 7:38 AM, Sandro Mani wrote: Hi What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm package. Thanks Sandro It is a complete,

Is mingw-llvm useful? (was Re: Dropping wine from ARM)

2022-03-30 Thread Sandro Mani
On 30.03.22 15:26, Neal Gompa wrote: On Wed, Mar 30, 2022 at 9:25 AM Michael Cronenworth wrote: On 3/30/22 7:38 AM, Sandro Mani wrote: Hi What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm package. Thanks Sandro It is a complete, cross-compiling, Windows PE building

Re: Dropping wine from ARM

2022-03-30 Thread Neal Gompa
On Wed, Mar 30, 2022 at 9:25 AM Michael Cronenworth wrote: > > On 3/30/22 7:38 AM, Sandro Mani wrote: > > Hi > > > > What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm package. > > > > Thanks > > Sandro > > > It is a complete, cross-compiling, Windows PE building toolchain[1][2] that

Re: Dropping wine from ARM

2022-03-30 Thread Michael Cronenworth
On 3/30/22 7:38 AM, Sandro Mani wrote: Hi What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm package. Thanks Sandro It is a complete, cross-compiling, Windows PE building toolchain[1][2] that uses llvm instead of gcc. The 'mingw-llvm' package is the llvm backend in PE form and

Re: Dropping wine from ARM

2022-03-30 Thread Sandro Mani
Hi What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm package. Thanks Sandro On 30.03.22 14:33, Michael Cronenworth wrote: Hi, Fedora currently ships Wine 7.3 released February 25th, 2022. Wine 7.4, released March 11th, started to require a 'llvm-mingw' compiler for ARM64