<div dir="ltr"><div><div>This is just a hand-made report of the git-head issue.</div><div><br></div><div>----</div><div><br></div><div>From few weeks ago, dmd test suite sometimes fails on Linux 64bit platforms (both 32_64 and 64_64).</div>
<div><br></div><div>It occurs with the combination of -O and -fPIC.</div><div><a href="http://d.puremagic.com/test-results/test_data.ghtml?projectid=1&runid=50369&logid=1">http://d.puremagic.com/test-results/test_data.ghtml?projectid=1&runid=50369&logid=1</a></div>
<div><br></div><div> Creating output directory: test_results</div><div> Building d_do_test tool</div><div> OS: posix</div><div> Creating output directory: generated</div><div> Building d_do_test tool</div><div>
OS: posix</div><div> Running compilable tests</div><div> Running runnable tests</div><div> Running fail compilation tests</div><div> ... fail_compilation/bug4283.d ()</div><div><br></div><div> [snip]</div>
<div><br></div><div> ... runnable/test42.d (-inline -release -gc -O -fPIC)</div><div> Test failed. The logged output:</div><div> ../src/dmd -m64 -Irunnable -odgenerated/runnable -ofgenerated/runnable/test42_0 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -odgenerated/runnable -ofgenerated/runnable/test42_1 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -release -odgenerated/runnable -ofgenerated/runnable/test42_2 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -release -odgenerated/runnable -ofgenerated/runnable/test42_3 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -gc -odgenerated/runnable -ofgenerated/runnable/test42_4 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -gc -odgenerated/runnable -ofgenerated/runnable/test42_5 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -release -gc -odgenerated/runnable -ofgenerated/runnable/test42_6 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -release -gc -odgenerated/runnable -ofgenerated/runnable/test42_7 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -O -odgenerated/runnable -ofgenerated/runnable/test42_8 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -O -odgenerated/runnable -ofgenerated/runnable/test42_9 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -release -O -odgenerated/runnable -ofgenerated/runnable/test42_10 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -release -O -odgenerated/runnable -ofgenerated/runnable/test42_11 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -gc -O -odgenerated/runnable -ofgenerated/runnable/test42_12 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -gc -O -odgenerated/runnable -ofgenerated/runnable/test42_13 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -release -gc -O -odgenerated/runnable -ofgenerated/runnable/test42_14 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -release -gc -O -odgenerated/runnable -ofgenerated/runnable/test42_15 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_16 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_17 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -release -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_18 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -release -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_19 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -gc -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_20 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -gc -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_21 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -release -gc -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_22 runnable/test42.d</div>
<div> ../src/dmd -m64 -Irunnable -inline -release -gc -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_23 runnable/test42.d</div><div> ../src/dmd -m64 -Irunnable -O -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_24 runnable/test42.d</div>
<div> success</div><div> Not ported to x86-64 compatible varargs, yet.</div><div> myInt int</div><div> myBool bool</div><div> i</div><div> s</div><div> C6test4211__T4T219TiZ1C</div><div> C6test427test219FZv11__T4T219TiZ1C</div>
<div> generated/runnable/test42_24</div><div> core.exception.AssertError@test42(625): Assertion failure</div><div> ----------------</div><div> generated/runnable/test42_24(_d_assertm+0x26) [0x4ad8e2]</div><div>
generated/runnable/test42_24() [0x4aac23]</div><div> generated/runnable/test42_24(void test42.test41()+0x41) [0x485b6d]</div><div> generated/runnable/test42_24(_Dmain+0xc7) [0x48f0a3]</div><div> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void runAll().void __lambda285()+0x18) [0x4b0520]</div>
<div> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void tryExec(scope void delegate())+0x2a) [0x4afd42]</div><div> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void runAll()+0x37) [0x4b04d7]</div>
<div> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void tryExec(scope void delegate())+0x2a) [0x4afd42]</div><div> generated/runnable/test42_24(_d_run_main+0x1a3) [0x4afcc3]</div>
<div> generated/runnable/test42_24(main+0x14) [0x4917f8]</div><div> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2b84efe0e30d]</div><div> ----------------</div><div> one</div><div> two</div><div>
52</div><div> 9223372036854775807L</div><div> 18446744073709551615LU</div><div> 3</div><div> 0</div><div> 1</div><div> 2</div><div> 3</div><div> 4</div><div> 5</div><div> 6</div><div> 7</div>
<div> 8</div><div> 9</div><div> s = foo</div><div> s = test42.S35</div><div> s = test42.S35</div><div> s = 4855B4</div><div> &x = 0x7fef00</div><div> &s = 0x7fef10</div><div> ~one</div><div>
~two</div><div><br></div><div><br></div><div> ==============================</div><div> Test failed: expected rc == 0, exited with rc == 1</div><div><br></div><div> make[1]: *** [generated/runnable/test42.d.out] Error 1</div>
<div> make[1]: *** Waiting for unfinished jobs....</div><div> ... runnable/test8182.d (-inline -release -gc -O -fPIC)</div><div> ... runnable/test7932.d (-inline -release -gc -O -fPIC)</div>
<div> make: *** [start_runnable_tests] Error 2</div><div><br></div><div><br></div><div><br></div><div>The earliest date of the occurrence is:</div><div><a href="http://d.puremagic.com/test-results/test_data.ghtml?projectid=1&runid=50328&logid=1">http://d.puremagic.com/test-results/test_data.ghtml?projectid=1&runid=50328&logid=1</a></div>
<div><br></div><div> Fetching updates to D-Programming-Language/dmd:</div><div> Fetching origin</div><div> From <a href="https://github.com/D-Programming-Language/dmd">https://github.com/D-Programming-Language/dmd</a></div>
<div> + 4cec471...2316b49 refs/pull/2502/head -> refs/pull/2502/head (forced update)</div><div> + 3ef32f2...301d9e9 refs/pull/2502/merge -> refs/pull/2502/merge (forced update)</div><div><br></div><div><br>
</div><div> Cloning source/D-Programming-Language/dmd.git into master-50328-Linux_32_64/dmd, branch master</div><div> Cloning into /home/braddr/sandbox/d/d-tester/client/master-50328-Linux_32_64/dmd...</div><div> done.</div>
<div> Head commit:</div><div> commit 66a38bb839f15d0744b603cc1484e223388644dd</div><div> Merge: 2747184 9ddae72</div><div> Author: Walter Bright <<a href="mailto:walter@walterbright.com">walter@walterbright.com</a>></div>
<div> Date: Wed Aug 28 00:28:43 2013 -0700</div><div><br></div><div> Merge pull request #2500 from Ingrater/mslinker</div><div> </div><div> Fixed linker invocation when compiling dmd with visual studio</div>
<div><br></div><div><br></div><div> Fetching updates to D-Programming-Language/druntime:</div><div> Fetching origin</div><div><br></div><div><br></div><div> Cloning source/D-Programming-Language/druntime.git into master-50328-Linux_32_64/druntime, branch master</div>
<div> Cloning into /home/braddr/sandbox/d/d-tester/client/master-50328-Linux_32_64/druntime...</div><div> done.</div><div> Head commit:</div><div> commit 7ad4524db2e83fc6dbca87fd82821c68a544b2d0</div><div> Merge: 2c6c29b ae2c4df</div>
<div> Author: Martin Nowak <<a href="mailto:code@dawg.eu">code@dawg.eu</a>></div><div> Date: Tue Aug 27 12:56:32 2013 -0700</div><div><br></div><div> Merge pull request #586 from redstar/freebsd</div>
<div> </div><div> Add FreeBSD header sys/elf.h</div><div><br></div><div><br></div><div> Fetching updates to D-Programming-Language/phobos:</div><div> Fetching origin</div><div> From <a href="https://github.com/D-Programming-Language/phobos">https://github.com/D-Programming-Language/phobos</a></div>
<div> + 25552a6...3ec7e02 refs/pull/1224/merge -> refs/pull/1224/merge (forced update)</div><div> + 0e888d4...9ea5d97 refs/pull/1390/merge -> refs/pull/1390/merge (forced update)</div><div><br></div><div><br>
</div><div> Cloning source/D-Programming-Language/phobos.git into master-50328-Linux_32_64/phobos, branch master</div><div> Cloning into /home/braddr/sandbox/d/d-tester/client/master-50328-Linux_32_64/phobos...</div>
<div> done.</div><div> Head commit:</div><div> commit 40c6760019d5fb8aee4c317f5d86881fdd2d6cd8</div><div> Merge: ca9accd 52cadf9</div><div> Author: David Nadlinger <<a href="mailto:code@klickverbot.at">code@klickverbot.at</a>></div>
<div> Date: Wed Aug 28 01:35:15 2013 -0700</div><div><br></div><div> Merge pull request #1082 from monarchdodra/emplace</div><div> </div><div> Fix emplace</div><div><br></div><div><br></div><div>
Thanks.</div><div><br></div><div>Kenji Hara.</div></div></div>