[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.22, Tue May 14 19:24:09 2019 UTC (23 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.21: +7 -1 lines

more powerpc issues

$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