From 9d18845bc97e6b5982272c14d4f71a68098e1446 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Sun, 17 Jul 2016 13:21:35 +0800 Subject: [PATCH] profiles: allow USE=libunwind for sys-libs/libcxxrt, #589352 We can use -rtlib=compiler-rt to tell clang not to link binaries with libgcc_s. Re-enabling this flag allows us to build libcxx against libcxxrt and libunwind, thus having a GCC-free C++ runtime stack. --- profiles/base/package.use.mask | 7 ------- 1 file changed, 7 deletions(-) diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 5ba6b4dcbac7..e93afbc3ec45 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -547,13 +547,6 @@ x11-libs/cairo gles2 dev-libs/weston rpi (03 Jul 2013) -# The idea behind using libunwind there is to avoid needing to link to libgcc_s -# and have a C++ stack without gcc with libcxx. -# However, in any case, clang links its binaries to libgcc_s, hence at the -# moment there is not much point in enabling this. -sys-libs/libcxxrt libunwind - # Sergey Popov (08 Jun 2013) # mask because requires unstable depends not ready for the stabilization app-leechcraft/leechcraft-meta unstable -- 2.26.2