[Issue 19802] Possible regression with dustmite
https://issues.dlang.org/show_bug.cgi?id=19802 --- Comment #2 from Vladimir Panteleev --- I am unable to reproduce this problem. `digger run master -- dmd -run runtests.d` successfully builds DustMite using DMD master and runs the DustMite test suite. --
[Issue 19768] Compiler segfaults with -checkaction=context
https://issues.dlang.org/show_bug.cgi?id=19768 --- Comment #1 from ki...@gmx.net --- Somewhat reduced (from https://github.com/ldc-developers/ldc/issues/3058): ``` import std.string; ``` --
[Issue 17547] Compile-time map!(...) fails to compile inside a struct when using lambdas ("this.__lambda1 has no value")
https://issues.dlang.org/show_bug.cgi?id=17547 asumf...@gmail.com changed: What|Removed |Added CC||asumf...@gmail.com --- Comment #1 from asumf...@gmail.com --- Adding a test case: import std.algorithm; enum a = [1.0].map!(n => n); // works struct Foo() { enum b = [1.0].map!(n => n); // identical line } void main() { pragma(msg, a); pragma(msg, Foo!().b); // instantiation fails } --
[Issue 19802] Possible regression with dustmite
https://issues.dlang.org/show_bug.cgi?id=19802 Seb changed: What|Removed |Added CC||greeen...@gmail.com --- Comment #1 from Seb --- Can you provide a more details like the system used and when it starts to fail? You should probably also report this on the DustMite repository as it might be necessary to adjust things from that side too. --
[Issue 19786] alias to __traits(getMember) wrongfully always binds to this
https://issues.dlang.org/show_bug.cgi?id=19786 --- Comment #6 from Basile-z --- I have an excellent news. Si I was rewriting TypeTraits semantic, decomposing all possible Expressions kinds wit the idea to filter out the invalid cases and then realized that TypeTraits semantic is not the issue **at all**. IN the original report, if you use the old way, i.e `AliasSeq`, then the same problem occurs, see https://run.dlang.io/is/PGzqGp. The bug more likely lies in __traits semantic. Sorry if my comment lead you in the wrong direction and good luck with the fix. --
[Issue 19801] Linking error: ld: symbol(s) not found for architecture x86_64
https://issues.dlang.org/show_bug.cgi?id=19801 --- Comment #11 from Jon Kleiser --- I now uninstalled dmd and dub by running the uninstall.command. Then I installed dmd (v2.085.0) and dub, by "brew install dmd" and "brew install dub". I can now "dub build" vibe.d examples (http_server, http_static_server, websocket) without problems. I conclude that there are problems with your dmd.2.085.0.dmg and dmd.2.085.1.dmg installers. I still have some linking problems with drepl, but I will (soon) report that at https://github.com/dlang-community/drepl/issues/77. --
[Issue 19802] New: Possible regression with dustmite
https://issues.dlang.org/show_bug.cgi?id=19802 Issue ID: 19802 Summary: Possible regression with dustmite Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: m...@francescomecca.eu I am getting a sigsegv running dustmite compiled with dmd ~master: ``` (gdb) r --force ../../druntime/src/ 'grep -nR HAVE_FORK' ``` ``` [...] Loading ../../druntime/src/rt/util/typeinfo.d Loading ../../druntime/src/test_runner.d None => Program received signal SIGSEGV, Segmentation fault. _D4core6atomic__T10atomicLoadVEQBdQBb11MemoryOrderi3TkZQBmFNaNbNiNfKOxkZk (val=) at ../druntime/import/core/atomic.d:1130 1130lock; // lock always needed to make this op atomic (gdb) bt #0 _D4core6atomic__T10atomicLoadVEQBdQBb11MemoryOrderi3TkZQBmFNaNbNiNfKOxkZk (val=) at ../druntime/import/core/atomic.d:1130 #1 0x557f3014 in std.stdio.File.__postblit() (this=...) at std/stdio.d:468 #2 0x557f1bec in _D3std7process10spawnShellFNeMAxaSQBg5stdio4FileQpQrMxHAyaAyaEQCiQCh6ConfigMQBuMQzZCQDeQDd3Pid ( shellPath=..., workDir=..., config=, env=..., stderr=..., stdout=..., stdin=..., command=...) at std/process.d:1307 #3 0x5573e70c in _D8dustmite4testFSQq9ReductionZ6doTestMFZb (__capture=0x7fffdef44680) at ../../phobos/std/process.d:1288 #4 0x5573e8f1 in _D8dustmite4testFSQq9ReductionZ12__dgliteral7MFNaNiNfZb (__capture=0x7fffdef44680) at dustmite.d:1535 #5 0x5573e3db in _D8dustmite4testFSQq9ReductionZ9lookaheadMFLbZb (__capture=0x7fffdef44680, fallback=1730765656476055832606875017561728) at dustmite.d:1512 #6 0x5573e8d8 in _D8dustmite4testFSQq9ReductionZ12__dgliteral8MFNaNiNfZb (__capture=0x7fffdef44680) at dustmite.d:1535 #7 0x5573d892 in _D8dustmite4testFSQq9ReductionZ10diskCachedMFLbZb (__capture=0x7fffdef44680, fallback=1730765656475391749820221473703552) at dustmite.d:1408 #8 0x5573e8b4 in _D8dustmite4testFSQq9ReductionZ12__dgliteral9MFNaNiNfZb (__capture=0x7fffdef44680) at dustmite.d:1535 #9 0x5573d5bc in _D8dustmite4testFSQq9ReductionZ9ramCachedMFNfLbZb (__capture=0x7fffdef44680, fallback=1730765656474727667033567929845376) at dustmite.d:1377 #10 0x5573d459 in _D8dustmite4testFSQq9ReductionZb (reduction=...) at dustmite.d:1535 #11 0x557386eb in D main (args=...) at dustmite.d:275 (gdb) l 1125asm pure nothrow @nogc @trusted 1126{ 1127mov EDX, 0; 1128mov EAX, 0; 1129mov RCX, val; 1130lock; // lock always needed to make this op atomic 1131cmpxchg [RCX], EDX; 1132} 1133} 1134else (gdb) ``` --
[Issue 19801] Linking error: ld: symbol(s) not found for architecture x86_64
https://issues.dlang.org/show_bug.cgi?id=19801 --- Comment #10 from Jon Kleiser --- (In reply to Jon Kleiser from comment #9) > (In reply to Seb from comment #8) > > Hmm could it be that this is due to your installation as it looks like your > > linking with a different standard library than your source include paths > > have. > > How did you install D and could you check that DMD is using them correct > > standard library? > > You can see the imports and linker commands when compiling with -v (e.g. > > hello world). > > I installed using the installer, first dmd.2.085.0.dmg, then > dmd.2.085.1.dmg. The same on three different Macs. Here's the output from compiling "hello": $ dmd -v source/app.d predefs DigitalMars Posix OSX CppRuntime_Clang darwin LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat D_ObjectiveC binarydmd version v2.085.1 config/usr/local/bin/dmd.conf DFLAGS-I/Library/D/dmd/src/phobos -I/Library/D/dmd/src/druntime/import -L-L/Library/D/dmd/lib parse app importall app importobject(/Library/D/dmd/src/druntime/import/object.d) importcore.attribute (/Library/D/dmd/src/druntime/import/core/attribute.d) importcore.internal.hash (/Library/D/dmd/src/druntime/import/core/internal/hash.d) importcore.internal.traits (/Library/D/dmd/src/druntime/import/core/internal/traits.d) importcore.internal.convert (/Library/D/dmd/src/druntime/import/core/internal/convert.d) importstd.stdio (/Library/D/dmd/src/phobos/std/stdio.d) importcore.stdc.stddef (/Library/D/dmd/src/druntime/import/core/stdc/stddef.d) importcore.stdc.stdio (/Library/D/dmd/src/druntime/import/core/stdc/stdio.d) importcore.stdc.stdint (/Library/D/dmd/src/druntime/import/core/stdc/stdint.d) importcore.stdc.config (/Library/D/dmd/src/druntime/import/core/stdc/config.d) importcore.stdc.signal (/Library/D/dmd/src/druntime/import/core/stdc/signal.d) importcore.stdc.wchar_ (/Library/D/dmd/src/druntime/import/core/stdc/wchar_.d) importcore.stdc.stdarg (/Library/D/dmd/src/druntime/import/core/stdc/stdarg.d) importcore.stdc.stdlib (/Library/D/dmd/src/druntime/import/core/stdc/stdlib.d) importcore.stdc.time (/Library/D/dmd/src/druntime/import/core/stdc/time.d) importcore.sys.posix.sys.types (/Library/D/dmd/src/druntime/import/core/sys/posix/sys/types.d) importcore.sys.posix.config (/Library/D/dmd/src/druntime/import/core/sys/posix/config.d) importstd.algorithm.mutation (/Library/D/dmd/src/phobos/std/algorithm/mutation.d) importstd.traits(/Library/D/dmd/src/phobos/std/traits.d) importstd.meta (/Library/D/dmd/src/phobos/std/meta.d) importstd.functional(/Library/D/dmd/src/phobos/std/functional.d) importstd.range.primitives (/Library/D/dmd/src/phobos/std/range/primitives.d) importstd.typecons (/Library/D/dmd/src/phobos/std/typecons.d) importstd.format(/Library/D/dmd/src/phobos/std/format.d) importcore.vararg (/Library/D/dmd/src/druntime/import/core/vararg.d) importstd.exception (/Library/D/dmd/src/phobos/std/exception.d) importstd.internal.attributes (/Library/D/dmd/src/phobos/std/internal/attributes.d) semantic app importcore.atomic (/Library/D/dmd/src/druntime/import/core/atomic.d) importcore.stdc.errno (/Library/D/dmd/src/druntime/import/core/stdc/errno.d) entry main source/app.d semantic2 app semantic3 app importstd.utf (/Library/D/dmd/src/phobos/std/utf.d) importcore.internal.string (/Library/D/dmd/src/druntime/import/core/internal/string.d) importstd.algorithm.comparison (/Library/D/dmd/src/phobos/std/algorithm/comparison.d) importcore.stdc.string (/Library/D/dmd/src/druntime/import/core/stdc/string.d) code app function D main function std.stdio.writeln!string.writeln function std.stdio.File.LockingTextWriter.put!string.put function std.stdio.File.LockingTextWriter.put!string.put.__dgliteral2 function std.stdio.trustedFwrite!char.trustedFwrite function std.exception.enforce!(ErrnoException).enforce!int.enforce function std.exception.bailOut!(ErrnoException).bailOut function object.idup!(const(char)).idup function object._trustedDup!(const(char), immutable(char))._trustedDup function object._dup!(const(char), immutable(char))._dup function object._doPostblit!(immutable(char))._doPostblit function object._getPostblit!(immutable(char))._getPostblit function std.stdio.File.LockingTextWriter.put!(immutable(char)).put function std.stdio.File.LockingTextWriter.put!(immutable(char)).put.trustedFPUTC function std.stdio.File.LockingTextWriter.put!(immutable(char)).put.trustedFPUTWC function std.stdio.File.LockingTextWriter.put!char.put function std.stdio.File.LockingTextWriter.put!char.put.trustedFPUTC function