1$NetBSD: TODO.clang,v 1.23 2019/08/02 12:06:20 joerg Exp $ 2 3Hacks for the clang integration 4------------------------------- 5 6src/sys/arch/acorn32/stand 7 "-fno-integrated-as" is used for pre-unified ARM assembler. 8 9src/sys/arch/i386/stand 10 "-no-integrated-as" is used to compensate 11 for the incomplete explicit positioning support in LLVM MC. 12 13src/external/gpl3/gcc/usr.bin/backend 14 forces tree.c to be compiled with -O0. 15 g++ otherwise crashes on trivial input. 16 17src/external/mit/xorg/lib/pixman 18 uses -fno-integrated-as on ARM for the macro (ab)use. 19 20src/external/libc++/lib 21 Avoid clang bug on earm with SSP/FORTIFY: 22 rt_libelftc_dem_gnu3.c:3567:3: warning: '__builtin___memset_chk' 23 will always overflow destination buffer [-Wbuiltin-memcpy-chk-size] 24 memset(&f, 0, FLOAT_EXTENED_BYTES); 25 26src/external/mit/xorg/lib/gallium 27 has atomic alignment issues and uses unknown pragma 28 29src/external/mpl/bind/ 30 has atomic alignment issues 31 32src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h 33 hack around tls_model("initial_exec") on powerpc 34 35src/tests/libexec/ld.elf_so/Makefile.inc 36 use -msecure-plt on powerpc for ifuncs 37 38