Received: from eggs.gnu.org ([2001:4830:134:3::10]:60121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxXMJ-0000EO-7V for qemu-devel@nongnu.org; Wed, 05 Sep 2018 08:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxXMF-0002AV-CO for qemu-devel@nongnu.org; Wed, 05 Sep 2018 08:56:35 -0400 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:40942 helo=mail.comstyle.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxXMF-000298-65 for qemu-devel@nongnu.org; Wed, 05 Sep 2018 08:56:31 -0400 References: <20180824012126.22721-1-famz@redhat.com> <8d039be4-486e-e017-88ca-5cb6ebd89519@comstyle.com> <20180827091845.GD19413@lemon.usersys.redhat.com> From: Brad Smith Message-ID: <92b7d978-faed-9bfb-f756-058c83654d2d@comstyle.com> Date: Wed, 5 Sep 2018 08:56:29 -0400 MIME-Version: 1.0 In-Reply-To: <20180827091845.GD19413@lemon.usersys.redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Qemu-devel] [PATCH] tests: vm: auto_install OpenBSD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Peter Maydell , "=?UTF-8?Q?Daniel_P._Berrang=c3=a9?=" , =?UTF-8?Q?Alex_Benn=c3=a9e?= On 8/27/2018 5:18 AM, Fam Zheng wrote: > On Fri, 08/24 10:36, Brad Smith wrote: >> I very much appreciate the effort to bump up to 6.3 as I was going >> to suggest doing that at some point. But bumping up to 6.3 at the >> moment will fail with the configure script. We've switched from GCC 4.2 >> to Clang. The TLS check will fail with Clang's emulated TLS. We've >> had a local patch for awhile to fix the test but I don't think it is >> appropriate to upstream as is. >> >> Index: configure >> --- configure.orig >> +++ configure >> @@ -1876,7 +1876,7 @@ static __thread int tls_var; >> int main(void) { return tls_var; } >> EOF >> -if ! compile_prog "-Werror" "" ; then >> +if ! compile_prog "-Werror" "-pthread" ; then >> error_exit "Your compiler does not support the __thread specifier for " \ >> "Thread-Local Storage (TLS). Please upgrade to a version that does." >> fi > Are you suggesting we use 6.2 for now? > > Fam Disregard what I said earlier. It seems something has changed along the way since we first brought in Clang and the patch is no longer necessary. Please go ahead with 6.3 as is.