Thread overview | |||||
---|---|---|---|---|---|
|
May 24, 2016 Can no longer build OSX druntime unittest for master | ||||
---|---|---|---|---|
| ||||
I get these errors: Undefined symbols for architecture x86_64: "dyld_enumerate_tlv_storage(void (dyld_tlv_states, dyld_tlv_info const*) block_pointer)", referenced from: _d_dyld_getTLSRange(void*, void**, unsigned long*) in osx_tls.o "__d_dyld_getTLSRange", referenced from: _D2rt19sections_osx_x86_6413initTLSRangesFZAv in test_runner.o "_getErrno", referenced from: _D4core4stdc5errno5errnoFNbNdNiNeZi in test_runner.o "_setErrno", referenced from: _D4core4stdc5errno5errnoFNbNdNiNeiZi in test_runner.o ld: symbol(s) not found for architecture x86_64 What happened? -Steve |
May 24, 2016 Re: Can no longer build OSX druntime unittest for master | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 5/24/16 2:11 PM, Steven Schveighoffer wrote: > I get these errors: > > Undefined symbols for architecture x86_64: > "dyld_enumerate_tlv_storage(void (dyld_tlv_states, dyld_tlv_info > const*) block_pointer)", referenced from: > _d_dyld_getTLSRange(void*, void**, unsigned long*) in osx_tls.o > "__d_dyld_getTLSRange", referenced from: > _D2rt19sections_osx_x86_6413initTLSRangesFZAv in test_runner.o > "_getErrno", referenced from: > _D4core4stdc5errno5errnoFNbNdNiNeZi in test_runner.o > "_setErrno", referenced from: > _D4core4stdc5errno5errnoFNbNdNiNeiZi in test_runner.o > ld: symbol(s) not found for architecture x86_64 > > What happened? Also cannot build phobos unittests. I think it has something to do with this: https://github.com/dlang/druntime/pull/1523 -Steve |
May 24, 2016 Re: Can no longer build OSX druntime unittest for master | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 5/24/16 2:11 PM, Steven Schveighoffer wrote:
> I get these errors:
>
> Undefined symbols for architecture x86_64:
> "dyld_enumerate_tlv_storage(void (dyld_tlv_states, dyld_tlv_info
> const*) block_pointer)", referenced from:
> _d_dyld_getTLSRange(void*, void**, unsigned long*) in osx_tls.o
> "__d_dyld_getTLSRange", referenced from:
> _D2rt19sections_osx_x86_6413initTLSRangesFZAv in test_runner.o
> "_getErrno", referenced from:
> _D4core4stdc5errno5errnoFNbNdNiNeZi in test_runner.o
> "_setErrno", referenced from:
> _D4core4stdc5errno5errnoFNbNdNiNeiZi in test_runner.o
> ld: symbol(s) not found for architecture x86_64
>
> What happened?
env | grep CC
CC=c++
So it was building some C files as C++ files. Not my best day... I don't even know why my environment was set up this way!
-Steve
|
Copyright © 1999-2021 by the D Language Foundation