[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] tools/tests/x86_emulator causes build failures with older but supported compilers



Hello,

Per README, GCC 4.1.2 should lead to a successful default "make install" per INSTALL. Currently this is failing due to tools/tests/x86_emulator being in the default path and requiring a compiler with AVX. GCC 4.4.7 on CentOS 6 does not have this leading to a failure to build.

1265 make[5]: Entering directory `/builds/xen-project/xen/tools/tests'
1266 make -C x86_emulator install
1267 cc1: error: unrecognized command line option "-mavx2"
1268 cc1: error: unrecognized command line option "-mavx512f"
1269 cc1: error: unrecognized command line option "-mavx512bw"
1270 cc1: error: unrecognized command line option "-mavx512dq"
1271 cc1: error: unrecognized command line option "-mavx512er"
1272 cc1: error: unrecognized command line option "-mavx512vbmi"
1273 /tmp/ccMkLpTV.s: Assembler messages:
1274 /tmp/ccMkLpTV.s:3: Error: junk at end of line, first unrecognized character is `{' 1275 make[6]: Entering directory `/builds/xen-project/xen/tools/tests/x86_emulator' 1276 Makefile:116: Test harness not built, use newer compiler than "gcc" (version 4.4.7) and an "{evex}" capable assembler
1277 make[6]: Nothing to be done for `install'.

Full log here: https://gitlab.com/xen-project/xen/-/jobs/358852978#L1266

We have 2 options for the next release:

1. Bump the minimum GCC requirement for the tree and drop any support for any distro not matching that requirement.

2. Fix the default build to work with older GCC versions.

Thanks.

--

Doug


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.