Skip to content
Snippets Groups Projects
Commit 69578851 authored by Ariadne Conill's avatar Ariadne Conill
Browse files

main/gcc: ensure libucontext is linked against libgdruntime on mips

parent fe14b2f0
No related branches found
No related tags found
No related merge requests found
......@@ -22,3 +22,13 @@
else
static assert(0, "Platform not supported");
--- gcc-9.3.0.orig/libphobos/configure.tgt
+++ gcc-9.3.0/libphobos/configure.tgt
@@ -38,6 +38,7 @@
;;
mips*-*-linux*)
LIBPHOBOS_SUPPORTED=yes
+ LIBDRUNTIME_NEEDS_UCONTEXT=yes
;;
riscv*-*-linux*)
LIBPHOBOS_SUPPORTED=yes
......@@ -6,7 +6,7 @@ pkgver=9.3.0
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname="$pkgname$_target"
pkgrel=0
pkgrel=1
pkgdesc="The GNU Compiler Collection"
url="https://gcc.gnu.org"
arch="all"
......@@ -640,4 +640,4 @@ f4ef08454e28c8732db69115e4998ec153399e8d229dd27f923dbdcf57b68128a65640d026cc7f45
9d73f21eaa2458d28a144dd0e5478ed52763a4d8bbf62084b607db52bce1e2242f773c853fc34e6aae2d53c4124948139954627064e850e9dabaddaef5cb9d69 402-dlang-stat.patch
fd056014d0c6f627108d7387bfe46b5fb66786a16fa964da55b0442658b1c8e9e903c641a9e3233000ef37691e32ea4fef22029ab5eba217ccbc8bd5941e81ae 403-dlang-ibmz.patch
ddb3ca26b5e55f6d376036c2ed87959770bfb72d1175d0dba332f705edf6817806d53765c838ff670472a16ab175bd1ce88946c19d83f9d5e53ff2b4d3558dfb 404-dlang-zlib.patch
3a3ffc09872767453f01f737f5254d20c4094ec03a73b1e855860746cd752b2d5bc0583e994c9c0391a8258358b407f7795ba8706ce2a56d22a1a01d954bccb2 405-dlang-mips.patch"
3f40f796f50d49ea0a185d3454c79606fb5f90ed48c030fe25c1df8c4a72ba7cae37dccdb260cf737beb3e921dc2ddad68effbe446dbf220a07d0158b9b9ca8d 405-dlang-mips.patch"
  • Contributor

    Where does this come from ? I can't find a MR for it. It needs to be upstreamed to GCC and druntime. CC @Cogitri

  • Developer

    I think @kaniini tested this on the mips64 builders and pushed it directly. I don't really have mips64 nor a CI pipeline to test with right now, so could you upstream this @kaniini? Otherwise I can look into it

  • Developer

    @Geod24 i haven't upstreamed it because i am still working on getting D running on mips64. right now, programs link but hang in dynamic linker startup, so there's still stuff to figure out.

    if you want to upstream it, go for it.

    Edited by Ariadne Conill
  • Developer

    (regarding mips CI, it is still a work in progress. we need to fix some dependencies in docker so that we can build the CI runner and build the CI image.)

  • Contributor

    @kaniini If you raise a MR with your current diff I can give you a hand with this.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment