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