# clang -v clang version 3.2 (tags/RELEASE_32/final) Target: x86_64-unknown-linux-gnu Thread model: posix # clang hello_world.c /usr/include/features.h:324:10: fatal error: 'bits/predefs.h' file not found # clang -m32 hello_world.c # (No error)
There seemed to be some special magic in the gcc build for Debian-derived distros. It wasn't all controllable with command-line options.
You and Clang may be encountering similar fun.
If you see that on 32-bit ones, file a bug.