Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-11-06 Thread Kamil Rytarowski
On 13.10.2017 12:52, Thomas Huth wrote: > On 13.10.2017 12:28, Daniel P. Berrange wrote: >> The system compiler in OpenBSD is gcc 4.2.1 which is too >> old for our needs. If doing 'pkg_add gcc' you can get a >> much newer version (4.9.4 in OpenBSD 6.1) which works with >> QEMU. This installs binari

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-16 Thread Brad Smith
On 10/13/2017 12:14 PM, Peter Maydell wrote: On 13 October 2017 at 12:46, Thomas Huth wrote: I disagree. If the next OpenBSD release uses Clang by default, we're not building QEMU there with the *working default* C compiler anymore. You're then rather forcing the OpenBSD users then to install

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-16 Thread Daniel P. Berrange
On Mon, Oct 16, 2017 at 09:44:42AM +0200, Gerd Hoffmann wrote: > Hi, > > > By the way, looks like OpenBSD is also switching to clang by default > > soon: > > > > https://www.phoronix.com/scan.php?page=news_item&px=OpenBSD-Default- > > Clang > > It did happen already. On openbsd 6.2 (released

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-16 Thread Gerd Hoffmann
Hi, > By the way, looks like OpenBSD is also switching to clang by default > soon: > > https://www.phoronix.com/scan.php?page=news_item&px=OpenBSD-Default- > Clang It did happen already. On openbsd 6.2 (released a week ago) cc is clang: $ cc --version OpenBSD clang version 4.0.0 (tags/RELEAS

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-13 Thread Peter Maydell
On 13 October 2017 at 12:46, Thomas Huth wrote: > I disagree. If the next OpenBSD release uses Clang by default, we're not > building QEMU there with the *working default* C compiler anymore. > You're then rather forcing the OpenBSD users then to install an > additional (likely unliked, since GPLv

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-13 Thread Thomas Huth
On 13.10.2017 13:38, Daniel P. Berrange wrote: > On Fri, Oct 13, 2017 at 12:55:40PM +0200, Thomas Huth wrote: >> On 13.10.2017 12:52, Thomas Huth wrote: [...] >> By the way, looks like OpenBSD is also switching to clang by default soon: >> >> https://www.phoronix.com/scan.php?page=news_item&px=Open

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-13 Thread Daniel P. Berrange
On Fri, Oct 13, 2017 at 12:55:40PM +0200, Thomas Huth wrote: > On 13.10.2017 12:52, Thomas Huth wrote: > > On 13.10.2017 12:28, Daniel P. Berrange wrote: > >> The system compiler in OpenBSD is gcc 4.2.1 which is too > >> old for our needs. If doing 'pkg_add gcc' you can get a > >> much newer versio

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-13 Thread Daniel P. Berrange
On Fri, Oct 13, 2017 at 12:52:26PM +0200, Thomas Huth wrote: > On 13.10.2017 12:28, Daniel P. Berrange wrote: > > The system compiler in OpenBSD is gcc 4.2.1 which is too > > old for our needs. If doing 'pkg_add gcc' you can get a > > much newer version (4.9.4 in OpenBSD 6.1) which works with > > Q

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-13 Thread Thomas Huth
On 13.10.2017 12:52, Thomas Huth wrote: > On 13.10.2017 12:28, Daniel P. Berrange wrote: >> The system compiler in OpenBSD is gcc 4.2.1 which is too >> old for our needs. If doing 'pkg_add gcc' you can get a >> much newer version (4.9.4 in OpenBSD 6.1) which works with >> QEMU. This installs binari

Re: [Qemu-devel] [PATCH] configure: pick the right compiler for OpenBSD by default

2017-10-13 Thread Thomas Huth
On 13.10.2017 12:28, Daniel P. Berrange wrote: > The system compiler in OpenBSD is gcc 4.2.1 which is too > old for our needs. If doing 'pkg_add gcc' you can get a > much newer version (4.9.4 in OpenBSD 6.1) which works with > QEMU. This installs binaries with two naming schemes: > > $ pkg_info