Date: Fri, 27 May 2022 23:41:59 +0200 From: "lars.sonchocky-helldorf@hamburg.de" <lars.sonchocky-helldorf@hamburg.de> To: "freebsd-riscv@freebsd.org" <freebsd-riscv@FreeBSD.org> Subject: Re: Is there no working clang in FreeBSD/RISC-V's ports? Message-ID: <2AE7AF78-729F-4D6B-AF62-9A79703343D8@hamburg.de> In-Reply-To: <FE523BF5-87CC-4A77-B07E-27AB7D153A03@hamburg.de> References: <FE523BF5-87CC-4A77-B07E-27AB7D153A03@hamburg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi everybody, meanwhile I=E2=80=99ve found out that there is no longer a clang-port = available, it got merged back into the llvm-devel port: https://www.freshports.org/devel/llvm-devel/ = <https://www.freshports.org/devel/llvm-devel/> (See port moves) So I changed GNUstep=E2=80=99s install-dependencies-freebsd script to = require the llvm-devel port. This worked fine on FreeBSD/amd64 inside Virtual Box but not for = FreeBSD/RISC-V in QEMU: pkg: No packages available to install matching 'llvm-devel' have been = found in the repositories So is there really no llvm-devel port available for FreeBSD/RISC-V? Another thing that caught my attention is, that freshports.org never = seems to mention any RISC-V availability. I thought that with FreeBSD 13 = the RISC-V architecture moved to Tier-2 support ( = https://wiki.freebsd.org/riscv#Current_Status = <https://wiki.freebsd.org/riscv#Current_Status> ). Doesn=E2=80=99t that = mean that there should be such ports available for RISC-V?=20 Quote from https://docs.freebsd.org/en/articles/committers-guide/#archs = <https://docs.freebsd.org/en/articles/committers-guide/#archs> =E2=80=A2 Tier 2 platforms should be self-hosting either via the = in-tree toolchain or an external toolchain. If an external toolchain is = required, official binary packages for an external toolchain will be = provided. doesn=E2=80=99t specifically that mean that the llvm-devel port should = be available? Just asking =E2=80=A6 Kind regards, Lars > Am 22.05.2022 um 23:18 schrieb lars.sonchocky-helldorf@hamburg.de: >=20 > Hi there, >=20 >=20 > the GNUstep project (but in reality just me myself and I) has = undergoing efforts of porting GNUstep to the RISC-V platform. While this = was mainly a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were = necessary), it seems on the FreeBSD side are some more serious efforts = necessary. I think this will not be my last E-Mail in this regard to the = list. Hope you can stand this! >=20 > Firstly I was going to install all the necessary dependencies of = GNUstep for RISC-V. I used their http://github.com/gnustep/tools-scripts = : >=20 > $ sudo ./tools-scripts/install-dependencies-freebsd >=20 > which resulted in installing most of all the dependencies but: >=20 >=20 > pkg: No packages available to install matching 'libobjc2' have been = found in the repositories >=20 > this is our (GNUstep=E2=80=99s) responsibility=20 >=20 >=20 > pkg: No packages available to install matching 'clang' have been found = in the repositories >=20 > no idea how to fix this. Is there really no RISC-V hosted clang = available? >=20 >=20 > pkg: No packages available to install matching 'libxml' have been = found in the repositories > pkg: No packages available to install matching 'avahi' have been found = in the repositories >=20 > no idea who is in charge here to make those work, I am willing to test = certain things if guided. >=20 >=20 > Kind regards, >=20 > Lars >=20 --Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;" class=3D"">Hi everybody,<br class=3D""><br= class=3D""><br class=3D"">meanwhile I=E2=80=99ve found out that there = is no longer a clang-port available, it got merged back into the = llvm-devel port:<br class=3D""><br class=3D""><a = href=3D"https://www.freshports.org/devel/llvm-devel/" = class=3D"">https://www.freshports.org/devel/llvm-devel/</a> (See = port moves)<div class=3D""><br class=3D""><br class=3D"">So I changed = GNUstep=E2=80=99s install-dependencies-freebsd script to require the = llvm-devel port.<br class=3D""><br class=3D"">This worked fine on = FreeBSD/amd64 inside Virtual Box but not for FreeBSD/RISC-V in QEMU:<br = class=3D""><br class=3D"">pkg: No packages available to install matching = 'llvm-devel' have been found in the repositories<br class=3D""><br = class=3D""><br class=3D"">So is there really no llvm-devel port = available for FreeBSD/RISC-V?<br class=3D""><br class=3D""><br = class=3D"">Another thing that caught my attention is, that <a = href=3D"http://freshports.org" class=3D"">freshports.org</a> never seems = to mention any RISC-V availability. I thought that with FreeBSD 13 the = RISC-V architecture moved to Tier-2 support ( <a = href=3D"https://wiki.freebsd.org/riscv#Current_Status" = class=3D"">https://wiki.freebsd.org/riscv#Current_Status</a> ). = Doesn=E2=80=99t that mean that there should be such ports available = for RISC-V? </div><div class=3D""><br class=3D""></div><div = class=3D"">Quote from <a = href=3D"https://docs.freebsd.org/en/articles/committers-guide/#archs" = class=3D"">https://docs.freebsd.org/en/articles/committers-guide/#archs</a= ><div class=3D""><div class=3D""><br class=3D""><div class=3D""><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>=E2=80=A2 = Tier 2 platforms should be self-hosting either via the in-tree toolchain = or an external toolchain. If an external toolchain is required, official = binary packages for an external toolchain will be provided.<br = class=3D""><br class=3D""></div>doesn=E2=80=99t specifically that mean = that the llvm-devel port should be available? Just asking =E2=80=A6<br = class=3D""><br class=3D""><br class=3D"">Kind regards,<br class=3D""><br = class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span>Lars<br class=3D""><br class=3D""><br class=3D""><blockquote = type=3D"cite" class=3D"">Am 22.05.2022 um 23:18 schrieb <a = href=3D"mailto:lars.sonchocky-helldorf@hamburg.de" = class=3D"">lars.sonchocky-helldorf@hamburg.de</a>:<br class=3D""><br = class=3D"">Hi there,<br class=3D""><br class=3D""><br class=3D"">the = GNUstep project (but in reality just me myself and I) has undergoing = efforts of porting GNUstep to the RISC-V platform. While this was mainly = a no-brainer for Linux-Fedora/RISC-V (some minor tweaks were necessary), = it seems on the FreeBSD side are some more serious efforts necessary. I = think this will not be my last E-Mail in this regard to the list. = Hope you can stand this!<br class=3D""><br class=3D"">Firstly I was = going to install all the necessary dependencies of GNUstep for RISC-V. I = used their <a href=3D"http://github.com/gnustep/tools-scripts" = class=3D"">http://github.com/gnustep/tools-scripts</a> :<br = class=3D""><br class=3D"">$ sudo = ./tools-scripts/install-dependencies-freebsd<br class=3D""><br = class=3D"">which resulted in installing most of all the dependencies = but:<br class=3D""><br class=3D""><br class=3D"">pkg: No packages = available to install matching 'libobjc2' have been found in the = repositories<br class=3D""><br class=3D"">this is our (GNUstep=E2=80=99s) = responsibility <br class=3D""><br class=3D""><br class=3D"">pkg: No = packages available to install matching 'clang' have been found in the = repositories<br class=3D""><br class=3D"">no idea how to fix this. Is = there really no RISC-V hosted clang available?<br class=3D""><br = class=3D""><br class=3D"">pkg: No packages available to install matching = 'libxml' have been found in the repositories<br class=3D"">pkg: No = packages available to install matching 'avahi' have been found in the = repositories<br class=3D""><br class=3D"">no idea who is in charge here = to make those work, I am willing to test certain things if guided.<br = class=3D""><br class=3D""><br class=3D"">Kind regards,<br class=3D""><br = class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span>Lars<br class=3D""><br class=3D""></blockquote><br = class=3D""></div></div></div></body></html>= --Apple-Mail=_F603AC1F-EA5E-4EE8-88E9-E62FB2ED9464--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2AE7AF78-729F-4D6B-AF62-9A79703343D8>