Home | History | Annotate | Line # | Download | only in doc
TODO.clang revision 1.20.12.2
      1 $NetBSD: TODO.clang,v 1.20.12.2 2020/04/13 07:45:37 martin Exp $
      2 
      3 Hacks for the clang integration
      4 -------------------------------
      5 
      6 src/sys/arch/acorn32/stand
      7     "-fno-integrated-as" is used for pre-unified ARM assembler.
      8 
      9 src/sys/arch/i386/stand
     10     "-no-integrated-as" is used to compensate
     11     for the incomplete explicit positioning support in LLVM MC.
     12 
     13 src/external/gpl3/gcc/usr.bin/backend
     14     forces tree.c to be compiled with -O0.
     15     g++ otherwise crashes on trivial input.
     16 
     17 src/external/mit/xorg/lib/pixman
     18     uses -fno-integrated-as on ARM for the macro (ab)use.
     19 
     20 src/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 
     26 src/external/mit/xorg/lib/gallium
     27     has atomic alignment issues and uses unknown pragma
     28 
     29 src/external/mpl/bind/
     30     has atomic alignment issues 
     31 
     32 src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
     33     hack around tls_model("initial_exec") on powerpc
     34 
     35 src/tests/libexec/ld.elf_so/Makefile.inc
     36     use -msecure-plt on powerpc for ifuncs
     37 
     38