openvswitch on Centos 8 will not re/build

hi guys, Centos 8 comes with gcc-8 which openvswitch does not like (from rpm source: openvswitch-2.11.1-5.el8.src.rpm) and it fails to build. Would that be correct? ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/yum.rpm/rpmbuilds/os.generic/build/openvswitch-2.11.1': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details regards, L.

Il giorno mer 6 mag 2020 alle ore 19:58 lejeczek <peljasz@yahoo.co.uk> ha scritto:
hi guys,
Centos 8 comes with gcc-8 which openvswitch does not like (from rpm source: openvswitch-2.11.1-5.el8.src.rpm) and it fails to build. Would that be correct?
... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/yum.rpm/rpmbuilds/os.generic/build/openvswitch-2.11.1': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details
Can you share config.log?
regards, L. _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/PIUEU6T2G3XHVF...
-- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> [image: |Our code is open_] <https://www.redhat.com/en/our-code-is-open> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*
participants (2)
-
lejeczek
-
Sandro Bonazzola