Broken cpp? (apple clang 17)

Marius Schamschula lists at schamschula.com
Wed May 6 18:32:29 UTC 2026


Nope,

I didn’t see this issue when I first build it on my Sequoia ARM machine, before committing the update to GitHub.

Speaking of the pre-built binaries: several build bots (including macOS 15 x86_64) claim a successful build, but didn’t actually build anything.

See: https://build.macports.org/builders/ports-15_x86_64-watcher/builds/18919/steps/subports/logs/stdio

Marius
--
Marius Schamschula




> On May 6, 2026, at 1:03 PM, Daniel J. Luke <dluke at geeklair.net> wrote:
> 
> People may already know this, but it looks to me like `clang -E` (the c-preprocessor) Apple's version 17.0.0 is somewhat broken.
> 
> I noticed when trying to build apache httpd 2.4.67 on a macOS 15 host, that the generated server/exports.c appeared to be truncated at newlines from AP_DECLARE_NONSTD macros (from include/http_config.h). Building with macpots clang-22 works fine, though (CC=/opt/local/bin/clang-mp-22 CPP=/opt/local/bin/clang-cpp-mp-22).
> 
> Anyone else seeing similar?
> -- 
> Daniel J. Luke
> 



Marius
--
Marius Schamschula




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20260506/5ccfd104/attachment.htm>


More information about the macports-dev mailing list