NetBSD/doc/TODO.clang

35 lines
1.1 KiB
Plaintext

$NetBSD: TODO.clang,v 1.22 2019/05/14 19:24:09 christos Exp $
Hacks for the clang integration
-------------------------------
src/sys/arch/i386/stand
"-no-integrated-as" is used to compensate
for the incomplete explicit positioning support in LLVM MC.
src/external/gpl3/gcc/usr.bin/backend
forces tree.c to be compiled with -O0.
g++ otherwise crashes on trivial input.
src/external/mit/xorg/lib/pixman
uses -fno-integrated-as on ARM for the macro (ab)use.
src/external/libc++/lib
Avoid clang bug on earm with SSP/FORTIFY:
rt_libelftc_dem_gnu3.c:3567:3: warning: '__builtin___memset_chk'
will always overflow destination buffer [-Wbuiltin-memcpy-chk-size]
memset(&f, 0, FLOAT_EXTENED_BYTES);
src/external/mit/xorg/lib/gallium
has atomic alignment issues and uses unknown pragma
src/external/mpl/bind/
has atomic alignment issues
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
hack around tls_model("initial_exec") on powerpc
src/tests/libexec/ld.elf_so/Makefile.inc
use -msecure-plt on powerpc for ifuncs