pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: rust not linking on Linux
Am Thu, 8 Feb 2024 22:11:45 +0100
schrieb "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>:
> Am Thu, 8 Feb 2024 18:44:26 +0000
> schrieb Chavdar Ivanov <ci4ic4%gmail.com@localhost>:
>
> > I just managed to build wip/rust175 under
>
> I can confirm that that builds fine under Linux/x86-64.
Correction: I accidentally built wip/rust174, which is a little
confusing before I spot this difference:
@@ -39,11 +39,11 @@
# Use the internal copy of LLVM or the external one?
#
.if empty(PKG_OPTIONS:Mrust-internal-llvm)
+# External LLVM must be >= 15, ref. RELEASES.md
BUILDLINK_API_DEPENDS.llvm+= llvm>=15
-.include "../../lang/libunwind/buildlink3.mk"
.include "../../lang/llvm/buildlink3.mk"
CONFIGURE_ARGS+= --enable-llvm-link-shared
-CONFIGURE_ARGS+= --llvm-libunwind=system
+#CONFIGURE_ARGS+= --llvm-libunwind=system
CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
.endif
So it is getting around the libunwind issue by just not linking to
system libunwind. Do we like that?!
Alrighty then,
Thomas
--
Dr. Thomas Orgis
HPC @ Universität Hamburg
Home |
Main Index |
Thread Index |
Old Index