NetBSD-Bugs archive

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

Re: PR/53178 CVS commit: src/tools

The following reply was made to PR toolchain/53178; it has been noted by GNATS.

From: (Christos Zoulas)
To: Joerg Sonnenberger <>,
Subject: Re: PR/53178 CVS commit: src/tools
Date: Sun, 15 Apr 2018 10:25:21 -0400

 On Apr 15,  3:18pm, (Joerg Sonnenberger) wrote:
 -- Subject: Re: PR/53178 CVS commit: src/tools
 | This is not an appropriate fix. It assumes blindly that the host
 | compiler is clang on OSX and doesn't address the reverse case of using
 | clang on non-OSX at all. There is a reason why this patch hasn't been
 | committed before.
 I agree, but that ship had already sailed:
 @@ -18,9 +18,12 @@
  .include <>
  # Disable use of pre-compiled headers on Darwin.
 +# GCC build exceeds the macOS clang default bracket nesting level of 256.
  BUILD_OSTYPE!= uname -s
  .if ${BUILD_OSTYPE} == "Darwin"
  HOST_CFLAGS+=-O2 -no-cpp-precomp
 +HOST_CFLAGS+=-O2 -no-cpp-precomp -fbracket-depth=512
 +HOST_CXXFLAGS+= -fbracket-depth=512
 "-no-cpp-precomp" is only valid on clang, right?
 I mean this did not make the situation any worse...

Home | Main Index | Thread Index | Old Index