Opened 4 years ago

Closed 7 weeks ago

#23549 closed defect (invalid)

Assembler workaround on OSX

Reported by: vbraun Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


The Apple-supplied /usr/bin/as is apparently crap:

The workarounds are either CFLAGS=-Wa,-q or set the confusingly-named environment variable AS_INTEGRATED_ASSEMBLER=1 to use the clang assembler.

Change History (6)

comment:1 Changed 4 years ago by fbissey

We use to have -Wa,-q in other places I am sure - but it seems to have gone. I like the idea of the environment variable but it probably wouldn't work while using gcc, not sure what -Wa,-q would do with gcc either.

comment:2 Changed 4 years ago by dunfield

There is some discussion in #20779 about different approaches to dealing with the ancient as on macOS.

comment:3 Changed 4 years ago by fbissey

OK I have just done a test with mpir that is the case at hand on sage-devel. -Wa,-q is very nice but doesn't work when gcc is actually clang provided by OS X. Which is the case on OS X when you bootstrap the compiler.

comment:4 Changed 7 weeks ago by mkoeppe

  • Milestone changed from sage-8.1 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

outdated, should close

comment:5 Changed 7 weeks ago by dimpase

  • Reviewers set to Dima Pasechnik
  • Status changed from needs_review to positive_review

comment:6 Changed 7 weeks ago by mkoeppe

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.