www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Not Working on the Mac

reply Walter Bright <newshound2 digitalmars.com> writes:
This problem:

https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573

was apparently fixed on LDC:

https://forum.dlang.org/post/himxshnmnapmyipsvqlq forum.dlang.org

with this PR:

https://github.com/ldc-developers/ldc/pull/3868/files

I don't understand the internals of LDC, and would appreciate it if someone
took 
this in hand and developed the equivalent in DMD.

Thanks!
Jul 14 2023
next sibling parent reply Steven Schveighoffer <schveiguy gmail.com> writes:
On 7/14/23 3:27 PM, Walter Bright wrote:
 This problem:
 
 https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573
 
 was apparently fixed on LDC:
 
 https://forum.dlang.org/post/himxshnmnapmyipsvqlq forum.dlang.org
 
 with this PR:
 
 https://github.com/ldc-developers/ldc/pull/3868/files
 
 I don't understand the internals of LDC, and would appreciate it if 
 someone took this in hand and developed the equivalent in DMD.
I want to point out that re-examining that pull request, it did not fix the problem. There was a later PR that does: https://github.com/ldc-developers/ldc/pull/4291 -Steve
Jul 14 2023
parent reply Johan <j j.nl> writes:
On Friday, 14 July 2023 at 22:15:48 UTC, Steven Schveighoffer 
wrote:
 On 7/14/23 3:27 PM, Walter Bright wrote:
 This problem:
 
 https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573
 
 was apparently fixed on LDC:
 
 https://forum.dlang.org/post/himxshnmnapmyipsvqlq forum.dlang.org
 
 with this PR:
 
 https://github.com/ldc-developers/ldc/pull/3868/files
 
 I don't understand the internals of LDC, and would appreciate 
 it if someone took this in hand and developed the equivalent 
 in DMD.
I want to point out that re-examining that pull request, it did not fix the problem. There was a later PR that does: https://github.com/ldc-developers/ldc/pull/4291
The important part of the PR is to _stop_ emitting the debug info section as a "regular" section, and instead make it a "debug" section (which is then stripped by the linker). -Johan
Jul 14 2023
parent reply kinke <noone nowhere.com> writes:
On Friday, 14 July 2023 at 22:32:57 UTC, Johan wrote:
 The important part of the PR is to _stop_ emitting the debug 
 info section as a "regular" section, and instead make it a 
 "debug" section (which is then stripped by the linker).
For DMD, that'd be reverting https://github.com/dlang/dmd/pull/8168.
Jul 15 2023
parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/15/2023 12:28 AM, kinke wrote:
 On Friday, 14 July 2023 at 22:32:57 UTC, Johan wrote:
 The important part of the PR is to _stop_ emitting the debug info section as a 
 "regular" section, and instead make it a "debug" section (which is then 
 stripped by the linker).
For DMD, that'd be reverting https://github.com/dlang/dmd/pull/8168.
Um, why not just change the section to "debug"?
Jul 20 2023
prev sibling parent cryptonian <sujith.thinkpalm gmail.com> writes:
On Friday, 14 July 2023 at 19:27:07 UTC, Walter Bright wrote:
 This problem:

 https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573

 was apparently fixed on LDC:

 https://forum.dlang.org/post/himxshnmnapmyipsvqlq forum.dlang.org

 with this PR:

 https://github.com/ldc-developers/ldc/pull/3868/files

 I don't understand the internals of LDC, and would appreciate 
 it if someone took this in hand and developed the equivalent in 
 DMD.

 Thanks!
Have you tried an alternative method
Jul 20 2023