Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd



Module Name:    src
Committed By:   rillig
Date:           Fri Apr 30 22:48:38 UTC 2021

Modified Files:
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64: Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64:
            Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64: Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64:
            Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64: Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64:
            Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64:
            Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64:
            Makefile
        src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64:
            Makefile

Log Message:
compiler_rt: generate symbol table early

These libraries have the special feature that they install both the .a
library as well as the .a.syms that is generated from them.  To avoid
the transformation rule .a.a.syms to apply to the files in ${DESTDIR},
that rule has to be disabled during the installation phase.

If the transformation rule were active during installation, the .a.syms
file in ${DESTDIR} would have more than one possible source file, which
eventually leads to an error during installation since in the command
"install a b c", the last argument must be a directory, not a file.

The installation phase should be as minimal as possible anyway,
therefore move the generation of the .syms files to the build phase.

This hopefully fixes the build for HAVE_LLVM=yes, which has been broken
for several weeks now, at least for the official builds.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile
cvs rdiff -u -r1.4 -r1.5 \
    src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index