[Bug 47473] armv7hl compile fails due to non-AAPCS variadic function calls

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 7 06:59:46 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47473

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net

--- Comment #2 from Anastasius Focht <focht at 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.



More information about the wine-bugs mailing list