Re: [pure-lang-users] 64-bit build-problems
Status: Beta
Brought to you by:
agraef
|
From: Tim H. <q...@st...> - 2008-05-01 10:15:32
|
Albert Graef <Dr....@t-...> writes: [snip] >>>> You're right about that. Don't understand why. :/ > > Ok, that should be fixed now. Could you please give it a go? I tested it > as good as I can simulate it on a 32 bit system, but of course there may > still be some other alignment issues waiting to be discovered. ;-) > > Please note that the latest regression, #7, will still fail if you run > 'make check', that's the next one on my TODO list. :) Well, the results have become more consistent, but not in a good way! :( Taking the simple fact example same as last night: | zsh, sauce 11:04AM trunk/ % cat test1.pure | fact 0 = 1; | fact n = n * fact (n-1); | fact 4; | | zsh, sauce 11:04AM trunk/ % ./pure < test1.pure | zsh: segmentation fault (core dumped) ./pure < test1.pure That's worse - segfault was previously on test2.pure (my flip-around) only. gdb: | #0 0x000000000055d597 in add_char (x=0x0, c=0) at runtime.cc:901 | #1 0x00002ab533bb0f22 in ?? () | #2 0x0000000000000000 in ?? () Moving on to `check': | zsh, sauce 11:09AM trunk/ % make check | PURELIB=./lib ./pure -n -v7 lib/prelude.pure > test/prelude.log | PURELIB=./lib ./pure -v7 test/test1.pure > test/test1.log | /bin/sh: line 1: 28936 Segmentation fault (core dumped) PURELIB=./lib | ./pure -v7 test/test1.pure >test/test1.log | make: *** [test/test1.log] Error 139 | zsh: exit 2 make check gdb => same place: | #0 0x000000000055d597 in add_char (x=0x2b097500aad8, c=19142847192) | at runtime.cc:901 At this point I rm -rf * and svn upd; problem persists after very clean rebuild too. Am now on revision 17. A second `check': | zsh, sauce 11:05AM trunk/ % make check | PURELIB=./lib ./pure -v7 test/test2.pure > test/test2.log | PURELIB=./lib ./pure -v7 test/test3.pure > test/test3.log | PURELIB=./lib ./pure -v7 test/test4.pure > test/test4.log | /bin/sh: line 1: 28450 Illegal instruction (core dumped) PURELIB=./lib | ./pure -v7 test/test4.pure >test/test4.log | make: *** [test/test4.log] Error 132 | zsh: exit 2 make check Oh I see. Your check target is incremental and treats the log-file as proof it's been done. :) ~Tim -- <http://spodzone.org.uk/> |