https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87816
Bug ID: 87816 Summary: D runtime fails to build on aarch64 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: sch...@linux-m68k.org Target Milestone: --- Target: aarch64-*-* /usr/aarch64-suse-linux/bin/ld: .libs/libgdruntime_la-threadasm.o: in function `fiber_switchContext': /opt/gcc/test/Build/aarch64-suse-linux/libphobos/libdruntime/../../../../libphobos/libdruntime/core/threadasm.S:492: multiple definition of `fiber_switchContext'; core/.libs/thread.o:/opt/gcc/test/Build/aarch64-suse-linux/libphobos/libdruntime/../../../../libphobos/libdruntime/core/thread.d:3862: first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:1620: libgdruntime.la] Error 1 ../../../../libphobos/src/std/math.d:5342:44: error: undefined identifier ‘cont’, did you mean template ‘conj(Num)(Num z) if (is(Num* : const(cfloat*)) || is(Num* : const(cdouble*)) || is(Num* : const(creal*)))’? 5342 | "mrs %0, FPCR;" : "=r" cont; | ^ ../../../../libphobos/src/std/math.d:5344:24: error: undefined identifier ‘cont’, did you mean template ‘conj(Num)(Num z) if (is(Num* : const(cfloat*)) || is(Num* : const(cdouble*)) || is(Num* : const(creal*)))’? 5344 | return cont; | ^ make[4]: *** [Makefile:1791: std/math.lo] Error 1