[Issue 11280] New: [REG 2.064] Symbol missing although it should be there
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 16 03:23:36 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11280
Summary: [REG 2.064] Symbol missing although it should be there
Product: D
Version: D2
Platform: x86
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: code at benjamin-thaut.de
--- Comment #0 from Benjamin Thaut <code at benjamin-thaut.de> 2013-10-16 03:23:34 PDT ---
This only happens on 32-bit windows. This used to work with dmd 2.064 beta 1
and all previous versions of dmd. The attached repro case does not work with
the latest git head of the 2.064 branch
(718dfbb02f8ca7356e8f46637b2e90e2f81d96d0).
For building the attached repro case simply run the build.cmd inside the src
directory. The script will automatically run libunres on the generated lib file
to list all the unresolved symbols. When compiling the attached repro case with
dmd 2.064 beta 1 or any version before that you will notice that the symbol
"_D6thBase6plugin8ScanPair6__initZ" is not in the list of the unresolved
symbols. If you run libunres -p on the generated file you will notice that the
symbol actually is part of the public symbols. When compiling with the latest
git head dmd the symbol "_D6thBase6plugin8ScanPair6__initZ" will be listed as
unresolved symbol and will not be listed when running libunres -p.
Also really interresting about the repro case is, that if you remove the line
from build.cmd which adds thBase\container\hashmap.d the library will stop
compiling with some strange import error messages.
The repro cases includes the modified druntime import folder of my version of
druntime. A possible reason for this issues are the public imports inside
object.di which might cause the issue for whatever reason. When removing
-version=NOGCSAFE from the build command for the lib the issues goes away.
Doing so will disable the public imports inside object.di.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list