svn commit: r364482 - head/lib/libc++

Shawn Webb shawn.webb at hardenedbsd.org
Sat Aug 22 14:21:02 UTC 2020


On Sat, Aug 22, 2020 at 04:17:33PM +0200, Dimitry Andric wrote:
> On 22 Aug 2020, at 16:07, Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
> > 
> > On Sat, Aug 22, 2020 at 12:05:11PM +0000, Dimitry Andric wrote:
> >> Author: dim
> >> Date: Sat Aug 22 12:05:11 2020
> >> New Revision: 364482
> >> URL: https://svnweb.freebsd.org/changeset/base/364482
> >> 
> >> Log:
> >>  Add a few new source files to libc++, in particular the implementation
> >>  part of std::random_shuffle. These were split off at some point by
> >>  upstream, but I forgot to add them to our Makefile.
> >> 
> >>  This should allow some ports which use std::random_shuffle to correctly
> >>  link again.
> >> 
> >>  Reported by:	thierry
> >>  PR:		248795
> >>  MFC after:	6 weeks
> >>  X-MFX-With:	r364284
> >> 
> >> Modified:
> >>  head/lib/libc++/Makefile
> >> 
> >> Modified: head/lib/libc++/Makefile
> >> ==============================================================================
> >> --- head/lib/libc++/Makefile	Sat Aug 22 11:59:14 2020	(r364481)
> >> +++ head/lib/libc++/Makefile	Sat Aug 22 12:05:11 2020	(r364482)
> >> @@ -16,6 +16,8 @@ SHLIB_LDSCRIPT=	libc++.ldscript
> >> 
> >> SRCS+=		algorithm.cpp
> >> SRCS+=		any.cpp
> >> +SRCS+=		atomic.cpp
> >> +SRCS+=		barrier.cpp
> >> SRCS+=		bind.cpp
> >> SRCS+=		charconv.cpp
> >> SRCS+=		chrono.cpp
> >> @@ -38,6 +40,7 @@ SRCS+=		mutex_destructor.cpp
> >> SRCS+=		new.cpp
> >> SRCS+=		optional.cpp
> >> SRCS+=		random.cpp
> >> +SRCS+=		random_shuffle.cpp
> >> SRCS+=		regex.cpp
> >> SRCS+=		shared_mutex.cpp
> >> SRCS+=		stdexcept.cpp
> > 
> > There's also these files:
> > 
> > https://github.com/HardenedBSD/hardenedBSD/commit/9410e679cc7888311f6efaf251f8d9a311c5b19d
> 
> We intentionally don't build a number of the lldb plugins, so these
> should not be needed. Did you get build failures otherwise?

We did, likely because we use more llvm tools than our upstream
FreeBSD. We set WITH_CLANG_EXTRAS by default. We also use CFI and
SafeStack.

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20200822/bee8d363/attachment.sig>


More information about the svn-src-head mailing list