dmd not building with dmd

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun May 8 00:18:05 PDT 2016


On 5/7/2016 11:43 PM, Steven Schveighoffer wrote:
> I went to create a PR, and did a git pull on all my repositories. After make
> clean on OSX, dmd would not build:
>
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src -f posix.mak
> no cpu specified, assuming X86
> CC=c++ dmd idgen.d
> Undefined symbols for architecture x86_64:
>   "__Unwind_GetIPInfo", referenced from:
>       ___dmd_personality_v0 in libphobos2.a(dwarfeh_5c8_811.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>
> I had to revert to dmd 2.070 as the build tool to get it to build.
>
> My question is: is this expected behavior, or should I file a bug?
>
> -Steve

__dmd_personality_v0 is in druntime\src\rt\dwarfeh.d, and was added rather 
recently. So it seems you have a dmd-phobos mismatch.


More information about the Digitalmars-d mailing list