<div dir="auto">I would go with some VM and install 32bit system on it. </div><div class="gmail_extra"><br><div class="gmail_quote">Dne 12. 12. 2017 8:55 dop. napsal uživatel "Ali Çehreli via Digitalmars-d-learn" <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The automatic tests for a PR failed for a target that I could not test myself: 32-bit build on Darwin_64_32.<br>
<br>
<br>
<a href="https://auto-tester.puremagic.com/show-run.ghtml?projectid=1&runid=2940199&dataid=20802787&isPull=true" rel="noreferrer" target="_blank">https://auto-tester.puremagic.<wbr>com/show-run.ghtml?projectid=1<wbr>&runid=2940199&dataid=20802787<wbr>&isPull=true</a><br>
<br>
Testing attach_detach<br>
timelimit -t 10 ./generated/osx/debug/32/attac<wbr>h_detach<br>
attach_detach(32762,0xb0103000<wbr>) malloc: *** error for object 0x10000000: pointer being freed was not allocated<br>
*** set a breakpoint in malloc_error_break to debug<br>
make[2]: *** [generated/osx/debug/32/attach<wbr>_detach.done] Error 134<br>
make[1]: *** [test/thread/.run] Error 2<br>
make: *** [unittest-debug] Error 2<br>
<br>
How can I reproduce the issue perhaps on my Ubuntu-based 64-bit laptop? I'm hoping that the problem will be obvious if I can build a 32-bit target and "set a breakpoint in malloc_error_break to debug".<br>
<br>
I tried to build a 32-bit dmd on my system but failed with dependency issues. Is the following right way?<br>
<br>
$ MODEL=32 make -f posix.mak -j8 AUTO_BOOTSTRAP=1<br>
[...]<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/<wbr>5/libstdc++.so when searching for -lstdc++<br>
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/<wbr>5/libstdc++.a when searching for -lstdc++<br>
/usr/bin/ld: cannot find -lstdc++<br>
collect2: error: ld returned 1 exit status<br>
<br>
Ali<br>
</blockquote></div></div>