clang versus apt

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

clang versus apt

David Blaikie via cfe-dev
Dear clang community,

Today i noticed that on 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang versus apt

David Blaikie via cfe-dev
Bonjour,

Welcome! By the way, 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 <[hidden email]> a écrit :
Dear clang community,

Today i noticed that on 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang versus apt

David Blaikie via cfe-dev
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, 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 <[hidden email]> a écrit :
Dear clang community,

Today i noticed that on 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang versus apt

David Blaikie via cfe-dev
Hello

That could be a nice gsoc project for next year :)
Would you mind opening a bug here https://bugs.llvm.org/enter_bug.cgi?product=Packaging + deb packages with the details?

Thanks
Sylvestre


Le dim. 11 nov. 2018 à 13:41, Franz Fehringer <[hidden email]> a écrit :
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, 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 <[hidden email]> a écrit :
Dear clang community,

Today i noticed that on 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang versus apt

David Blaikie via cfe-dev
I can enter a bug report (if i find some time so dont hold your breath) but i do not have any deb packages.


Am 11.11.2018 um 16:15 schrieb Sylvestre Ledru:
Hello

That could be a nice gsoc project for next year :)
Would you mind opening a bug here https://bugs.llvm.org/enter_bug.cgi?product=Packaging + deb packages with the details?

Thanks
Sylvestre


Le dim. 11 nov. 2018 à 13:41, Franz Fehringer <[hidden email]> a écrit :
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, 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 <[hidden email]> a écrit :
Dear clang community,

Today i noticed that on 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
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev