Re: [Qemu-devel] [PATCH v2] configure: disable FORTIFY_SOURCE under clang

2015-11-09 Thread Peter Maydell
On 3 November 2015 at 20:43, John Snow wrote: > Some versions of clang may have difficulty compiling glibc headers when > -D_FORTIFY_SOURCE is used. For example, Clang++ 3.5.0-9.fc22 cannot > compile glibc's stdio headers when -D_FORTIFY_SOURCE=2 is used. This > manifests currently as build failur

Re: [Qemu-devel] [PATCH v2] configure: disable FORTIFY_SOURCE under clang

2015-11-04 Thread Paolo Bonzini
On 03/11/2015 21:43, John Snow wrote: > Some versions of clang may have difficulty compiling glibc headers when > -D_FORTIFY_SOURCE is used. For example, Clang++ 3.5.0-9.fc22 cannot > compile glibc's stdio headers when -D_FORTIFY_SOURCE=2 is used. This > manifests currently as build failures with

[Qemu-devel] [PATCH v2] configure: disable FORTIFY_SOURCE under clang

2015-11-03 Thread John Snow
Some versions of clang may have difficulty compiling glibc headers when -D_FORTIFY_SOURCE is used. For example, Clang++ 3.5.0-9.fc22 cannot compile glibc's stdio headers when -D_FORTIFY_SOURCE=2 is used. This manifests currently as build failures with clang and any arm target. According to LLVM de