Bug 16031 – [REG2.071] stale DW.ref.name EH symbol used with -lib and -fPIC
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2016-05-16T17:02:00Z
Last change time
2017-07-19T15:01:38Z
Keywords
EH, pull
Assigned to
code
Creator
mk
Comments
Comment #0 by mk — 2016-05-16T17:02:53Z
make -f posix.mak MODEL=32 DMD=../dmd/src/dmd PIC=1
DMD v2.070-devel-1aa8a1e DEBUG
Internal error: backend/elfobj.c 1040
posix.mak:184: recipe for target 'generated/linux/release/32/libdruntime.a'
failed
make: *** [generated/linux/release/32/libdruntime.a] Error 1
dmd from git, v2.071.1 (master HEAD too)
linux x86
I'm not sure if this is a dmd regression, but the compilation worked in v2.0.70
Comment #1 by bugzilla — 2016-05-24T00:11:42Z
(In reply to Martin Krejcirik from comment #0)
> make -f posix.mak MODEL=32 DMD=../dmd/src/dmd PIC=1
What does the PIC=1 do? PIC isn't anywhere in posix.mak
Comment #2 by mk — 2016-05-24T09:29:41Z
(In reply to Walter Bright from comment #1)
> What does the PIC=1 do? PIC isn't anywhere in posix.mak
It's there, it adds -fPIC to DFLAGS.