[Bug 22475] New: Compiline WINE with '-mfpmath=sse' in CFLAGS/CXXFLAGS on x86 causes segfaults

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 23 22:28:07 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22475

           Summary: Compiline WINE with '-mfpmath=sse' in CFLAGS/CXXFLAGS
                    on x86 causes segfaults
           Product: Wine
           Version: 1.1.43
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sandalle at sourcemage.org


If you compile wine with '-mfpmath=sse' in CFLAGS and CXXFLAGS, games such as
Dungeons and Dragons Online (free-to-play, but not open source, so somewhat
easy to test with), Lord of the Rings Online, and EVE Online all segfault when
trying to load.

Running a basic command such as `wine iexplore` does not segfault.

I did not get any debugging information when I tried this, sorry. Removing
'-mfpmath=sse' and recompiling WINE (used WINE 1.1.43, GCC 4.4.3, GNU LibC
2.11.1) removes the segfaults. Note that '-mfpmath=sse' is enabled by default
on x86_64 (see
http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/i386-and-x86_002d64-Options.html).

CFLAGS/CXXFLAGS used:
-march=native -mtune=native -m32 -pipe -DPIC -fPIC -O2  -mmmx -msse -msse2
-mssse3 -msse4.1

Processor:
$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P9500  @ 2.53GHz
stepping        : 6
cpu MHz         : 800.000
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc
arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2
ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips        : 5053.30
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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