[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 00:22:42 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20019
Andrei Alexandrescu <andrei at erdani.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei at erdani.com
--- Comment #6 from Andrei Alexandrescu <andrei at erdani.com> ---
I seem to have gotten in an unsolvable situation with reinstalling due to (it
seems) this issue on an osx machine.
1. First I cleaned everything there is and then synced everything with git.
2. In the dmd directory I issued:
$ make -f posix.mak AUTO_BOOTSTRAP=1
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.
3. Then I tried in the same dmd directory the command:
$ make -f posix.mak
And the first line executed in the makefile was:
dmd -of../generated/build -g build.d
...which failed with:
Error: cannot find source code for runtime library file 'object.d'
dmd might not be correctly installed. Run 'dmd -man' for installation
instructions.
config file: /Users/andrei/bin/dmd.conf
A few questions.
A. Why doesn't "AUTO_BOOTSTRAP=1" bootstrap anymore?
B. Even if it doesn't go through all stages of bootstrapping, why doesn't it
leave a working installation behind? My /Users/andrei/bin/dmd.conf completely
messed that up. It should warn me about its existence or overwrite it leaving a
backup behind.
c. Why is the build process looking at /Users/andrei/bin/dmd.conf? It should be
self-contained, i.e. not assume there's any working installation and override
all possible user-defined flags and configuration files.
--
More information about the Digitalmars-d-bugs
mailing list