On 2024/06/20 19:43, Thomas Frohwein wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]    2024/06/20 19:43:09
> 
> Log message:
>     import games/powder-toy
>     input sthen@
>     ok volker@
>     
>     DESCR:
>     The Powder Toy is a free physics sandbox game, which simulates air 
> pressure and
>     velocity, heat, gravity and a countless number of interactions between 
> different
>     substances! The game provides you with various building materials, 
> liquids,
>     gases and electronic components which can be used to construct complex 
> machines,
>     guns, bombs, realistic terrains and almost anything else. You can then 
> mine them
>     and watch cool explosions, add intricate wirings, play with little 
> stickmen or
>     operate your machine. You can browse and play thousands of different 
> saves made
>     by the community or upload your own! There is a Lua API - you can 
> automate your
>     work or even make plugins for the game.
>     
>     Status:
>     
>     Vendor Tag:       thfr
>     Release Tags:     thfr_20240620
>     
>     N ports/games/powder-toy/Makefile
>     N ports/games/powder-toy/distinfo
>     N ports/games/powder-toy/patches/patch-src_PowderToy_cpp
>     N ports/games/powder-toy/pkg/DESCR
>     N ports/games/powder-toy/pkg/PLIST
>     
>     No conflicts created by this import
> 

This one fails on i386,

FAILED: powder.p/src_X86KillDenormals.cpp.o
c++ -Ipowder.p -I. -I../The-Powder-Toy-98.2.365 -Isrc 
-I../The-Powder-Toy-98.2.365/src -Iresources 
-I../The-Powder-Toy-98.2.365/resourc
es -I/usr/include -I/usr/local/include/libpng16 -I/usr/local/include/SDL2 
-I/usr/X11R6/include -I/usr/local/include/luajit-2.1 -I/usr/l
ocal/include -fdiagnostics-color=always -D_LIBCPP_ENABLE_ASSERTIONS=1 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -fno-rtti -
O2 -pipe -D_REENTRANT -pthread -ftree-vectorize -funsafe-math-optimizations 
-ffast-math -fomit-frame-pointer -Wno-invalid-offsetof -Wno
-unused-result -Wno-missing-field-initializers -Wno-unused-parameter -MD -MQ 
powder.p/src_X86KillDenormals.cpp.o -MF powder.p/src_X86Ki
llDenormals.cpp.o.d -o powder.p/src_X86KillDenormals.cpp.o -c 
../The-Powder-Toy-98.2.365/src/X86KillDenormals.cpp
../The-Powder-Toy-98.2.365/src/X86KillDenormals.cpp:7:2: error: '_mm_setcsr' 
needs target feature sse                                          
_MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
        ^                                                                       
                                                       
/usr/lib/clang/16/include/xmmintrin.h:2977:37: note: expanded from macro 
'_MM_SET_FLUSH_ZERO_MODE'
#define _MM_SET_FLUSH_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & 
~_MM_FLUSH_ZERO_MASK) | (x)))                                                   
                            ^
../The-Powder-Toy-98.2.365/src/X86KillDenormals.cpp:7:2: error: '_mm_getcsr' 
needs target feature sse
/usr/lib/clang/16/include/xmmintrin.h:2977:49: note: expanded from macro 
'_MM_SET_FLUSH_ZERO_MODE'                                     #define 
_MM_SET_FLUSH_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_FLUSH_ZERO_MASK) | 
(x)))
                                                ^
../The-Powder-Toy-98.2.365/src/X86KillDenormals.cpp:8:2: error: '_mm_setcsr' 
needs target feature sse
        _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
        ^
/usr/lib/clang/16/include/emmintrin.h:4773:4: note: expanded from macro 
'_MM_SET_DENORMALS_ZERO_MODE'
  (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
   ^
../The-Powder-Toy-98.2.365/src/X86KillDenormals.cpp:8:2: error: '_mm_getcsr' 
needs target feature sse
/usr/lib/clang/16/include/emmintrin.h:4773:16: note: expanded from macro 
'_MM_SET_DENORMALS_ZERO_MODE'                                   
(_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
               ^                                                                
                                                       4 errors generated.
ninja: build stopped: subcommand failed.

Reply via email to