On 5/8/2016 12:18 AM, Walter Bright wrote:
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.

I should read more carefully, it is __Unwind_GetIPInfo that is undefined, not __dmd_personality_v0.

Anyhow, thanks to Jacob for correctly diagnosing it.

Reply via email to