[cfe-dev] clang versus apt

Franz Fehringer via cfe-dev cfe-dev at lists.llvm.org
Sun Nov 11 04:41:27 PST 2018


Hi Sylvestre,

Thx again, and i indeed did a build without any dependency on libgcc
(clang / libcxx / lld / compiler-rt / libunwind ... version 6.0.1) on
Ubuntu 16.04.
The main difficulty was the dependency of compiler-rt on libunwind and
in the end the result was not 100% satisfying since on every link
-L/usr/local/lib had to be given to not pull in the wrong (system)
libunwind (in fact i removed the system libunwind-dev, link line without
hassles now, but not 100% satisfying as well).
Not depending (runtime dependency) on libgcc would be a further
improvement for apt.llvm.org IMO.
There still would be a dependency an crtbegin / crtend, but this is
lacking an official solution by now and is only a link time dependency.

Best regards

Franz

P.S.

Another possible improvement here would be lld supporting file based
configuration (e.g. /usr/local lib first) and / or linker scripts.


Am 11.11.2018 um 12:49 schrieb Sylvestre Ledru:
> Bonjour,
>
> Welcome! By the way, Reshabh and myself wrote this blog post about
> that:
> http://blog.llvm.org/2018/09/integration-of-libc-and-openmp-packages.html
>
> I didn't investigating replacing libgcc. Would you have some doc on
> this to evaluate the complexity?
>
> Thanks
> Sylvestre
>
>
>
> Le dim. 14 oct. 2018 à 17:32, Franz Fehringer via cfe-dev
> <cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org>> a écrit :
>
>     Dear clang community,
>
>     Today i noticed that on apt.llvm.org <http://apt.llvm.org> now
>     with clang / llvm 7 there are
>     packages for libcxx / libcxxabi (not available in previous versions),
>     thanks.
>     Which amounts to the next level of "perfection": Would it be
>     possible to
>     craft packages which depend on compiler-rt instead of libgcc?
>
>     Best regards
>
>     Franz
>
>     _______________________________________________
>     cfe-dev mailing list
>     cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org>
>     http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181111/ce068224/attachment.html>


More information about the cfe-dev mailing list