bugMIT/GNU Scheme - Bugs: bug #59994, Build Failure on Apple Silicon

 
 

bug #59994: Build Failure on Apple Silicon

Submitter:  Carlo Cabrera <carlocab>
Submitted:  Wed 03 Feb 2021 11:23:35 AM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  riastradh Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 03 Feb 2021 02:54:51 PM UTC, comment #1: 
Taylor R. Campbell <riastradh>
Group Member
Wed 03 Feb 2021 11:23:35 AM UTC, original submission:  

Attempting to compile the tarball for aarch64le on an Apple M1 processor leads to a series of errors from make, starting with


In file included from floenv.c:40:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/xmmintrin.h:13:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:129:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


The build commands used were


./configure --prefix=$prefix --without-x
make


Full build logs (also attached):

https://github.com/Homebrew/homebrew-core/pull/70286/checks?check_run_id=1820878030

The error starts at

https://github.com/Homebrew/homebrew-core/pull/70286/checks?check_run_id=1820878030#step:7:539

Carlo Cabrera <carlocab>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #50826:  logs.tar.gz added by carlocab (15KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by riastradh (Posted a comment)
  • -email is unavailable- added by carlocab (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-03 riastradh CategoryNone microcode
        StatusNone Fixed
        Assigned toNone riastradh
        Open/ClosedOpen Closed
    2021-02-03 carlocab Attached File- Added logs.tar.gz, #50826

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code