[Issue 22942] New: Invalid section type / offset for newer XCode versions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 26 16:39:11 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22942

          Issue ID: 22942
           Summary: Invalid section type / offset for newer XCode versions
           Product: D
           Version: D2
          Hardware: All
                OS: Mac OS X
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: moonlightsentinel at disroot.org

Linking programs on MacOS using newer XCode versions (>= 13.3) fails with an
error like this:

ld: section __DATA/__thread_bss has type zero-fill but non-zero file offset
file '../generated/build.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Taken from https://cirrus-ci.com/task/5812771504783360?logs=build#L43

--


More information about the Digitalmars-d-bugs mailing list