Jump to content
Welcome to our new Citrix community!
  • 0

CPU flags (AVX)


Juraj Benadik

Question

Hi

 

I have problem to compile PHP 7.3 in CentOS7 gues on XS6.5SP1

I get

Generating phar.php
/bin/sh: line 1: 20308 Illegal instruction     (core dumped) ` if test -x "/svr-setup/php-7.3.4/fpm-build/sapi/cli/php"; then /svr-setup/php-7.3.4/build/shtool echo -n -- "/svr-setup/php-7.3.4/f

 

Nice guy from CentminMod told me it's because XS wont pass AVX flag of CPU to the guest.

I checked CPU flags and they were:

 

I have Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz CPU and even dom0 has no AVX flag.

 

I was able to go from:

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov

to: (by reducing and rearranging amount of cores)

Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm fsgsbase smep erms

but still no AVX.

Any idea how can I get AVX CPU flag for my guests?

I found somewhere it should be in 6.5SP1 and 7, but it's not working on my 6.5SP1 (server is unlicensed in a meanwhile, since VIAB licences are not available anymore)

 

Thanks in advance for any help/suggestions

Link to comment

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...