Package: src:dosbox-x
Version: 2023.09.01+dfsg-1
Tags: upstream ftbfs
Forwarded: https://github.com/joncampbell123/dosbox-x/issues/3751

Dear Maintainer,

dosbox-x fails to build on big-endian platforms:

g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../..  -I../../../include 
-I../../../src -Wno-int-to-void-pointer-cast   -Wno-address-of-packed-member   
-Wno-format-zero-length   -Wno-missing-field-initializers   
-Wno-strict-aliasing   -Wno-implicit-fallthrough   -Wno-deprecated-declarations 
  -Wconversion-null   -Wsign-promo   -Wlogical-op   -Wno-error=format-security  
 -pedantic   -Wunused   -Wextra   -Wall  -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/SDL2 -D_REENTRANT   -I/<<PKGBUILDDIR>> 
-I/<<PKGBUILDDIR>>/vs/sdlnet/linux-host/include 
-I/<<PKGBUILDDIR>>/vs/sdlnet/linux-host/include/SDL -I/usr/include/freetype2 
-I/usr/include/libpng16  -I/usr/include/slirp -I/usr/include/glib-2.0 
-I/usr/lib/s390x-linux-gnu/glib-2.0/include   -g 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=gnu++14  -O2  -Wall   -Wextra   -Wunused   
-pedantic   -Wno-error=format-security   -Wlogical-op   -Wsign-promo   
-Wconversion-null   -Wno-deprecated-declarations   -Wno-implicit-fallthrough   
-Wno-strict-aliasing   -Wno-missing-field-initializers   
-Wno-format-zero-length   -Wno-address-of-packed-member   
-Wno-int-to-void-pointer-cast  -I/<<PKGBUILDDIR>> 
-I/<<PKGBUILDDIR>>/vs/sdlnet/linux-host/include 
-I/<<PKGBUILDDIR>>/vs/sdlnet/linux-host/include/SDL -D_XOPEN_SOURCE=700 
-D_POSIX_C_SOURCE=200809L  -c -o core_normal_8086.o 
../../../src/cpu/core_normal_8086.cpp
In file included from ../../../src/cpu/core_normal/prefix_0f.h:2180,
                 from ../../../src/cpu/core_normal.cpp:181:
../../../src/cpu/core_normal/prefix_0f_mmx.h: In function ‘Bits 
CPU_Core_Normal_Run()’:
../../../src/cpu/core_normal/prefix_0f_mmx.h:1080:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1080 |                 dest->uw.w0 = src.uwa[ imm8     &3u]; /* uwa[0] is 
uw.w0, see MMX_reg union */
      |                                   ^~~
      |                                   uw
../../../src/cpu/core_normal/prefix_0f_mmx.h:1081:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1081 |                 dest->uw.w1 = src.uwa[(imm8>>2u)&3u];
      |                                   ^~~
      |                                   uw
../../../src/cpu/core_normal/prefix_0f_mmx.h:1082:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1082 |                 dest->uw.w2 = src.uwa[(imm8>>4u)&3u];
      |                                   ^~~
      |                                   uw
../../../src/cpu/core_normal/prefix_0f_mmx.h:1083:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1083 |                 dest->uw.w3 = src.uwa[(imm8>>6u)&3u];
      |                                   ^~~
      |                                   uw
In file included from ../../../src/cpu/core_normal/prefix_66_0f.h:541,
                 from ../../../src/cpu/core_normal.cpp:183:
../../../src/cpu/core_normal/prefix_0f_mmx.h:1080:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1080 |                 dest->uw.w0 = src.uwa[ imm8     &3u]; /* uwa[0] is 
uw.w0, see MMX_reg union */
      |                                   ^~~
      |                                   uw
../../../src/cpu/core_normal/prefix_0f_mmx.h:1081:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1081 |                 dest->uw.w1 = src.uwa[(imm8>>2u)&3u];
      |                                   ^~~
      |                                   uw
../../../src/cpu/core_normal/prefix_0f_mmx.h:1082:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1082 |                 dest->uw.w2 = src.uwa[(imm8>>4u)&3u];
      |                                   ^~~
      |                                   uw
../../../src/cpu/core_normal/prefix_0f_mmx.h:1083:35: error: ‘union MMX_reg’ 
has no member named ‘uwa’; did you mean ‘uw’?
 1083 |                 dest->uw.w3 = src.uwa[(imm8>>6u)&3u];
      |                                   ^~~
      |                                   uw


Regards,

Stephen

Reply via email to