Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2024 17:45:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277096] WITHOUT_CLANG does not exclude SANITIZER_SHAREDIR from package file list
Message-ID:  <bug-277096-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277096

            Bug ID: 277096
           Summary: WITHOUT_CLANG does not exclude SANITIZER_SHAREDIR from
                    package file list
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: me@svmhdvn.name

When building a Pkgbase repository using WITHOUT_CROSS_COMPILER and
WITHOUT_TOOLCHAIN (which sets WITHOUT_CLANG), the following residual files =
are
left over:

/usr/lib/clang/17/lib/freebsd/libclang_rt.asan-x86_64.so
/usr/lib/clang/17/share/asan_ignore_list.txt
/usr/lib/clang/17/share/cfi_ignore_list.txt
/usr/lib/clang/17/share/msan_ignore_list.txt

This breaks a Pkgbase system installation using `pkg install -r base -g
'FreeBSD-*'` because the resulting FreeBSD-clang pkg is broken; it erroneou=
sly
depends on FreeBSD-lld, which doesn't exist due to WITHOUT_TOOLCHAIN being =
set.

The above files need to be excluded from the install phase to avoid buildin=
g a
FreeBSD-clang Pkgbase package.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277096-227>