[BACK]Return to TODO.clang CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / doc

File: [cvs.NetBSD.org] / src / doc / TODO.clang (download)

Revision 1.23, Fri Aug 2 12:06:20 2019 UTC (14 months, 3 weeks ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, HEAD
Changes since 1.22: +4 -1 lines

Force use of GNU as for acorn32 boot code (pre-unified assembly)

$NetBSD: TODO.clang,v 1.23 2019/08/02 12:06:20 joerg Exp $

Hacks for the clang integration
-------------------------------

src/sys/arch/acorn32/stand
    "-fno-integrated-as" is used for pre-unified ARM assembler.

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