-
-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
Because of the requirement for D language compiler to be available across all platforms Fedora supports, I have started to look into what's missing in the s390x support in LDC. I have a dirty/interim patchset to move forward in the build and here is the summary of the changes I made so far:
runtime/druntime/src/rt/sections_elf_shared.d
- missing
TLS_DTV_OFFSET
definition - needs implementation of
getTLSRange()
because the expected__tls_get_addr()
doesn't exist, see https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libphobos/libdruntime/gcc/sections/elf.d;h=5819811f3fec8ad0e34cb4e3b76a1fcf2d3d515d;hb=HEAD#l1086
- missing
runtime/druntime/src/rt/dwarfeh.d
is missing the platform's EH register numbersruntime/druntime/src/core/thread/osthread.d
- needs an implementation of
callWithStackShell()
- needs an implementation of
runtime/druntime/src/core/threadasm.S
- needs implementation of
fiber_switchContext
- can be used to carry the implementation of
__ibmz_get_tls_offset()
needed bygetTLSRange()
- needs implementation of
gen/target.cpp
- add mapping of real / long double type to LLVM
It allows me to build the bootstrap compiler, but later fails due some missing__float128
methods/functions inlibldc.a
.
update 2022-09-16
runtime/druntime/src/core/thread/fiber.d
- implementinitStack()
Geod24
Metadata
Metadata
Assignees
Labels
No labels