[Openmcl-devel] CCL rebuild fails for current (and old) master on OSX 10.14
Tim Bradshaw
tfb at tfeb.org
Mon Dec 16 12:55:11 PST 2019
What are the chances that Apple will fix whatever broke? If we assume zero (it is Apple...) & also that Xcode 10 will not continue to work for ever, is there any hope of adjusting things so it works with 11? (This sounds like 'please fix it for me': it's not meant like that. Rather: is it apparent what has gone wrong & is there any hope of a workaround?)
--tim
> On 16 Dec 2019, at 18:44, R. Matthew Emerson <rme at acm.org> wrote:
>
> Xcode 11 tools can't build CCL. Something in the assembler changed.
>
> See the comment at the bottom of https://github.com/Clozure/ccl/issues/226
>
> As a workaround, install an earlier Xcode (like 10.2), select it with xcode-select -s /Applications/Xcode-10.2, and then it should work to rebuild the lisp kernel.
>
>
>
>
>
>> On Dec 16, 2019, at 2:59 AM, Tim Bradshaw <tfb at tfeb.org> wrote:
>>
>> I'm trying to rebuild CCL using the current master branch from github (58d4d91c), based on the v1.12-dev.5 snapshot.
>>
>> I do this by running the snapshot image (with no init files), and then
>>
>> (ccl:rebuild-ccl :full t :allow-constant-redefinition t :allow-other-keys t)
>>
>> This makes good noises until it tries to rebuild the kernel, when I get a lot of bad-looking things below.
>>
>> This is OSX 10.14 (not 10.15!), with the most recent Xcode (at least, the most recent for 10.14), and current patches as far as I know.
>>
>> I am reasonably sure that this is a change in OSX not CCL: the previous commit I built (well: the previous commit I had pulled from GH, and I am pretty sure I would have built it) was b5233ad, and if I check this out it no longer builds with exactly the same symptoms. So it is probably a change to Xcode, but I have no idea what it might be.
>>
>> --tim
>>
>> Noise as it fails:
>>
>> ;Building lisp-kernel ...
>>> Error: Error(s) during kernel compilation.
>>> gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-spjump64.s | as -arch x86_64 -g -Q -o x86-spjump64.o
>>> gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-spentry64.s | as -arch x86_64 -g -Q -o x86-spentry64.o
>>> gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-subprims64.s | as -arch x86_64 -g -Q -o x86-subprims64.o
>>> gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../imports.s | as -arch x86_64 -g -Q -o imports.o
>>> cc -include ../platform-darwinx8664.h -c ../pmcl-kernel.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.0-164-g58d4d91c" -DUSE_DTRACE \
>>> -g -O -Wno-format \
>>> -I. -mmacosx-version-min=10.9 -o pmcl-kernel.o
>>> ../x86-spjump64.s:unknown:rs_org invalid, dot past value by -17616 bytes
>>> ../x86-spentry64.s:55:4294967283 shortened to 243
>>> ../x86-spentry64.s:60:4294967291 shortened to 251
>>> ../x86-spentry64.s:77:4294967283 shortened to 243
>>> ../x86-spentry64.s:78:4294967291 shortened to 251
>>> ../x86-spentry64.s:115:4294967283 shortened to 243
>>> ../x86-spentry64.s:116:4294967291 shortened to 251
>>> ../x86-spentry64.s:117:4294967299 shortened to 3
>>> ../x86-spentry64.s:120:4294967283 shortened to 243
>>> ../x86-spentry64.s:121:4294967291 shortened to 251
>>> ../x86-spentry64.s:122:4294967299 shortened to 3
>>> ../x86-spentry64.s:157:4294967283 shortened to 243
>>> ../x86-spentry64.s:158:4294967291 shortened to 251
>>> ../x86-spentry64.s:159:4294967299 shortened to 3
>>> ../x86-spentry64.s:162:4294967283 shortened to 243
>>> ../x86-spentry64.s:165:4294967283 shortened to 243
>>> ../x86-spentry64.s:166:4294967291 shortened to 251
>>> ../x86-spentry64.s:167:4294967299 shortened to 3
>>> ../x86-spentry64.s:178:4294967283 shortened to 243
>>> ../x86-spentry64.s:183:4294967283 shortened to 243
>>> cc -include ../platform-darwinx8664.h -c ../gc-common.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.0-164-g58d4d91c" -DUSE_DTRACE \
>>> -g -O -Wno-format \
>>> -I. -mmacosx-version-min=10.9 -o gc-common.o
>>> ../x86-spentry64.s:479:4294967291 shortened to 251
>>> ../x86-spentry64.s:484:4294967291 shortened to 251
>>> ../x86-spentry64.s:487:4294967291 shortened to 251
>>> ../x86-spentry64.s:490:4294967291 shortened to 251
>>> ../x86-spentry64.s:492:4294967283 shortened to 243
>>> ../x86-spentry64.s:493:4294967291 shortened to 251
>>> ../x86-spentry64.s:498:4294967283 shortened to 243
>>> ../x86-spentry64.s:502:4294967291 shortened to 251
>>> ../x86-spentry64.s:504:4294967283 shortened to 243
>>> ../x86-spentry64.s:505:4294967291 shortened to 251
>>> ../x86-spentry64.s:508:4294967291 shortened to 251
>>> ../x86-spentry64.s:512:4294967291 shortened to 251
>>> ../x86-spentry64.s:517:4294967291 shortened to 251
>>> ../x86-spentry64.s:523:4294967291 shortened to 251
>>> ../x86-spentry64.s:529:4294967291 shortened to 251
>>> ../x86-spentry64.s:537:4294967291 shortened to 251
>>> ../x86-spentry64.s:543:4294967291 shortened to 251
>>> ../x86-spentry64.s:549:4294967291 shortened to 251
>>> ../x86-spentry64.s:556:4294967291 shortened to 251
>>> ../x86-spentry64.s:563:4294967291 shortened to 251
>>> ../x86-spentry64.s:569:4294967291 shortened to 251
>>> ../x86-spentry64.s:574:4294967291 shortened to 251
>>> ../x86-spentry64.s:594:4294967283 shortened to 243
>>> ../x86-spentry64.s:614:4294967283 shortened to 243
>>> ../x86-spentry64.s:633:4294967283 shortened to 243
>>> ../x86-spentry64.s:638:4294967283 shortened to 243
>>> ../x86-spentry64.s:929:4294967291 shortened to 251
>>> ../x86-spentry64.s:943:4294967283 shortened to 243
>>> ../x86-spentry64.s:946:4294967283 shortened to 243
>>> ../x86-spentry64.s:951:4294967291 shortened to 251
>>> ../x86-spentry64.s:955:4294967291 shortened to 251
>>> ../x86-spentry64.s:956:4294967299 shortened to 3
>>> ../x86-spentry64.s:958:4294967291 shortened to 251
>>> ../x86-spentry64.s:965:4294967291 shortened to 251
>>> ../x86-spentry64.s:976:4294967283 shortened to 243
>>> ../x86-spentry64.s:979:4294967283 shortened to 243
>>> ../x86-spentry64.s:981:4294967291 shortened to 251
>>> ../x86-spentry64.s:983:4294967291 shortened to 251
>>> ../x86-spentry64.s:995:4294967283 shortened to 243
>>> ../x86-spentry64.s:998:4294967291 shortened to 251
>>> ../x86-spentry64.s:999:4294967291 shortened to 251
>>> ../x86-spentry64.s:1002:4294967283 shortened to 243
>>> ../x86-spentry64.s:1009:4294967283 shortened to 243
>>> ../x86-spentry64.s:1012:4294967291 shortened to 251
>>> ../x86-spentry64.s:1013:4294967291 shortened to 251
>>> ../x86-spentry64.s:1026:4294967291 shortened to 251
>>> ../x86-spentry64.s:1035:4294967291 shortened to 251
>>> ../x86-spentry64.s:1044:4294967291 shortened to 251
>>> ../x86-spentry64.s:1053:4294967291 shortened to 251
>>> ../x86-spentry64.s:1056:4294967291 shortened to 251
>>> ../x86-spentry64.s:1064:4294967291 shortened to 251
>>> ../x86-spentry64.s:1077:4294967291 shortened to 251
>>> ../x86-spentry64.s:1086:4294967291 shortened to 251
>>> ../x86-spentry64.s:1095:4294967291 shortened to 251
>>> ../x86-spentry64.s:1108:4294967291 shortened to 251
>>> ../x86-spentry64.s:1116:4294967291 shortened to 251
>>> ../x86-spentry64.s:1184:suffix or operands invalid for `movq'
>>> ../x86-spentry64.s:1184:4294967291 shortened to 251
>>> ../x86-spentry64.s:1190:suffix or operands invalid for `movq'
>>> ../x86-spentry64.s:1190:4294967291 shortened to 251
>>> ../x86-spentry64.s:1205:suffix or operands invalid for `movq'
>>> ../x86-spentry64.s:1205:4294967291 shortened to 251
>>> ../x86-spentry64.s:1211:suffix or operands invalid for `movq'
>>> ../x86-spentry64.s:1211:4294967291 shortened to 251
>>> ../x86-spentry64.s:1221:4294967291 shortened to 251
>>> ../x86-spentry64.s:1334:4294967291 shortened to 251
>>> cc -include ../platform-darwinx8664.h -c ../x86-gc.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.0-164-g58d4d91c" -DUSE_DTRACE \
>>> -g -O -Wno-format \
>>> -I. -mmacosx-version-min=10.9 -o x86-gc.o
>>> cc -include ../platform-darwinx8664.h -c ../bits.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.0-164-g58d4d91c" -DUSE_DTRACE \
>>> -g -O -Wno-format \
>>> -I. -mmacosx-version-min=10.9 -o bits.o
>>> ../x86-spentry64.s:1465:4294967291 shortened to 251
>>> ../x86-spentry64.s:1657:4294967293 shortened to 253
>>> ../x86-spentry64.s:1670:4294967293 shortened to 253
>>> ../x86-spentry64.s:1689:4294967293 shortened to 253
>>> ../x86-spentry64.s:1710:4294967293 shortened to 253
>>> ../x86-spentry64.s:1730:4294967291 shortened to 251
>>> ../x86-spentry64.s:1803:4294967293 shortened to 253
>>> ../x86-spentry64.s:1843:4294967291 shortened to 251
>>> ../x86-spentry64.s:1847:4294967291 shortened to 251
>>> ../x86-spentry64.s:1885:4294967291 shortened to 251
>>> ../x86-spentry64.s:1889:4294967291 shortened to 251
>>> ../x86-spentry64.s:2093:4294967293 shortened to 253
>>> ../x86-spentry64.s:2099:4294967293 shortened to 253
>>> ../x86-spentry64.s:2100:4294967293 shortened to 253
>>> ../x86-spentry64.s:2114:4294967293 shortened to 253
>>> ../x86-spentry64.s:2135:4294967293 shortened to 253
>>> ../x86-spentry64.s:2137:4294967293 shortened to 253
>>> ../x86-spentry64.s:2265:4294967283 shortened to 243
>>> ../x86-spentry64.s:2268:4294967291 shortened to 251
>>> ../x86-spentry64.s:2331:4294967293 shortened to 253
>>> ../x86-spentry64.s:2349:4294967293 shortened to 253
>>> ../x86-spentry64.s:2367:4294967293 shortened to 253
>>> ../x86-spentry64.s:2410:4294967293 shortened to 253
>>> ../x86-spentry64.s:2420:4294967289 shortened to 249
>>> ../x86-spentry64.s:2421:4294967289 shortened to 249
>>> ../x86-spentry64.s:2422:4294967283 shortened to 243
>>> ../x86-spentry64.s:2469:4294967291 shortened to 251
>>> ../x86-spentry64.s:2529:4294967293 shortened to 253
>>> ../x86-spentry64.s:2543:4294967289 shortened to 249
>>> ../x86-spentry64.s:2544:4294967289 shortened to 249
>>> ../x86-spentry64.s:2546:4294967283 shortened to 243
>>> ../x86-spentry64.s:2585:4294967293 shortened to 253
>>> ../x86-spentry64.s:2633:4294967293 shortened to 253
>>> ../x86-spentry64.s:2841:4294967291 shortened to 251
>>> ../x86-spentry64.s:2871:4294967291 shortened to 251
>>> ../x86-spentry64.s:2906:4294967293 shortened to 253
>>> ../x86-spentry64.s:2915:4294967293 shortened to 253
>>> ../x86-spentry64.s:2939:4294967291 shortened to 251
>>> ../x86-spentry64.s:2995:4294967283 shortened to 243
>>> ../x86-spentry64.s:3034:4294967293 shortened to 253
>>> ../x86-spentry64.s:3051:4294967293 shortened to 253
>>> ../x86-spentry64.s:3067:4294967293 shortened to 253
>>> ../x86-spentry64.s:3102:4294967293 shortened to 253
>>> ../x86-spentry64.s:3106:4294967293 shortened to 253
>>> ../x86-spentry64.s:3133:4294967283 shortened to 243
>>> ../x86-spentry64.s:3141:4294967293 shortened to 253
>>> ../x86-spentry64.s:3143:4294967293 shortened to 253
>>> ../x86-spentry64.s:3147:4294967291 shortened to 251
>>> ../x86-spentry64.s:3218:4294967293 shortened to 253
>>> ../x86-spentry64.s:3249:4294967283 shortened to 243
>>> ../x86-spentry64.s:3252:4294967283 shortened to 243
>>> ../x86-spentry64.s:3254:4294967287 shortened to 247
>>> ../x86-spentry64.s:3467:4294967283 shortened to 243
>>> ../x86-spentry64.s:3470:4294967283 shortened to 243
>>> ../x86-spentry64.s:3475:4294967291 shortened to 251
>>> ../x86-spentry64.s:3479:4294967291 shortened to 251
>>> ../x86-spentry64.s:3480:4294967299 shortened to 3
>>> ../x86-spentry64.s:3495:4294967283 shortened to 243
>>> ../x86-spentry64.s:3498:4294967283 shortened to 243
>>> ../x86-spentry64.s:3500:4294967291 shortened to 251
>>> ../x86-spentry64.s:3520:4294967283 shortened to 243
>>> ../x86-spentry64.s:3521:4294967291 shortened to 251
>>> ../x86-spentry64.s:3525:4294967283 shortened to 243
>>> ../x86-spentry64.s:3526:4294967291 shortened to 251
>>> ../x86-spentry64.s:3740:4294967291 shortened to 251
>>> ../x86-spentry64.s:3755:4294967299 shortened to 3
>>> ../x86-spentry64.s:3776:4294967307 shortened to 11
>>> ../x86-spentry64.s:3780:4294967315 shortened to 19
>>> ../x86-spentry64.s:3791:4294967323 shortened to 27
>>> ../x86-spentry64.s:3803:4294967331 shortened to 35
>>> ../x86-spentry64.s:3815:4294967339 shortened to 43
>>> ../x86-spentry64.s:3827:4294967347 shortened to 51
>>> ../x86-spentry64.s:3839:4294967355 shortened to 59
>>> cc -include ../platform-darwinx8664.h -c ../x86-exceptions.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.0-164-g58d4d91c" -DUSE_DTRACE \
>>> -g -O -Wno-format \
>>> -I. -mmacosx-version-min=10.9 -o x86-exceptions.o
>>> ../x86-spentry64.s:3851:4294967363 shortened to 67
>>> ../x86-spentry64.s:3865:4294967283 shortened to 243
>>> ../x86-spentry64.s:3866:4294967283 shortened to 243
>>> ../x86-spentry64.s:3873:4294967291 shortened to 251
>>> ../x86-spentry64.s:3874:4294967291 shortened to 251
>>> ../x86-spentry64.s:3887:4294967291 shortened to 251
>>> ../x86-spentry64.s:3888:4294967291 shortened to 251
>>> ../x86-spentry64.s:3901:4294967283 shortened to 243
>>> ../x86-spentry64.s:3902:4294967283 shortened to 243
>>> ../x86-spentry64.s:3906:4294967291 shortened to 251
>>> ../x86-spentry64.s:3907:4294967291 shortened to 251
>>> ../x86-spentry64.s:3918:4294967291 shortened to 251
>>> ../x86-spentry64.s:3919:4294967291 shortened to 251
>>> ../x86-spentry64.s:3921:4294967295 shortened to 255
>>> ../x86-spentry64.s:3922:4294967295 shortened to 255
>>> ../x86-spentry64.s:3945:4294967283 shortened to 243
>>> ../x86-spentry64.s:3955:4294967283 shortened to 243
>>> ../x86-spentry64.s:3958:4294967291 shortened to 251
>>> ../x86-spentry64.s:3971:4294967293 shortened to 253
>>> ../x86-spentry64.s:3976:4294967293 shortened to 253
>>> ../x86-spentry64.s:3980:4294967379 shortened to 83
>>> ../x86-spentry64.s:3993:4294967283 shortened to 243
>>> ../x86-spentry64.s:4006:4294967387 shortened to 91
>>> ../x86-spentry64.s:4017:4294967293 shortened to 253
>>> ../x86-spentry64.s:4044:4294967293 shortened to 253
>>> ../x86-spentry64.s:4074:4294967411 shortened to 115
>>> ../x86-spentry64.s:4085:4294967419 shortened to 123
>>> ../x86-spentry64.s:4097:4294967427 shortened to 131
>>> ../x86-spentry64.s:4107:4294967443 shortened to 147
>>> ../x86-spentry64.s:4118:4294967451 shortened to 155
>>> ../x86-spentry64.s:4123:4294967283 shortened to 243
>>> ../x86-spentry64.s:4130:4294967467 shortened to 171
>>> ../x86-spentry64.s:4177:4294967435 shortened to 139
>>> ../x86-spentry64.s:4181:4294967283 shortened to 243
>>> ../x86-spentry64.s:4188:4294967459 shortened to 163
>>> ../x86-spentry64.s:4221:4294967291 shortened to 251
>>> ../x86-spentry64.s:4349:4294967283 shortened to 243
>>> ../x86-spentry64.s:4350:4294967291 shortened to 251
>>> ../x86-spentry64.s:4432:4294967291 shortened to 251
>>> ../x86-spentry64.s:4449:4294967291 shortened to 251
>>> ../x86-spentry64.s:4543:4294967283 shortened to 243
>>> ../x86-spentry64.s:4544:4294967291 shortened to 251
>>> ../x86-spentry64.s:4927:4294967283 shortened to 243
>>> ../x86-spentry64.s:4930:4294967291 shortened to 251
>>> ../x86-spentry64.s:4943:4294967283 shortened to 243
>>> ../x86-spentry64.s:4965:4294967283 shortened to 243
>>> ../x86-spentry64.s:4968:4294967291 shortened to 251
>>> ../x86-spentry64.s:4988:4294967283 shortened to 243
>>> ../x86-spentry64.s:5010:4294967283 shortened to 243
>>> ../x86-spentry64.s:5013:4294967291 shortened to 251
>>> ../x86-spentry64.s:5026:4294967283 shortened to 243
>>> ../x86-spentry64.s:5048:4294967283 shortened to 243
>>> ../x86-spentry64.s:5051:4294967291 shortened to 251
>>> ../x86-spentry64.s:5071:4294967283 shortened to 243
>>> ../x86-spentry64.s:5099:4294967283 shortened to 243
>>> ../x86-spentry64.s:5137:4294967291 shortened to 251
>>> ../x86-spentry64.s:5171:4294967291 shortened to 251
>>> ../x86-spentry64.s:5184:4294967291 shortened to 251
>>> ../x86-spentry64.s:5195:4294967291 shortened to 251
>>> ../x86-spentry64.s:5202:4294967291 shortened to 251
>>> ../x86-spentry64.s:5207:4294967323 shortened to 27
>>> ../x86-spentry64.s:5215:4294967283 shortened to 243
>>> ../x86-spentry64.s:5218:4294967275 shortened to 235
>>> ../x86-spentry64.s:5220:4294967267 shortened to 227
>>> ../x86-spentry64.s:5223:4294967323 shortened to 27
>>> ../x86-spentry64.s:5229:4294967283 shortened to 243
>>> ../x86-spentry64.s:5231:4294967275 shortened to 235
>>> ../x86-spentry64.s:5234:4294967283 shortened to 243
>>> make: *** [x86-spentry64.o] Error 1
>>> make: *** Waiting for unfinished jobs....
>>>
>>> While executing: REBUILD-CCL, in process listener(1).
>>> Type :GO to continue, :POP to abort, :R for a list of available restarts.
>>> If continued: Skip evaluation of (progn (ccl:rebuild-ccl :full t :allow-constant-redefinition t :allow-other-keys t) (quit))
>>> Type :? for other options.
>> 1 >
>>
>>
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> https://lists.clozure.com/mailman/listinfo/openmcl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20191216/a40c54bf/attachment.htm>
More information about the Openmcl-devel
mailing list