Bug 19083 – make target doc compile error: mach_header conflicts with other

Status
NEW
Severity
regression
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2018-07-13T16:43:05Z
Last change time
2024-12-07T13:38:30Z
Assigned to
No Owner
Creator
Timoses
Moved to GitHub: dmd#17368 →

Comments

Comment #0 by timosesu — 2018-07-13T16:43:05Z
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.
Comment #1 by greensunny12 — 2018-07-14T12:52:55Z
Have you tried building the docs from dlang.org? The individual doc targets have been deprecated for a very long time already.
Comment #2 by timosesu — 2018-07-15T08:22:11Z
(In reply to Seb from comment #1) > Have you tried building the docs from dlang.org? The individual doc targets > have been deprecated for a very long time already. Yes, I tried building the verbatim version. That worked on a linux machine, but failed on my macOS. make -f posix.mak -j8 html phobos-prerelease-verbatim During the make process it tries to compile the druntime with doc as target, I believe.
Comment #3 by robert.schadek — 2024-12-07T13:38:30Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17368 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB