[cfe-dev] [llvm-dev] Bootstrapping clang/LLVM with ELLCC
Tim Northover via cfe-dev
cfe-dev at lists.llvm.org
Fri Dec 18 19:55:39 PST 2015
On 18 December 2015 at 19:50, Richard Pennington <rich at pennware.com> wrote:
>> * #undefining libc symbols based on __ELCC__. This looks like a musl
>> issue rather than just elcc. I'm actually rarther suspicious of musl
>> here too: neither C99 nor C++11 reserve (e.g.) fopen64. That said,
>> we've put in worse hacks to support broken platforms (see
> I'll talk to the musl guys about this. I don't think they like the idea of
> being referred to as a "broken platform".
Yeah, that was probably excessively harsh. But people could have
legitimate reasons for #including <stdio.h> (presumably) but making
use of "fopen64". You should see the hoops libc++ jumps through to
avoid such mishaps.
More information about the cfe-dev