Technical support > Windows
make_UfoAI_win32 (all in one win32 build script)
Muton:
try to use
k8-sse3
or
sse3 (not ssse3)
balasar:
With K8-sse3 and only K8 and sse3 is the same error. If decrease O3 to O2 - error is gone.
Update
I made another discovery - error not occurs if you select only one core (any of the two).
bucata:
http://imageshack.us/photo/my-images/7/instance.png/
Compiled this game 10000 times and now i got this!? Any idea anyone.
I tryed all even re-downloaded all sources, compilers and shit.
Muton:
@balasar
Just to clear things
O3 O2 ... isnt called by the script
I just use it to keep things strait and simple
The reason is this error you get
gcc group a lot of options into Os O1 O2 ...
I simply removed all those options that let ufo2map crash on a AMD K8 & intel
-O3 adds this option
-finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize
Because i dont have a K10 at hand
try this
run
C:\UFOAIwin32BUILDenv\MinGW\msys.bat
use the arrow up button to
export LDFLAGS='-s' ; export CFLAGS='-mtune=native -O1 -msse -mfpmath=sse -mieee-fp -fno-strict-aliasing ....' && make ufo2map Q= -B -j4 || exit 1 ; exit 0
remove the leading || exit 1 ; exit 0
and the CFLAGS options
-finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize
one by one
to find the option that let ufo2map crash
possible that only one of these options (or maybe 2)
is responsible for this error.
balasar:
@muton
I investigated that without "-ftree-vectorize" flag ufo2map does not crash. Also if set -threads <2 then ufo2map don't crash in any case.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version