From: Nelson H. F. B. <be...@ma...> - 2012-05-12 15:21:34
|
Although I have now successfully built the reduce-20120504 snapshot on 20 platforms, including GNU/Linux on PowerPC-32, a build on the same Gentoo release, but for PowerPC-64, fails. I've repeated fresh build attempts with three different versions of gcc (4.3.4, 4.4.5, and 4.5.3, all from Gentoo), and all fail in the same way: ./bootstrapreduce -w -Dno_init_file /usr/local/ashare/reduce/reduce-20120504-csl/csl/cslbase/make-c-code.red \ -D@destdir=/usr/local/ashare/reduce/reduce-20120504-csl/csl/cslbase/../../cslbuild/generated-c \ -Dhow_many= -Dsize_per_file= \ -- buildlogs/c-code.log Output redirected to "buildlogs/c-code.log" make[3]: *** [/usr/local/ashare/reduce/reduce-20120504-csl/csl/cslbase/../../cslbuild/generated-c/make.stamp] Error 1 % tail -n1 ./cslbuild/powerpc64-unknown-linux-gnu-nogui/csl/buildlogs/c-code.log +++ Image file "/usr/local/ashare/reduce/reduce-20120504-csl/cslbuild/powerpc64-unknown-linux-gnu-nogui/csl/bootstrapreduce.img(InitialImage)" can not be read A system call trace shows that the file is successfully opened: % strace -f -o foo.truss make all ... % grep 'open.*bootstrapreduce.img' foo.truss 13326 open("/usr/local/ashare/reduce/reduce-20120504-csl/cslbuild/powerpc64-unknown-linux-gnu-nogui/csl/bootstrapreduce.img", O_RDWR) = 4 The file definitely exists: % ls -l /usr/local/ashare/reduce/reduce-20120504-csl/cslbuild/powerpc64-unknown-linux-gnu-nogui/csl/bootstrapreduce.img -rw-rw-r-- 1 beebe beebe 165233 May 12 07:14 /usr/local/ashare/reduce/reduce-20120504-csl/cslbuild/powerpc64-unknown-linux-gnu-nogui/csl/bootstrapreduce.img % od -xba /usr/local/ashare/reduce/reduce-20120504-csl/cslbuild/powerpc64-unknown-linux-gnu-nogui/csl/bootstrapreduce.img | head -n15 0000000 4353 4cb4 0008 0203 c05e 0000 0a63 736c 103 123 114 264 000 010 002 003 300 136 000 000 012 143 163 154 C S L 4 nul bs stx etx @ ^ nul nul nl c s l 0000020 636f 6d70 6174 2020 2053 6174 204d 6179 143 157 155 160 141 164 040 040 040 123 141 164 040 115 141 171 c o m p a t sp sp sp S a t sp M a y 0000040 2031 3220 3037 3a31 343a 3233 2032 3031 040 061 062 040 060 067 072 061 064 072 062 063 040 062 060 061 sp 1 2 sp 0 7 : 1 4 : 2 3 sp 2 0 1 0000060 326c 0100 0050 5d00 0a63 6f6d 7069 6c65 062 154 001 000 000 120 135 000 012 143 157 155 160 151 154 145 2 l soh nul nul P ] nul nl c o m p i l e 0000100 7220 2020 2053 6174 204d 6179 2031 3220 162 040 040 040 040 123 141 164 040 115 141 171 040 061 062 040 r sp sp sp sp S a t sp M a y sp 1 2 sp I tried running bootstrapreduce in a debugger, but gdb reports that there are no symbols, and without spending a lot of extra time, I was unable to identify why the open is reported as failing. Ideas, anyone? ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: be...@ma... - - 155 S 1400 E RM 233 be...@ac... be...@co... - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- |