[Issue 14179] Posix x86_64 varargs prolog clobbers RDX
https://issues.dlang.org/show_bug.cgi?id=14179 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0687872a11386f5cb9da0d88af59cf460badf2d7 Fix Issue 14179 - Posix x86_64 varargs prolog clobbers RDX RDX is used in the prolog but may be used to pass named arguments. When used for a named argument, store in R11 during prolog. https://github.com/D-Programming-Language/dmd/commit/d08a9afeb7670aae4a6a7c74518b94a937bd96a6 Merge pull request #4413 from yebblies/issue14179 Issue 14179 - Posix x86_64 varargs prolog clobbers RDX --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 --- Comment #4 from Ulrich Küttler kuett...@gmail.com --- (In reply to Martin Nowak from comment #3) You know where it was introduced? We shouldn't switch from working to not-working without a deprecation phase. Unfortunately not, I do not know what changed here. --
[Issue 14192] Access Violation when assigning to shared AA
https://issues.dlang.org/show_bug.cgi?id=14192 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5afc1177551fa8f6e43bb1fc499698eaab41655a fix Issue 14192 - Access Violation when assigning to shared AA - the runtime expects an unqualified TypeInfo for the AA and crashes if it is wrapped inside a TypeInfo_Shared https://github.com/D-Programming-Language/dmd/commit/4091ddc1af08f3a65512e41a19ffda06335471c2 Merge pull request #4420 from MartinNowak/fix14192 fix Issue 14192 - Access Violation when assigning to shared AA --
[Issue 14201] New: fatal error LNK1235: corrupt or invalid COFF symbol table
https://issues.dlang.org/show_bug.cgi?id=14201 Issue ID: 14201 Summary: fatal error LNK1235: corrupt or invalid COFF symbol table Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: blocker Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: etci...@gmail.com While compiling the Botan D library on Win64 with COFF, I encountered a linker error: fatal error LNK1235: corrupt or invalid COFF symbol table The only way to remove the error is to remove symbols in the application. I have no way of producing a test case, because it's an error inherent to very large applications with a big amount of symbols. --
[Issue 14201] fatal error LNK1235: corrupt or invalid COFF symbol table
https://issues.dlang.org/show_bug.cgi?id=14201 --- Comment #1 from Etienne etci...@gmail.com --- Proposed fix: https://github.com/D-Programming-Language/dmd/pull/4422 --
[Issue 14199] [REG2.067a] Dwarf Error: mangled line number section
https://issues.dlang.org/show_bug.cgi?id=14199 Martin Krejcirik m...@krej.cz changed: What|Removed |Added Keywords||symdeb --
[Issue 14199] New: [REG2.067a] Dwarf Error: mangled line number section
https://issues.dlang.org/show_bug.cgi?id=14199 Issue ID: 14199 Summary: [REG2.067a] Dwarf Error: mangled line number section Product: D Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: m...@krej.cz void main() { assert(0); } compile dmd -g, run mk@bid:~/work/bugs$ ./dwarfbug core.exception.AssertError@dwarfbug.d(3): Assertion failure ./dwarfbug() [0x8064cc5] ./dwarfbug(_Dmain+0xd) [0x8064c9d] $ addr2line -e ./dwarfbug 0x8064cc5 BFD: Dwarf Error: mangled line number section. ??:? Happened sometime between 2014-11-10 and 2015-01-01 (git) Linux x86 (x86_64 seems ok) --
[Issue 14198] New: [REG2.067a] Link failure with Variant
https://issues.dlang.org/show_bug.cgi?id=14198 Issue ID: 14198 Summary: [REG2.067a] Link failure with Variant Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: link-failure Severity: regression Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: k.hara...@gmail.com From: https://issues.dlang.org/show_bug.cgi?id=13167#c1 This code fails to compile with git-head, but succeeds with 2.066.1. // test.d import std.variant; void main() { Variant a = true; } $ dmd test.d DMD v2.067 DEBUG OPTLINK (R) for Win32 Release 8.00.15 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html test.obj(test) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTbZ2toFbZAya --- errorlevel 1 --
[Issue 14198] [REG2.067a] Link failure with Variant
https://issues.dlang.org/show_bug.cgi?id=14198 --- Comment #1 from Kenji Hara k.hara...@gmail.com --- Introduced in: https://github.com/D-Programming-Language/dmd/pull/4335 But i'm not sure what is the problem. --
[Issue 14200] New: C++ mangling issue with expanded tuples
https://issues.dlang.org/show_bug.cgi?id=14200 Issue ID: 14200 Summary: C++ mangling issue with expanded tuples Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: c...@benjamin-thaut.de The following triggers a ICE: template Tuple(T...) { alias Tuple = T; } extern(C++) void badFunc(Tuple!(int)); pragma(msg, typeof(badFunc)); void main(string[] args) { auto p = badFunc; } Error: ICE: Unsupported type (int) It seems the C++ mangling does not correctly expand tuples. --
[Issue 14200] C++ mangling issue with expanded tuples
https://issues.dlang.org/show_bug.cgi?id=14200 --- Comment #1 from Benjamin Thaut c...@benjamin-thaut.de --- https://github.com/D-Programming-Language/dmd/pull/4421 --
[Issue 14202] Missing template instantiation (Phobos) with -inline
https://issues.dlang.org/show_bug.cgi?id=14202 Justin Whear jus...@economicmodeling.com changed: What|Removed |Added Keywords||industry --
[Issue 14202] New: Missing template instantiation (Phobos) with -inline
https://issues.dlang.org/show_bug.cgi?id=14202 Issue ID: 14202 Summary: Missing template instantiation (Phobos) with -inline Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: jus...@economicmodeling.com I am getting an undefined reference linker error with a trivial program that only imports std.stdio, but only when compiling with -inline. Minimized test case below. $ cat missing_symbol.d --- import std.stdio; void main(string[] args) { auto f = File(); float[3] parts; auto n = f.rawRead(parts[]); } --- $ dmd -inline missing_symbol.d missing_symbol.o: In function `_D3std5stdio4File14__T7rawReadTfZ7rawReadMFAfZAf': missing_symbol.d:(.text._D3std5stdio4File14__T7rawReadTfZ7rawReadMFAfZAf+0x17d): undefined reference to `_D3std9exception196__T12errnoEnforceTbVAyaa81_2f686f6d652f6a757374696e2f2e64766d2f636f6d70696c6572732f646d642d322e3036372e302d62312f6c696e75782f62696e2f2e2e2f2e2e2f7372632f70686f626f732f7374642f737464696f2e64Vmi722Z12errnoEnforceFNfbLAyaZb' collect2: error: ld returned 1 exit status --- errorlevel 1 This code compiles and links properly with 2.065.0. I get the error above with 2.066.0, 2.066.1, and 2.067.0-b1. --
[Issue 14202] Missing template instantiation (Phobos) with -inline
https://issues.dlang.org/show_bug.cgi?id=14202 Martin Krejcirik m...@krej.cz changed: What|Removed |Added CC||m...@krej.cz --- Comment #1 from Martin Krejcirik m...@krej.cz --- Cannot reproduce in v2.067.0-b2. Don't know if it was fixed or just disappeared. --
[Issue 14202] Missing template instantiation (Phobos) with -inline
https://issues.dlang.org/show_bug.cgi?id=14202 Justin Whear jus...@economicmodeling.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Justin Whear jus...@economicmodeling.com --- *** This issue has been marked as a duplicate of issue 13172 *** --
[Issue 13172] optimize and rawread cause symbol undefined errors
https://issues.dlang.org/show_bug.cgi?id=13172 Justin Whear jus...@economicmodeling.com changed: What|Removed |Added CC||jus...@economicmodeling.com --- Comment #14 from Justin Whear jus...@economicmodeling.com --- *** Issue 14202 has been marked as a duplicate of this issue. *** --
[Issue 14203] Return of floating point values from extern(C++) member functions does not match dmc
https://issues.dlang.org/show_bug.cgi?id=14203 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c73f7fefb952adbf8f5bfc28d87854926033 Add workaround for issue 14203 https://github.com/D-Programming-Language/dmd/commit/b1ace291ac3078b55f9895177fe13b3f537874d9 Merge pull request #4423 from yebblies/floatworkaround [DDMD] Add workaround for issue 14203 --
[Issue 13167] Link errors with std.variant
https://issues.dlang.org/show_bug.cgi?id=13167 --- Comment #4 from growler...@gmail.com --- @Kenji: Thanks for doing that, I wasn't sure. --
[Issue 13324] dynamically load libcurl at runtime
https://issues.dlang.org/show_bug.cgi?id=13324 Martin Nowak c...@dawg.eu changed: What|Removed |Added Keywords||pull --- Comment #1 from Martin Nowak c...@dawg.eu --- https://github.com/D-Programming-Language/phobos/pull/3009 --
[Issue 13167] Link errors with std.variant
https://issues.dlang.org/show_bug.cgi?id=13167 --- Comment #3 from Kenji Hara k.hara...@gmail.com --- (In reply to growlercab from comment #2) Sorry, I just noticed the date on this bug. I am using DMD 2.67-b2 on Arch linux x86-64 DMD 2.066.1 works DMD 2.067-b2 fails with the linker error. If something is unreasonably broken, it is a regression. I separated the issue into: https://issues.dlang.org/show_bug.cgi?id=14198 --
[Issue 481] Letting compiler determine length for fixed-length arrays
https://issues.dlang.org/show_bug.cgi?id=481 Brad Anderson e...@gnuk.net changed: What|Removed |Added CC||e...@gnuk.net --- Comment #31 from Brad Anderson e...@gnuk.net --- (In reply to hsteoh from comment #30) Huh, I thought this PR was reverted because Andrei/Walter didn't like it; why is it being pulled into the 2.067 branch? Just because it's in the git commit history. The revert was also merged. --
[Issue 14192] Access Violation when assigning to shared AA
https://issues.dlang.org/show_bug.cgi?id=14192 --- Comment #8 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2077a7fc4a3842030ef2df7429d0e225242443a0 Merge pull request #4420 from MartinNowak/fix14192 fix Issue 14192 - Access Violation when assigning to shared AA --
[Issue 14179] Posix x86_64 varargs prolog clobbers RDX
https://issues.dlang.org/show_bug.cgi?id=14179 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/353cbbed6451f6a21c8d776443db72130c78e879 Merge pull request #4413 from yebblies/issue14179 Issue 14179 - Posix x86_64 varargs prolog clobbers RDX --
[Issue 14203] New: Return of floating point values from extern(C++) member functions does not match dmc
https://issues.dlang.org/show_bug.cgi?id=14203 Issue ID: 14203 Summary: Return of floating point values from extern(C++) member functions does not match dmc Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: C++, wrong-code Severity: major Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: yebbl...@gmail.com struct C { float func() { return 0; } }; The C++ version of this code returns via the stack, but the D version returns in ST(0). One of these is obviously wrong. Same for double and real/long double, only on win32. I don't know if this is a bug in dmd or dmc. Anyone? --