Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2022 08:34:58 -0700
From:      Chuck Tuffli <ctuffli@gmail.com>
To:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   build failure WITH_ASAN
Message-ID:  <CAKAYmM%2B3Xs-G-ay4NSK12YeACJC1a2LMDZPeV8VbiWUN5mv=uw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
make buildworld -DWITH_UBSAN -DWITH_ASAN is failing for me with the error:

building shared library libc.so.7
ld: error: cannot open
/usr/home/ctuffli/dev/freebsd/obj/usr/home/ctuffli/dev/freebsd/src.git/amd64.amd64/tmp/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_static-x86_64.a:
No such file or directory
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

This does use meta mode but still occurs after running cleanworld.
greping through the sources, I see a references to
libclang_rt.asan_static-x86_64.a in
tools/build/mk/OptionalObsoleteFiles.inc in the MK_CLANG == no
section. What other information can I provide to help figure this out?
Thanks!

--chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmM%2B3Xs-G-ay4NSK12YeACJC1a2LMDZPeV8VbiWUN5mv=uw>