fixes for win32 and osx32 segmented architecture changes#446
fixes for win32 and osx32 segmented architecture changes#446WalterBright merged 2 commits intodlang:masterfrom
Conversation
fixes for win32 and osx32 segmented architecture changes
|
lion os x : dmd -m32 -c -d -o- -Isrc -Iimport -Hfimport/core/cpuid.di src/core/cpuid.d |
|
On 10/11/2011 11:49 PM, Long Chang wrote:
$ dmd -m32 -c -d -o- -Isrc -Iimport -Hfimport/core/cpuid.di src/core/cpuid.d I can't reproduce this on the auto-tester machine. I recall sean installing a non-default compiler since the default $ g++ --version $ ls -l /usr/bin/g++ |
|
root@loong |
|
You have a slightly newer build of gcc based on a slightly newer build of llvm. Unlikely to matter, but not impossible. You're going to need to do some digging since I can't reproduce it.
If that works, your build was unclean If that doesn't work:
|
|
I make a clean rebuild, it still crash . before your commit, it is working . I am not sure how to use GDB, here is my test result : root@loong /opt/installs/d/druntime# gdb dmd (gdb) show args Program received signal SIGTRAP, Trace/breakpoint trap. |
|
sorry for my mistake , It seem use a dmd from /usr/local/bin, but I put new builded dmd in /opt/loca/bin . your path is working now with my g++ . |
This only works because of a bug in dmd, and it was probably supposed to...
Really not sure how the win32 problems weren't caught in my previous builds. The only thing I can see is that the commits on my system were in a different order than what showed up in the pull request.
The machobj.c changes were because I didn't test the osx build before submitting. Oops.
The full druntime, phobos, and dmd test suites pass for both platforms.