Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 May 2024 09:44:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278867] Linker is missing library: libclang_rt.asan_static-x86_64.a (and all others)
Message-ID:  <bug-278867-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278867
           Summary: Linker is missing library:
                    libclang_rt.asan_static-x86_64.a (and all others)
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: feh@fehcom.de

After upgrade from 13.2 =3D> 13.3 I get the following error message while C
compiling:

ld: error: cannot open
/usr/lib/clang/17/lib/freebsd/libclang_rt.asan_static-x86_64.a: No such fil=
e or
directory
ld: error: cannot open /usr/lib/clang/17/lib/freebsd/libclang_rt.asan-x86_6=
4.a:
No such file or directory
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.

The complete path to=20
/usr/lib/clang/17 ...  is missing. Available is
/usr/lib/clang/14.0.5/... only.

clang --version
FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git
llvmorg-17.0.6-0-g6009708b4367)
Target: x86_64-unknown-freebsd13.3
Thread model: posix
InstalledDir: /usr/bin


State of installation:

$ uname -a
FreeBSD bigchief.fehnet.de 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 GENERIC
amd64

root@bigchief # pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
root@bigchief # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

--=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-278867-227>