Bug 15911 – undefined __Unwind_GetIPInfo for x86_64
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2016-04-10T15:36:00Z
Last change time
2016-04-19T16:39:57Z
Keywords
pull
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2016-04-10T15:36:56Z
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)
Apparently comes from compiling idgen.d with 2.071.0.
Comment #1 by sterling.zane — 2016-04-15T14:49:15Z
Since upgrading to DMD 2.071.0 I've had this issue with compiling any D programs, including a hello world.
On OSX 10.11.4.
Comment #2 by doob — 2016-04-15T19:20:59Z
Not sure if it's related but doesn't Clang use libc++abi instead of libunwind?
Comment #3 by code — 2016-04-17T16:57:49Z
(In reply to Zane Sterling from comment #1)
> Since upgrading to DMD 2.071.0 I've had this issue with compiling any D
> programs, including a hello world.
>
> On OSX 10.11.4.
As a workaround you should be able to use gcc with CC=gcc dmd hello.d.