[Openmcl-devel] CCL rebuild fails for current (and old) master on OSX 10.14

Bruce O'Neel bruce.oneel at pckswarms.ch
Mon Dec 30 12:51:02 PST 2019


Hi,  
  
I *think* both problems we see, the truncated message as well as the invalid movq instruction are really the same problems where a negative number is converted to an unsigned.  
  
I think a minimal example is below.  All of the movq instructions should be the same, but the last fails.   
  
  
/* assemble with as -Q -g -arch x86_64 bus.s */  


    


/* fails with assembler included with Xcode 11 -- Xcode 11.1.2 at least */  


  


/* works on Xcode 10.3 or earler */  


  


        node_size = 8  


        dnode_size = 16  


        num_subtag_bits = 8  


        subtag_shift = num_subtag_bits  


        ntagbits = 4  


        fulltag_misc = 13  


        misc_bias = fulltag_misc  


        fulltag_nodeheader_0 = 5  


misc_header_offset = -fulltag_misc
misc_header_offset_neg = fulltag_misc  


misc_data_offset = misc_header_offset+node_size /* first word of data    */  


misc_subtag_offset = misc_header_offset       /* low byte of header   */  


  


  


  


  


        .text  


        .align 2  


        .p2align 3  


  


        .globl junk  


junk:  


        /* movq %rax,misc_data_offset(%rsi) */  


        /* should all be the same */  


        movq %rax,-5(%rsi)  


        movq %rax,-13+8(%rsi)  


        movq %rax,-13+node_size(%rsi)  


        movq %rax,-fulltag_misc+node_size(%rsi)  


        movq %rax,misc_header_offset_neg+node_size(%rsi)  


        movq %rax,-misc_header_offset_neg+node_size(%rsi)  


        movq %rax,node_size+misc_header_offset(%rsi)  


        /* fails */  


        movq %rax,misc_header_offset+node_size(%rsi)  


        ret  


  
  
  
  



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20191230/8578a519/attachment.htm>


More information about the Openmcl-devel mailing list