www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19083] New: make target doc compile error: mach_header

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

          Issue ID: 19083
           Summary: make target doc compile error: mach_header conflicts
                    with other
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: timosesu gmail.com

In v2.081.1 of druntime the following error messages are thrown when making
with

 make -f posix.mak doc
src/rt/sections_osx_x86_64.d(122): Error: core.sys.darwin.mach.loader.mach_header at src/core/sys/darwin/mach/loader.d(13) conflicts with core.sys.darwin.mach.getsect.mach_header at src/core/sys/darwin/mach/getsect.d(228) src/rt/sections_osx_x86_64.d(170): Error: cannot interpret SEG_DATA at compile time src/rt/sections_osx_x86_64.d(170): Error: cannot interpret SECT_DATA at compile time src/rt/sections_osx_x86_64.d(171): Error: cannot interpret SEG_DATA at compile time src/rt/sections_osx_x86_64.d(171): Error: cannot interpret SECT_BSS at compile time src/rt/sections_osx_x86_64.d(172): Error: cannot interpret SEG_DATA at compile time src/rt/sections_osx_x86_64.d(172): Error: cannot interpret SECT_COMMON at compile time src/rt/sections_osx_x86_64.d(174): Error: core.sys.darwin.mach.loader.mach_header at src/core/sys/darwin/mach/loader.d(13) conflicts with core.sys.darwin.mach.getsect.mach_header at src/core/sys/darwin/mach/getsect.d(228) I was able to track it down with `git bisect` to this commit: https://github.com/dlang/druntime/commit/0d7be1427e7c4ef53e8baf9e26b4916a3ea18542 v2.080.1 works fine. Please let me know if there is anything I can do. --
Jul 13 2018