Use digger on Mac ?

Johan j at j.nl
Sun Jul 31 10:29:10 UTC 2022


On Saturday, 30 July 2022 at 22:45:30 UTC, Johan wrote:
> Hi all,
>   I'm trying to use digger to find what commit introduced 
> https://issues.dlang.org/show_bug.cgi?id=23273 . It is 
> introduced somewhere between 2.094 and 2.095.
> Because I'm on an Apple M1 chip, it looks I can only bootstrap 
> with DMD 2.099 or newer (earlier compilers give an error "ld: 
> section __DATA/__thread_bss has type zero-fill but non-zero 
> file offset file '../generated/build.o' for architecture 
> x86_64".
> My problem: 2.099 cannot build 2.094, because it complains 
> about:
> src/dmd/todt.d(50): Deprecation: module dmd.glue is not 
> accessible here, perhaps add 'static import dmd.glue;'
> src/dmd/todt.d(50): Error: alias `dmd.todt.toSymbol` conflicts 
> with alias `dmd.todt.toSymbol` at src/dmd/todt.d(49)
>
>
> I'm stuck. Any ideas on how to proceed?

I've got it to work with ini settings:
```
extraSpec = +dmd#12215 + 
dmd/f865abf9d1053de30409be97240bc61ed71bf931 
+dmd/967c2a70634d07b4c7e2f9b3ecfb0112bb899130
[build]
components.enable.druntime = false
components.enable.phobos = false
```
and a custom object.d in my test directory.

-Johan



More information about the Digitalmars-d mailing list