Hello All,
We are trying to build Wine Source 6.0.1 on AIX 7 but it is failing in winebuild command. In Wine website it mentioned that Wine works on PowerPC. Does anyone have any idea?
Assembler version: bash-5.0$ /usr/bin/as -v as V7.1
bash-5.0$ tools/winebuild/winebuild -v -w --implib -o dlls/ucrtbase/libucrtbase.a --export dlls/ucrtbase/ucrtbase.spec dlls/ucrtbase/crt_gccmain.o dlls/ucrtbase/crt_main.o dlls/ucrtbase/crt_winmain.o dlls/ucrtbase/crt_wmain.o dlls/ucrtbase/crt_wwinmain.o dlls/ucrtbase/mathf.o dlls/ucrtbase/printf.o /usr/bin/as -o ucrtbase.I7tD9N.o dlls/ucrtbase/libucrtbase.WYBdSA.s Assembler: dlls/ucrtbase/libucrtbase.WYBdSA.s: line 1: 1252-016 The specified opcode or pseudo-op is not valid. Use supported instructions or pseudo-ops only. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-211 Invalid relocation type: function. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-142 Syntax error. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 6: 1252-016 The specified opcode or pseudo-op is not valid. Use supported instructions or pseudo-ops only. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 8: 1252-142 Syntax error. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 9: 1252-016 The specified opcode or pseudo-op is not valid. Use supported instructions or pseudo-ops only. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-142 Syntax error. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-211 Invalid relocation type: progbits. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-142 Syntax error. winebuild: /usr/bin/as failed with status 1
regards, Mahin
Hello Mahin,
wine-6.0 officially removed PPC32 support, see the release notes https://www.winehq.org/announce/6.0 "- Support for the obsolete 32-bit PowerPC architecture is removed. It had been broken for some time already."
PPC64 was never supported. Afair there were talks about adding PPC64LE but that never materialized. André might know how far that is.
Also, I don't remember that AIX was ever supported. So that would be an additional effort.
bye michael
On 8/12/21 5:20 PM, Mahin Pandya wrote:
Hello All,
We are trying to build Wine Source 6.0.1 on AIX 7 but it is failing in winebuild command. In Wine website it mentioned that Wine works on PowerPC. Does anyone have any idea?
Assembler version:
bash-5.0$ /usr/bin/as -v
as V7.1
*bash-5.0$ tools/winebuild/winebuild -v -w --implib -o dlls/ucrtbase/libucrtbase.a --export dlls/ucrtbase/ucrtbase.spec dlls/ucrtbase/crt_gccmain.o dlls/ucrtbase/crt_main.o dlls/ucrtbase/crt_winmain.o dlls/ucrtbase/crt_wmain.o dlls/ucrtbase/crt_wwinmain.o dlls/ucrtbase/mathf.o dlls/ucrtbase/printf.o*
*/usr/bin/as -o ucrtbase.I7tD9N.o dlls/ucrtbase/libucrtbase.WYBdSA.s*
*Assembler:*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 1: 1252-016 The specified opcode or pseudo-op is not valid.*
* Use supported instructions or pseudo-ops only.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-211 Invalid relocation type: function.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-142 Syntax error.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 6: 1252-016 The specified opcode or pseudo-op is not valid.*
* Use supported instructions or pseudo-ops only.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 8: 1252-142 Syntax error.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 9: 1252-016 The specified opcode or pseudo-op is not valid.*
* Use supported instructions or pseudo-ops only.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-142 Syntax error.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-211 Invalid relocation type: progbits.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-142 Syntax error.*
*winebuild: /usr/bin/as failed with status 1*
* *
regards,
Mahin
Thanks Michael for quick response.
Hello Andre, Is this https://github.com/AndreRH/wine your repo ? This gives me something to play around.
regards, Mahin
-----Original Message----- From: Michael Stefaniuc mstefani@winehq.org Sent: Thursday, August 12, 2021 10:37 PM To: Mahin Pandya mahin.pandya@actian.com Cc: wine-devel@winehq.org; André Zwing nerv@dawncrow.de Subject: Re: Wine source build on AIX/PowerPC failing
Hello Mahin,
wine-6.0 officially removed PPC32 support, see the release notes https://www.winehq.org/announce/6.0 "- Support for the obsolete 32-bit PowerPC architecture is removed. It had been broken for some time already."
PPC64 was never supported. Afair there were talks about adding PPC64LE but that never materialized. André might know how far that is.
Also, I don't remember that AIX was ever supported. So that would be an additional effort.
bye michael
On 8/12/21 5:20 PM, Mahin Pandya wrote:
Hello All,
We are trying to build Wine Source 6.0.1 on AIX 7 but it is failing in winebuild command. In Wine website it mentioned that Wine works on PowerPC. Does anyone have any idea?
Assembler version:
bash-5.0$ /usr/bin/as -v
as V7.1
*bash-5.0$ tools/winebuild/winebuild -v -w --implib -o dlls/ucrtbase/libucrtbase.a --export dlls/ucrtbase/ucrtbase.spec dlls/ucrtbase/crt_gccmain.o dlls/ucrtbase/crt_main.o dlls/ucrtbase/crt_winmain.o dlls/ucrtbase/crt_wmain.o dlls/ucrtbase/crt_wwinmain.o dlls/ucrtbase/mathf.o dlls/ucrtbase/printf.o*
*/usr/bin/as -o ucrtbase.I7tD9N.o dlls/ucrtbase/libucrtbase.WYBdSA.s*
*Assembler:*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 1: 1252-016 The specified opcode or pseudo-op is not valid.*
* Use supported instructions or pseudo-ops only.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-211 Invalid relocation type: function.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-142 Syntax error.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 6: 1252-016 The specified opcode or pseudo-op is not valid.*
* Use supported instructions or pseudo-ops only.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 8: 1252-142 Syntax error.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 9: 1252-016 The specified opcode or pseudo-op is not valid.*
* Use supported instructions or pseudo-ops only.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-142 Syntax error.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-211 Invalid relocation type: progbits.*
*dlls/ucrtbase/libucrtbase.WYBdSA.s: line 10: 1252-142 Syntax error.*
*winebuild: /usr/bin/as failed with status 1*
* *
regards,
Mahin
Am 13.08.2021 um 20:06 schrieb Mahin Pandya mahin.pandya@actian.com:
Thanks Michael for quick response.
Hello Andre, Is this https://github.com/AndreRH/wine your repo ? This gives me something to play around.
I am not André, but yes, that is his git repo. The hangover branch contains a squashed commit for ppc64le support, but it is built on a slightly dated Wine tree. Rebasing this is not trivial.
Note that the hangover branch contains other stuff too (see https://github.com/AndreRH/hangover ) that may or may not be of interest for you
Am 14.08.21 um 11:59 schrieb Stefan Dösinger:
Am 13.08.2021 um 20:06 schrieb Mahin Pandya mahin.pandya@actian.com:
Thanks Michael for quick response.
Hello Andre, Is this https://github.com/AndreRH/wine your repo ? This gives me something to play around.
I am not André, but yes, that is his git repo. The hangover branch contains a squashed commit for ppc64le support, but it is built on a slightly dated Wine tree. Rebasing this is not trivial.
Note that the hangover branch contains other stuff too (see https://github.com/AndreRH/hangover ) that may or may not be of interest for you
Hello,
Let's leave Hangover aside and just try to build this tag: https://github.com/AndreRH/wine/releases/tag/ppc64le-6.10
Thanks André & Stefan. Tried using both repo but facing issue to build on AIX which is CPU type as POWERPC, got errors in "make" due to assembler "as" (which is native) in AIX, opcode is not recognized.
bash-5.0$ tools/winebuild/winebuild -v -w --implib -o dlls/ucrtbase/libucrtbase.a --export dlls/ucrtbase/ucrtbase.spec dlls/ucrtbase/crt_gccmain.o dlls/ucrtbase/crt_main.o dlls/ucrtbase/crt_winmain.o dlls/ucrtbase/crt_wmain.o dlls/ucrtbase/crt_wwinmain.o dlls/ucrtbase/mathf.o dlls/ucrtbase/printf.o /usr/bin/as -o ucrtbase.I7tD9N.o dlls/ucrtbase/libucrtbase.WYBdSA.s Assembler: dlls/ucrtbase/libucrtbase.WYBdSA.s: line 1: 1252-016 The specified opcode or pseudo-op is not valid. Use supported instructions or pseudo-ops only. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-211 Invalid relocation type: function. ...
So looks like it need change in utils.c (many more files) or may be GNU assembler helps.
Content of " libucrtbase.WYBdSA.s": .text .align 2 .type _Cbuild,@function .globl _Cbuild .hidden _Cbuild _Cbuild: .long __wine$func$ucrtbase$1$_Cbuild .size _Cbuild, .-_Cbuild .section .note.GNU-stack,"",@progbits
-----Original Message----- From: André Zwing nerv@dawncrow.de Sent: Monday, August 16, 2021 6:04 PM To: Stefan Dösinger stefandoesinger@gmail.com; Mahin Pandya mahin.pandya@actian.com Cc: Michael Stefaniuc mstefani@winehq.org; wine-devel@winehq.org Subject: Re: Wine source build on AIX/PowerPC failing
Am 14.08.21 um 11:59 schrieb Stefan Dösinger:
Am 13.08.2021 um 20:06 schrieb Mahin Pandya mahin.pandya@actian.com:
Thanks Michael for quick response.
Hello Andre, Is this https://github.com/AndreRH/wine your repo ? This gives me something to play around.
I am not André, but yes, that is his git repo. The hangover branch contains a squashed commit for ppc64le support, but it is built on a slightly dated Wine tree. Rebasing this is not trivial.
Note that the hangover branch contains other stuff too (see https://github.com/AndreRH/hangover ) that may or may not be of interest for you
Hello,
Let's leave Hangover aside and just try to build this tag: https://github.com/AndreRH/wine/releases/tag/ppc64le-6.10
Oh, in case it's really 32-Bit PPC, you should rather try Wine 5.0 or older.
Am 17.08.21 um 16:32 schrieb Mahin Pandya:
Thanks André & Stefan. Tried using both repo but facing issue to build on AIX which is CPU type as POWERPC, got errors in "make" due to assembler "as" (which is native) in AIX, opcode is not recognized.
bash-5.0$ tools/winebuild/winebuild -v -w --implib -o dlls/ucrtbase/libucrtbase.a --export dlls/ucrtbase/ucrtbase.spec dlls/ucrtbase/crt_gccmain.o dlls/ucrtbase/crt_main.o dlls/ucrtbase/crt_winmain.o dlls/ucrtbase/crt_wmain.o dlls/ucrtbase/crt_wwinmain.o dlls/ucrtbase/mathf.o dlls/ucrtbase/printf.o /usr/bin/as -o ucrtbase.I7tD9N.o dlls/ucrtbase/libucrtbase.WYBdSA.s Assembler: dlls/ucrtbase/libucrtbase.WYBdSA.s: line 1: 1252-016 The specified opcode or pseudo-op is not valid. Use supported instructions or pseudo-ops only. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-211 Invalid relocation type: function. ...
So looks like it need change in utils.c (many more files) or may be GNU assembler helps.
Content of " libucrtbase.WYBdSA.s": .text .align 2 .type _Cbuild,@function .globl _Cbuild .hidden _Cbuild _Cbuild: .long __wine$func$ucrtbase$1$_Cbuild .size _Cbuild, .-_Cbuild .section .note.GNU-stack,"",@progbits
-----Original Message----- From: André Zwing nerv@dawncrow.de Sent: Monday, August 16, 2021 6:04 PM To: Stefan Dösinger stefandoesinger@gmail.com; Mahin Pandya mahin.pandya@actian.com Cc: Michael Stefaniuc mstefani@winehq.org; wine-devel@winehq.org Subject: Re: Wine source build on AIX/PowerPC failing
Am 14.08.21 um 11:59 schrieb Stefan Dösinger:
Am 13.08.2021 um 20:06 schrieb Mahin Pandya mahin.pandya@actian.com:
Thanks Michael for quick response.
Hello Andre, Is this https://github.com/AndreRH/wine your repo ? This gives me something to play around.
I am not André, but yes, that is his git repo. The hangover branch contains a squashed commit for ppc64le support, but it is built on a slightly dated Wine tree. Rebasing this is not trivial.
Note that the hangover branch contains other stuff too (see https://github.com/AndreRH/hangover ) that may or may not be of interest for you
Hello,
Let's leave Hangover aside and just try to build this tag: https://github.com/AndreRH/wine/releases/tag/ppc64le-6.10
Doesn't AIX use XCOFF instead of ELF?
August 17, 2021 9:32 AM, "Mahin Pandya" mahin.pandya@actian.com wrote:
Thanks André & Stefan. Tried using both repo but facing issue to build on AIX which is CPU type as POWERPC, got errors in "make" due to assembler "as" (which is native) in AIX, opcode is not recognized.
bash-5.0$ tools/winebuild/winebuild -v -w --implib -o dlls/ucrtbase/libucrtbase.a --export dlls/ucrtbase/ucrtbase.spec dlls/ucrtbase/crt_gccmain.o dlls/ucrtbase/crt_main.o dlls/ucrtbase/crt_winmain.o dlls/ucrtbase/crt_wmain.o dlls/ucrtbase/crt_wwinmain.o dlls/ucrtbase/mathf.o dlls/ucrtbase/printf.o /usr/bin/as -o ucrtbase.I7tD9N.o dlls/ucrtbase/libucrtbase.WYBdSA.s Assembler: dlls/ucrtbase/libucrtbase.WYBdSA.s: line 1: 1252-016 The specified opcode or pseudo-op is not valid. Use supported instructions or pseudo-ops only. dlls/ucrtbase/libucrtbase.WYBdSA.s: line 4: 1252-211 Invalid relocation type: function. ...
So looks like it need change in utils.c (many more files) or may be GNU assembler helps.
Content of " libucrtbase.WYBdSA.s": .text .align 2 .type _Cbuild,@function .globl _Cbuild .hidden _Cbuild _Cbuild: .long __wine$func$ucrtbase$1$_Cbuild .size _Cbuild, .-_Cbuild .section .note.GNU-stack,"",@progbits
-----Original Message----- From: André Zwing nerv@dawncrow.de Sent: Monday, August 16, 2021 6:04 PM To: Stefan Dösinger stefandoesinger@gmail.com; Mahin Pandya mahin.pandya@actian.com Cc: Michael Stefaniuc mstefani@winehq.org; wine-devel@winehq.org Subject: Re: Wine source build on AIX/PowerPC failing
Am 14.08.21 um 11:59 schrieb Stefan Dösinger:
Am 13.08.2021 um 20:06 schrieb Mahin Pandya mahin.pandya@actian.com:
Thanks Michael for quick response.
Hello Andre, Is this https://github.com/AndreRH/wine your repo ? This gives me something to play around.
I am not André, but yes, that is his git repo. The hangover branch contains a squashed commit for ppc64le support, but it is built on a slightly dated Wine tree. Rebasing this is not trivial.
Note that the hangover branch contains other stuff too (see https://github.com/AndreRH/hangover ) that may or may not be of interest for you
Hello,
Let's leave Hangover aside and just try to build this tag: https://github.com/AndreRH/wine/releases/tag/ppc64le-6.10
Chip