[Bug 47473] New: armv7hl compile fails due to non-AAPCS variadic function calls
https://bugs.winehq.org/show_bug.cgi?id=47473 Bug ID: 47473 Summary: armv7hl compile fails due to non-AAPCS variadic function calls Product: Wine Version: 4.12 Hardware: arm OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: mike(a)cchtml.com Distribution: --- Created attachment 64846 --> https://bugs.winehq.org/attachment.cgi?id=64846 arm compile output It is isolated to asmparser_message() calls in dlls/d3dcompiler_43/asmparser.y. I'm attaching compiler output. One possible solution is to use WINAPIV on the function instead of __cdecl. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=47473 Michael Cronenworth <mike(a)cchtml.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |c8d34ef08886076e675293300e2 | |a86a0bae61f71 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=47473 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |43df1ed406143b9a9ba5b2450c2 | |1fece6563aa2e Resolution|--- |FIXED --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- It should be fixed by 43df1ed406143b9a9ba5b2450c21fece6563aa2e. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=47473 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #2 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, I can confirm it's fixed. Tested using ARMv7 hard-float cross-toolchain on my Intel devel host. --- snip --- ... $ /home/focht/projects/wine/mainline-src/configure --prefix=/home/focht/projects/wine/mainline-install-arm --with-float-abi=hard --with-fpu=neon --host=arm-pokymllib32-linux-gnueabi host_alias=arm-pokymllib32-linux-gnueabi --with-wine-tools=/home/focht/projects/wine/mainline-build-x86_64 --disable-mscoree --disable-tests --with-wine64= ... configure: loading site script /home/focht/projects/poky/sdk-install/site-config-armv7at2hf-neon-vfpv4-pokymllib32-linux-gnueabi checking build system type... x86_64-pc-linux-gnu checking host system type... arm-pokymllib32-linux-gnueabi checking whether make sets $(MAKE)... yes checking for arm-pokymllib32-linux-gnueabi-gcc... arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux accepts -g... yes checking for arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether arm-pokymllib32-linux-gnueabi-g++ -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux accepts -g... yes checking for arm-pokymllib32-linux-gnueabi-cpp... arm-pokymllib32-linux-gnueabi-cpp checking for arm-pokymllib32-linux-gnueabi-ld... arm-pokymllib32-linux-gnueabi-ld --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux checking whether arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux supports Thumb... yes checking for the directory containing the Wine tools... /home/focht/projects/wine/mainline-build-x86_64 checking for flex... flex checking whether flex is recent enough... yes checking for bison... bison checking whether bison is recent enough... yes ... checking for arm-pokymllib32-linux-gnueabi-pkg-config... /home/focht/projects/poky/sdk-install/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config checking whether msgfmt supports contexts... yes ... checking how to run the C preprocessor... arm-pokymllib32-linux-gnueabi-gcc -E -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux ... --- snip --- --- snip --- ... make[1]: Entering directory '/home/focht/projects/wine/mainline-build-arm/dlls/d3dcompiler_33' arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux -c -o asmparser.o /home/focht/projects/wine/mainline-src/dlls/d3dcompiler_33/../d3dcompiler_43/asmparser.c \ -I. -I/home/focht/projects/wine/mainline-src/dlls/d3dcompiler_33 \ -I/home/focht/projects/wine/mainline-src/dlls/d3dcompiler_33/../d3dcompiler_43 -I../../include \ -I/home/focht/projects/wine/mainline-src/include \ -I/home/focht/projects/wine/mainline-src/include/msvcrt -D__WINESRC__ -DD3D_COMPILER_VERSION=33 \ -D_REENTRANT -fPIC -fno-builtin -fshort-wchar -Wall -pipe -fno-strict-aliasing \ -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wno-packed-not-aligned \ -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \ -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2 -marm -mfloat-abi=hard -mfpu=neon arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/focht/projects/poky/sdk-install/sysroots/aarch64-poky-linux -c -o main.o /home/focht/projects/wine/mainline-src/dlls/d3dcompiler_38/../d3dcompiler_43/main.c \ -I. -I/home/focht/projects/wine/mainline-src/dlls/d3dcompiler_38 \ -I/home/focht/projects/wine/mainline-src/dlls/d3dcompiler_38/../d3dcompiler_43 -I../../include \ -I/home/focht/projects/wine/mainline-src/include \ -I/home/focht/projects/wine/mainline-src/include/msvcrt -D__WINESRC__ -DD3D_COMPILER_VERSION=38 \ -D_REENTRANT -fPIC -fno-builtin -fshort-wchar -Wall -pipe -fno-strict-aliasing \ -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wno-packed-not-aligned \ -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \ -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2 -marm -mfloat-abi=hard -mfpu=neon ... /home/focht/projects/wine/mainline-build-x86_64/tools/winegcc/winegcc -o d3dcompiler_33.dll.fake \ -B/home/focht/projects/wine/mainline-build-x86_64/tools/winebuild --sysroot=../.. -b \ arm-pokymllib32-linux-gnueabi -marm -mfloat-abi=hard -mfpu=neon -fPIC -fasynchronous-unwind-tables \ -shared /home/focht/projects/wine/mainline-src/dlls/d3dcompiler_33/d3dcompiler_33.spec -mno-cygwin \ asmparser.o blob.o bytecodewriter.o compiler.o main.o preproc.o reflection.o utils.o \ asmshader.tab.o hlsl.tab.o ppy.tab.o asmshader.yy.o hlsl.yy.o ppl.yy.o version.res \ ../../dlls/dxguid/libdxguid.a ../../dlls/uuid/libuuid.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed make[1]: Leaving directory '/home/focht/projects/wine/mainline-build-arm/dlls/d3dcompiler_33' ... --- snip --- $ wine --version wine-4.12.1 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=47473 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.13. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org