Closed kassane closed 7 months ago
During build (self-hosting: opend-ldc build opend-ldc) [patch applied]
Full-log: build.log
yeah the compiler itself is not compatible with the safer-by-default changes, build it with an upstream compiler, or modify the makefile to take away that deprecations-as-errors flag
i think this is ready to merge as-is. the compiler building itself is a separate thing
i think this is ready to merge as-is. the compiler building itself is a separate thing
Need fix, another targets.
e.g.:
aarch64/Linux error https://github.com/kassane/alpine-ldc2-docker/actions/runs/8603500918/job/23580711641#step:6:2051
> [linux/arm64 4/11] RUN cd ldc && cmake -B build -DCMAKE_INSTALL_PREFIX="/opt" -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ -DLLVM_IS_SHARED=OFF -DD_COMPILER_FLAGS=-link-defaultlib-shared=false -DBUILD_SHARED_LIBS=BOTH -DBUILD_LTO_LIBS=ON && cmake --build build --parallel && ninja -C build install:
5330.9 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(704): Error: undefined identifier `__USE_FILE_OFFSET64`
5331.6 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(678): Error: undefined identifier `__USE_FILE_OFFSET64`
5331.6 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(693): Error: undefined identifier `__USE_FILE_OFFSET64`
5331.6 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(704): Error: undefined identifier `__USE_FILE_OFFSET64`
Phobos issue on android/armv7?
2024-04-09T13:46:31.1706830Z std/file.d(4342): Error: no property `st_ino` for type `stat_t`, did you mean `core.sys.posix.sys.stat.stat_t.__st_ino`?
2024-04-09T13:46:31.1708631Z std/file.d(4342): Error: no property `st_ino` for type `stat_t`, did you mean `core.sys.posix.sys.stat.stat_t.__st_ino`?
That contribution has extended beyond my expectations. :sweat_smile:
golly but thx for it
the windows build fail is spurious, don't worry about it. it just does that randomly
Based on: #66
Thanks, JohanEngelen for help.
References
cc: @adamdruppe