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.
Comment #4 by code — 2016-04-19T08:00:33Z
Comment #5 by github-bugzilla — 2016-04-19T11:54:35Z
Commits pushed to stable at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/e98b0a4f39c8c5aab4563d8555845d9b7a87e79a fix Issue 15911 - undefined __Unwind_GetIPInfo for x86_64 - only use __Unwind_GetIPInfo w/ glibc https://github.com/dlang/druntime/commit/0eade7404fa8bdea0d5088c3367eae7f7805ddce Merge pull request #1542 from MartinNowak/fix15911 fix Issue 15911 - undefined __Unwind_GetIPInfo for x86_64
Comment #6 by github-bugzilla — 2016-04-19T16:39:57Z
Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/e98b0a4f39c8c5aab4563d8555845d9b7a87e79a fix Issue 15911 - undefined __Unwind_GetIPInfo for x86_64 https://github.com/dlang/druntime/commit/0eade7404fa8bdea0d5088c3367eae7f7805ddce Merge pull request #1542 from MartinNowak/fix15911