bugMIT/GNU Scheme - Bugs: bug #47767, OS X clang builds with...

 
 

bug #47767: OS X clang builds with -march=native can fail

Submitter:  ilovezfs <ilovezfs>
Submitted:  Sat 23 Apr 2016 08:26:37 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 23 Apr 2016 08:26:37 AM UTC, original submission:  

-march=native does not always work when trying to build mit-scheme-c-9.2. On a Skylake iMac, a successful workaround is to set anything from -march=core2 up to -march=ivybridge. -march=haswell and -march=native fail, so this seems to be a haswell-and-up specific problem.

Issue references:
https://github.com/Homebrew/homebrew-core/issues/461
https://github.com/Homebrew/homebrew-core/issues/486

The error looks like this:

Last 15 lines from /Users/romanos/Library/Logs/Homebrew/mit-scheme/01.make-liarc.sh:
; Loading "triv.pkg"... done
; Dumping "cref-unx.pkd"... done
;... done
;Loading "cref.cbf"...
; Compiling file: "./anfile.bin" => "./anfile.c"... done
; Compiling file: "./conpkg.bin" => "./conpkg.c"... done
; Compiling file: "./forpkg.bin" => "./forpkg.c"...
;The object (#[compiled-closure 12 ("rtlcon" #x1) #x7 #xdf2ea #x684c13] #[compiled-procedure 13 ("cfg3" #x23) #x3 #xe29da] plus-fixnum #f . 19), passed as the second argument to apply, is not the correct type.
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.

2 error>
End of input stream reached.
Moriturus te saluto.
make: * [stamp_liarc-compile-scheme] Error 1

ilovezfs <ilovezfs>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ilovezfs (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-8ccc.
    Corresponding source code