[Issue 20019] Symbol not found: _dyld_enumerate_tlv_storage on macOS 10.15

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 25 01:31:06 UTC 2020


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg

--- Comment #8 from moonlightsentinel at disroot.org ---
(In reply to Andrei Alexandrescu from comment #6)
> [...]
> To my surprise that did not actually build the compiler via bootstrapping,
> it just installed a prebuilt binary 2.088.0. Why did we change that?
> Bootstrap should bootstrap.

The name is quite misleading, something else might have been more appropriate.
But this behaviour hasn't changed (except minor improvements) since you
introduced it some years ago (see
https://github.com/dlang/dmd/commit/a1217f92f596bd9ce07f7c327a6980797085ba7d).

> make -f posix.mak AUTO_BOOTSTRAP=1

This compiles dmd using the fetched dmd installed to generated/host_dmd-2.088.0
as expected. Did some error occur on your end?

> 3. Then I tried in the same dmd directory the command:
>
> $ make -f posix.mak

This doesn't work because the Makefile does not know about the "bootstrapped"
compiler and tries to use dmd found in $PATH. Might be worth to add some logic
to detect this.

> Why didn't AUTO_BOOTSTRAP leave behind a working installation?

Did you build druntime & phobos as well?

--


More information about the Digitalmars-d-bugs mailing list