clang packaging for debian

Andreas Fink andreas at fink.org
Mon Feb 4 21:53:36 GMT 2019


Hello

I'm having issues with clang packages for debian stretch. I'm trying to compile gnustep and always run into compilation/linking issues. Accoding to David Chisnal they have been recently fixed in clang, however I can not seem to find any package which works. Neither clang-7 nor clang-8 are able to successful compile libobjc2 and gnustep-base.

Is it possible that I'm not getting the latest version from the repo or I'm looking at the wrong location?


I have  this in my Apt sources


deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch main
deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch main
# 7
deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main
deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main
# 8
deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-8 main
deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch-8 main


and I have installed clang-7  or clang-8 and call the tools like this.

Compiling libobjc2 seems to work but when configuring gnustep-base, it barks saying I have an old runtime which doesnt support tons of things which clang all should ahve

one of them is

config/config.non-fragile-ivars.m

which tests

	return __has_feature(objc_nonfragile_abi) ? 0 : 1;


which apparently returns 0. while I'm pretty sure this should be 1.

Also it claims there's no support for synchronisation or properties and the like.


I'm trying to get a recent version compiled since 3 weeks and seem not to have any combination of compiler/libraries/runtimes getting to work.

So any hint is welcome...




Andreas Fink
------------------------------------------------------------------
Paradieshofstrasse 101, 4054 Basel, Switzerland
andreas at fink.org <mailto:andreas at fink.org> https://www.fink.org <https://www.fink.org/>
Mobile: +41-78-6677333 Office: +41-61-6666330 Home: +41-61-6666345
Skype: andreasfink   Jabber/XMPP: andreas at fink.org <mailto:andreas at fink.org>    ICQ: 8239353
Twitter: @kiwi66  PGP Key: https://www.fink.org/FILES/afink-pgp.asc
------------------------------------------------------------------






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20190204/6c63fe79/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 528 bytes
Desc: Message signed with OpenPGP
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20190204/6c63fe79/attachment.sig>


More information about the Pkg-llvm-team mailing list