0.8rc7 tar ball fails to compile on an i686 system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pocl |
Fix Released
|
Undecided
|
Erik Schnetter |
Bug Description
It fails when trying to build the VML on my Pentium4:
/usr/local/
In file included from ./../vecmathlib
In file included from ./../vecmathlib
In file included from ./../vecmathlib
./../vecmathlib
return _mm_cvtsd_
/usr/local/
_mm_cvtsi32_
^
In file included from ./../vecmathlib
./../vecmathlib
#define M_PI M_PI_F
^
/usr/include/
# define M_PI 3.1415926535897
^
1 warning and 1 error generated.
make[4]: *** [acos.cc.bc] Error 1
make[4]: Leaving directory `/mnt/localstor
The fix is to either a) disable VML when building for i686 b) create a separate kernel library dir for i686/x86 where VML is never used, or c) fix VML to work on i686.
Changed in pocl: | |
status: | Fix Committed → Confirmed |
status: | Confirmed → New |
summary: |
- 0.8rc1 tar ball fails to compile on an i686 system + 0.8rc7 tar ball fails to compile on an i686 system |
Changed in pocl: | |
status: | Fix Committed → Fix Released |
VML should work on this architecture. It should detect exactly what SSE2 intrinsics are supported, and should use only those. Can you show me the content of /proc/cpuinfo (assuming this is Linux) or equivalent?
In particular, I'm looking for a line such as
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 syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
that would e.g. tell me whether sse2 is supported.