Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2021 11:52:21 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>, Dimitry Andric <dim@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 5e6a2d6eb220 - main - Reapply: move libc++ from /usr/lib to /lib
Message-ID:  <4179cbea-ce54-a285-a1ca-7002acbca778@FreeBSD.org>
In-Reply-To: <202112301658.1BUGwMkC009096@slippy.cwsent.com>
References:  <202112301610.1BUGAC8t054952@gitrepo.freebsd.org> <202112301658.1BUGwMkC009096@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/30/21 8:58 AM, Cy Schubert wrote:
> This commit results in a different error.
> 
> ld: error: /export/obj/opt/src/git-src/amd64.amd64/tmp/usr/lib/libc++.so:2:
> cannot find /usr/lib/libc++.so.1 inside /export/obj/opt/src/git-src/amd64.am
> d64/tmp
>>>> GROUP ( /usr/lib/libc++.so.1 /usr/lib/libcxxrt.so )
>>>>          ^
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> *** [libclang_rt.asan-x86_64.so.full] Error code 1
> 
> make[6]: stopped in /opt/src/git-src/lib/libclang_rt/asan_dynamic

I suspect that NO_CLEAN builds are broken.  You can try removing
/usr/obj/<mumble>/amd64.amd64/usr/lib/libc++/libc++.ld and building again to see
if that fixes it?  If so, we might need another NO_CLEAN fixup rule to delete
that file it has has the wrong path.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4179cbea-ce54-a285-a1ca-7002acbca778>