Opened 18 months ago

Last modified 18 months ago

#67501 assigned defect

cctools @949.0.1_3+llvm10 build failure on arm: unknown type name '_STRUCT_X86_THREAD_STATE32'

Reported by: slacktheplanet Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: arm64 Cc: slacktheplanet
Port: cctools

Description (last modified by slacktheplanet)

Installing cctools port gives the following error with MacPorts 2.8.1; Big Sur 11.7.7 (aarch64):

% sudo port install cctools                                                                                                                      

--->  Computing dependencies for cctools
--->  Fetching archive for cctools
--->  Attempting to fetch cctools-949.0.1_3+llvm10.darwin_20.arm64.tbz2 from https://packages.macports.org/cctools
--->  Attempting to fetch cctools-949.0.1_3+llvm10.darwin_20.arm64.tbz2 from https://ema.uk.packages.macports.org/cctools
--->  Attempting to fetch cctools-949.0.1_3+llvm10.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/cctools
--->  Building cctools
Error: Failed to build cctools: command execution failed 
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/main.log:

3564 :info:build In file included from ../get_toc_byte_sex.c:30:                                                                                                                                                                               
3565 :info:build In file included from ../../include/stuff/bytesex.h:50:                                                                                                                                                                       
3566 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3567 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3568 :info:build         ^                                                                                                                                                                                                                     
3569 :info:build In file included from ../bytesex.c:200:                                                                                                                                                                                       
3570 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3571 :info:build In file included from ../bytesex.ctypedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;:                                                                                                                                    
3572 :info:build 200        ^:                                                                                                                                                                                                                 
3573 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3574 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3575 :info:build         ^                                                                                                                                                                                                                     
3576 :info:build In file included from ../swap_headers.c:40:                                                                                                                                                                                   
3577 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3578 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3579 :info:build         ^                                                                                                                                                                                                                     
3580 :info:build In file included from ../swap_headers.c:40:                                                                                                                                                                                   
3581 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3582 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3583 :info:build         ^                                                                                                                                                                                                                     
3584 :info:build In file included from ../get_toc_byte_sex.c:30:                                                                                                                                                                               
3585 :info:build In file included from ../../include/stuff/bytesex.h:50:                                                                                                                                                                       
3586 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3587 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3588 :info:build         ^                                                                                                                                                                                                                     
3589 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:186:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3590 :info:build typedef _STRUCT_X86_THREAD_STATE32 x86_thread_state32_t;                                                                                                                                                                      
3591 :info:build         ^                                                                                                                                                                                                                     
3592 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:186:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3593 :info:build typedef _STRUCT_X86_THREAD_STATE32 x86_thread_state32_t;                                                                                                                                                                      
3594 :info:build         ^                                                                                                                                                                                                                     
3595 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:186:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3596 :info:build typedef _STRUCT_X86_THREAD_STATE32 x86_thread_state32_t;                                                                                                                                                                      
3597 :info:build         ^                                                                                                                                                                                                                     
3598 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:186:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3599 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:186:9: error: typedef _STRUCT_X86_THREAD_STATE32 x86_thread_state32_t;unknown type name '_STRUCT_X86_THREAD_STATE32'              
3600 :info:build         ^                                                                                                                                                                                                                     
3601 :info:build typedef _STRUCT_X86_THREAD_STATE32 x86_thread_state32_t;                                                                                                                                                                      
3602 :info:build         ^                                                                                                                                                                                                                     
3603 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:186:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3604 :info:build typedef _STRUCT_X86_THREAD_STATE32 x86_thread_state32_t;                                                                                                                                                                      
3605 :info:build         ^                                                                                                                                                                                                                     
3606 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:193:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'  
3607 :info:build typedef _STRUCT_X86_FLOAT_STATE32 i386_float_state_t;                                                                                                                                                                         
3608 :info:build         ^                                                                                                                                                                                                                     
3609 :info:build In file included from ../arch.c:30:                                                                                                                                                                                           
3610 :info:build In file included from ../../include/stuff/arch.h:34:                                                                                                                                                                          
3611 :info:build In file included from ../../include/stuff/bytesex.h:50:                                                                                                                                                                       
3612 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3613 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3614 :info:build         ^                                                                                                                                                                                                                     
3615 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:193:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'                                                                       
3616 :info:build typedef _STRUCT_X86_FLOAT_STATE32 i386_float_state_t;                                                                                                                                                                         
3617 :info:build         ^                                                                                                                                                                                                                     
3618 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:193:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'                                                                       
3619 :info:build typedef _STRUCT_X86_FLOAT_STATE32 i386_float_state_t;                                                                                                                                                                         
3620 :info:build         ^                                                                                                                                                                                                                     
3621 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:193:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'                                                                       
3622 :info:build typedef _STRUCT_X86_FLOAT_STATE32 i386_float_state_t;                                                                                                                                                                         
3623 :info:build         ^                                                                                                                                                                                                                     
3624 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:193:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'                                                                       
3625 :info:build typedef _STRUCT_X86_FLOAT_STATE32 i386_float_state_t;                                                                                                                                                                         
3626 :info:build         ^                                                                                                                                                                                                                     
3627 :info:build In file included from ../arch.c:30:                                                                                                                                                                                           
3628 :info:build In file included from ../../include/stuff/arch.h:34:                                                                                                                                                                          
3629 :info:build In file included from ../../include/stuff/bytesex.h:50:                                                                                                                                                                       
3630 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:182:9: error: unknown type name '_STRUCT_X86_THREAD_STATE32'                                                                      
3631 :info:build typedef _STRUCT_X86_THREAD_STATE32 i386_thread_state_t;                                                                                                                                                                       
3632 :info:build         ^                                                                                                                                                                                                                     
3633 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:193:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'                                                                       
3634 :info:build typedef _STRUCT_X86_FLOAT_STATE32 i386_float_state_t;                                                                                                                                                                         
3635 :info:build         ^                                                                                                                                                                                                                     
3636 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:197:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE32'                                                                       
...                                                                        
3768 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:205:9: error: unknown type name '_STRUCT_X86_AVX512_STATE32'                                                                      
3769 :info:build typedef _STRUCT_X86_AVX512_STATE32 x86_avx512_state32_t;                                                                                                                                                                      
3770 :info:build         ^                                                                                                                                                                                                                     
3771 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:205:9: error: unknown type name '_STRUCT_X86_AVX512_STATE32'                                                                      
3772 :info:build typedef _STRUCT_X86_AVX512_STATE32 x86_avx512_state32_t;                                                                                                                                                                      
3773 :info:build         ^                                                                                                                                                                                                                     
3774 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:232:9: error: unknown type name '_STRUCT_X86_THREAD_FULL_STATE64'                                                                 
3775 :info:build typedef _STRUCT_X86_THREAD_FULL_STATE64 x86_thread_full_state64_t;                                                                                                                                                            
3776 :info:build         ^                                                                                                                                                                                                                     
3777 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:222:9: error: unknown type name '_STRUCT_X86_DEBUG_STATE32'                                                                       
3778 :info:build typedef _STRUCT_X86_DEBUG_STATE32 x86_debug_state32_t;                                                                                                                                                                        
3779 :info:build         ^                                                                                                                                                                                                                     
3780 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3781 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3782 :info:build         ^                                                                                                                                                                                                                     
3783 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3784 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3785 :info:build         ^                                                                                                                                                                                                                     
3786 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3787 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3788 :info:build         ^                                                                                                                                                                                                                     
3789 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3790 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3791 :info:build         ^                                                                                                                                                                                                                     
3792 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:212:9: error: unknown type name '_STRUCT_X86_EXCEPTION_STATE32'                                                                   
3793 :info:build typedef _STRUCT_X86_EXCEPTION_STATE32 i386_exception_state_t;                                                                                                                                                                 
3794 :info:build         ^                                                                                                                                                                                                                     
3795 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:212:9: error: unknown type name '_STRUCT_X86_EXCEPTION_STATE32'                                                                   
3796 :info:build typedef _STRUCT_X86_EXCEPTION_STATE32 i386_exception_state_t;                                                                                                                                                                 
3797 :info:build         ^                                                                                                                                                                                                                     
3798 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:232:9: error: unknown type name '_STRUCT_X86_THREAD_FULL_STATE64'                                                                 
3799 :info:build typedef _STRUCT_X86_THREAD_FULL_STATE64 x86_thread_full_state64_t;                                                                                                                                                            
3800 :info:build         ^                                                                                                                                                                                                                     
3801 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:236:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE64'                                                                       
3802 :info:build typedef _STRUCT_X86_FLOAT_STATE64 x86_float_state64_t; 
3803 :info:build         ^                                                                                                                                                                                                                     
3804 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:232:9: error: unknown type name '_STRUCT_X86_THREAD_FULL_STATE64'                                                                 
3805 :info:build typedef _STRUCT_X86_THREAD_FULL_STATE64 x86_thread_full_state64_t;                                                                                                                                                            
3806 :info:build         ^                                                                                                                                                                                                                     
3807 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:232:9: error: unknown type name '_STRUCT_X86_THREAD_FULL_STATE64'                                                                 
3808 :info:build typedef _STRUCT_X86_THREAD_FULL_STATE64 x86_thread_full_state64_t;                                                                                                                                                            
3809 :info:build         ^                                                                                                                                                                                                                     
3810 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3811 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3812 :info:build         ^                                                                                                                                                                                                                     
3813 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:216:9: error: unknown type name '_STRUCT_X86_EXCEPTION_STATE32'                                                                   
3814 :info:build typedef _STRUCT_X86_EXCEPTION_STATE32 x86_exception_state32_t;                                                                                                                                                                
3815 :info:build         ^                                                                                                                                                                                                                     
3816 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:216:9: error: unknown type name '_STRUCT_X86_EXCEPTION_STATE32'                                                                   
3817 :info:build typedef _STRUCT_X86_EXCEPTION_STATE32 x86_exception_state32_t;                                                                                                                                                                
3818 :info:build         ^                                                                                                                                                                                                                     
3819 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:240:9: error: unknown type name '_STRUCT_X86_AVX_STATE64'                                                                         
3820 :info:build typedef _STRUCT_X86_AVX_STATE64 x86_avx_state64_t;                                                                                                                                                                            
3821 :info:build         ^                                                                                                                                                                                                                     
3822 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:236:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE64'                                                                       
3823 :info:build typedef _STRUCT_X86_FLOAT_STATE64 x86_float_state64_t;                                                                                                                                                                        
3824 :info:build         ^                                                                                                                                                                                                                     
3825 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:232:9: error: unknown type name '_STRUCT_X86_THREAD_FULL_STATE64'                                                                 
3826 :info:build typedef _STRUCT_X86_THREAD_FULL_STATE64 x86_thread_full_state64_t;                                                                                                                                                            
3827 :info:build         ^                                                                                                                                                                                                                     
3828 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:222:9: error: unknown type name '_STRUCT_X86_DEBUG_STATE32'                                                                       
3829 :info:build typedef _STRUCT_X86_DEBUG_STATE32 x86_debug_state32_t;                                                                                                                                                                        
3830 :info:build         ^                                                                                                                                                                                                                     
3831 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:236:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE64'                                                                       
3832 :info:build typedef _STRUCT_X86_FLOAT_STATE64 x86_float_state64_t;                                                                                                                                                                        
3833 :info:build         ^                                                                                                                                                                                                                     
3834 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:222:9: error: unknown type name '_STRUCT_X86_DEBUG_STATE32'                                                                       
3835 :info:build typedef _STRUCT_X86_DEBUG_STATE32 x86_debug_state32_t;                                                                                                                                                                        
3836 :info:build         ^                                                                                                                                                                                                                     
3837 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:236:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE64'                                                                       
3838 :info:build typedef _STRUCT_X86_FLOAT_STATE64 x86_float_state64_t;                                                                                                                                                                        
3839 :info:build         ^                                                                                                                                                                                                                     
3840 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:244:9: error: unknown type name '_STRUCT_X86_AVX512_STATE64'                                                                      
3841 :info:build typedef _STRUCT_X86_AVX512_STATE64 x86_avx512_state64_t;                                                                                                                                                                      
3842 :info:build         ^                                                                                                                                                                                                                     
3843 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:240:9: error: unknown type name '_STRUCT_X86_AVX_STATE64'                                                                         
3844 :info:build typedef _STRUCT_X86_AVX_STATE64 x86_avx_state64_t;                                                                                                                                                                            
3845 :info:build         ^                                                                                                                                                                                                                     
3846 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:232:9: error: unknown type name '_STRUCT_X86_THREAD_FULL_STATE64'                                                                 
3847 :info:build typedef _STRUCT_X86_THREAD_FULL_STATE64 x86_thread_full_state64_t;                                                                                                                                                            
3848 :info:build         ^                                                                                                                                                                                                                     
3849 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:240:9: error: unknown type name '_STRUCT_X86_AVX_STATE64'                                                                         
3850 :info:build typedef _STRUCT_X86_AVX_STATE64 x86_avx_state64_t;                                                                                                                                                                            
3851 :info:build         ^                                                                                                                                                                                                                     
3852 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3853 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3854 :info:build         ^                                                                                                                                                                                                                     
3855 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:240:9: error: unknown type name '_STRUCT_X86_AVX_STATE64'                                                                         
3856 :info:build typedef _STRUCT_X86_AVX_STATE64 x86_avx_state64_t;                                                                                                                                                                            
3857 :info:build         ^                                                                                                                                                                                                                     
3858 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:228:9: error: unknown type name '_STRUCT_X86_THREAD_STATE64'                                                                      
3859 :info:build typedef _STRUCT_X86_THREAD_STATE64 x86_thread_state64_t;                                                                                                                                                                      
3860 :info:build         ^                                                                                                                                                                                                                     
3861 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:236:9: error: unknown type name '_STRUCT_X86_FLOAT_STATE64'                                                                       
3862 :info:build typedef _STRUCT_X86_FLOAT_STATE64 x86_float_state64_t;                                                                                                                                                                        
3863 :info:build         ^                                                                                                                                                                                                                     
3864 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach/i386/thread_status.h:244:9: error: unknown type name '_STRUCT_X86_AVX512_STATE64'                                                                      
3865 :info:build typedef _STRUCT_X86_AVX512_STATE64 x86_avx512_state64_t;                                                                                                                                                                      
...
4169 :info:build 1 warning and 19 errors generated.                                                                                                                                                                                            
4170 :info:build make[2]: *** [arch_usage.o] Error 1                                                                                                                                                                                           
4171 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/libstuff/profile_obj'                 
4172 :info:build make[1]: *** [profile] Error 2                                                                                                                                                                                                
4173 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/libstuff'                             
4174 :info:build make: *** [all] Error 1                                                                                                                                                                                                       
4175 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1'                                         
4176 :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1" && /usr/bin/make -j8 -w all RC_OS="macos"        RC_ProjectSourceVersion=949.0.1 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os -std=gnu99" CXX="/usr/bin/clang++ -Os -stdlib=libc++" CXXLIB="-stdlib=libc++" TRIE=-DTRIE_SUPPORT RC_ARCHS="arm64" SDK="-I/opt/local/            include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/../ld64-530/src/abstraction -I/opt/local/var/macports/build/             _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/../ld64-530/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.            org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/include" LTO=-DLTO_SUPPORT RC_CFLAGS="-arch arm64 `llvm-config-mp-10 --cflags`" LLVM_MC="llvm-mc-mp-10" 
4177 :info:build Exit code: 2                                                                                                                                                                                                                  
4178 :error:build Failed to build cctools: command execution failed                                                                                                                                                                            
4179 :debug:build Error code: CHILDSTATUS 10376 2                                                                                                                                                                                              
4180 :debug:build Backtrace: command execution failed                                                                                                                                                                                          
4181 :debug:build     while executing                                                                                                                                                                                                          
4182 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"                                                                                                                                                                      
4183 :debug:build     invoked from within                                                                                                                                                                                                      
4184 :debug:build "command_exec -callback portprogress::target_progress_callback build"                                                                                                                                                        
4185 :debug:build     (procedure "portbuild::build_main" line 8)                                                                                                                                                                               
4186 :debug:build     invoked from within                                                                                                                                                                                                      
4187 :debug:build "$procedure $targetname"                                                                                                                                                                                                     
4188 :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/main.log for details.

Attachments (1)

main.log (410.0 KB) - added by slacktheplanet 18 months ago.
Log file: main.log

Download all attachments as: .zip

Change History (6)

Changed 18 months ago by slacktheplanet

Attachment: main.log added

Log file: main.log

comment:1 Changed 18 months ago by slacktheplanet

Cc: slacktheplanet added

comment:2 Changed 18 months ago by slacktheplanet

Description: modified (diff)

comment:3 Changed 18 months ago by kencu (Ken)

the only variant that works on newer systems is the +xcode variant

comment:4 Changed 18 months ago by jmroot (Joshua Root)

Keywords: cctools llvm aarch64 removed
Owner: set to jeremyhu
Status: newassigned
Summary: cctools-949.0.1_3+llvm10.darwin_20.arm64.tbz2 :error:build Failed to build cctools: command execution failedcctools @949.0.1_3+llvm10 build failure on arm: unknown type name '_STRUCT_X86_THREAD_STATE32'

comment:5 Changed 18 months ago by kencu (Ken)

The only clean thing to do here to prevent folks from shooting themselves in the foot trying to install cctools with impossible llvm variants would be to make all the unbuildable variants invisible on systems where they can't be built.

That turns out to be more of a project that you would think, as these llvm variants are used to generate the list of clang versions that can be used for the assembler modification, and they are intertwined rather deeply into the portfile code.

Note: See TracTickets for help on using tickets.