digitalmars.D.bugs - [Issue 22890] New: Linker error when build on macOS Xcode 13.3
- d-bugmail puremagic.com (33/33) Mar 17 2022 https://issues.dlang.org/show_bug.cgi?id=22890
https://issues.dlang.org/show_bug.cgi?id=22890 Issue ID: 22890 Summary: Linker error when build on macOS Xcode 13.3 (x86_64) Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: outland.karasu gmail.com When running on macOS Monterey 12.3 and Xcode 13.3 (x86_64), DMD always reports the following linker error. ---- $ dmd --version DMD64 D Compiler v2.099.0 Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved written by Walter Bright $ rdmd --eval='writeln("test")' ld: in /Library/D/dmd/lib/libphobos2.a(object_10_612.o), section __DATA/__thread_bss has type zero-fill but non-zero file offset for architecture x86_64 ---- I think that this error depends on Xcode version. Also, Above error not reproduced on ldc-1.28.1. ---- $ source ~/dlang/ldc-1.28.1/activate (ldc-1.28.1)$ rdmd --eval='writeln("test")' test ---- --
Mar 17 2022