[MacPorts] #65236: OpenBLAS @0.3.20_0+gcc11+lapack+native build failure on intel mac 11.6.5: gcc is putting out x86-pad-for-align=false but assembler is not accepting it

MacPorts noreply at macports.org
Thu Jul 28 22:10:10 UTC 2022


#65236: OpenBLAS @0.3.20_0+gcc11+lapack+native build failure on intel mac 11.6.5:
gcc is putting out x86-pad-for-align=false but assembler is not accepting
it
------------------------------+--------------------
  Reporter:  dsavransky       |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.7.2
Resolution:                   |   Keywords:
      Port:  OpenBLAS, gcc11  |
------------------------------+--------------------

Comment (by kencu):

 So Eric I'm not 100% sure what OS version you have going there, but
 anything fairly recent should be running {{{cctools +xcode}}} to pick up
 the tools (including the assembler) that Xcode supplies. (Also the ld64
 xcode variant, for the same reason). Here is what I have, on Monterey:

 {{{
 % port -v installed | grep cctools
   cctools @949.0.1_2+xcode (active) requested_variants='' platform='darwin
 21' archs='noarch' date='2022-07-28T06:58:15-0700'

 % port -v installed | grep ld64
   ld64 @3_4+ld64_xcode (active) requested_variants='' platform='darwin 21'
 archs='x86_64' date='2022-07-28T06:58:16-0700'
   ld64-xcode @2_4 (active) requested_variants='' platform='darwin 21'
 archs='x86_64' date='2022-07-28T06:58:16-0700'
 }}}


 With what you have installed there, your cctools "as" will look at the
 macports-clangs that you have installed, and choose one of them to be used
 as the assembler instead.

 Now that *should* be the newest one (clang-14) which should accept that
 assembler command that is failing -- but because you have "selected"
 clang-9.0 as your active clang, maybe that one is somehow being chosen
 above clang-14. Or maybe clang-14 doesn't like that directive, I would
 have to check to see exactly what likes what when and where.

 for sure, clang-9.0 is likely to be too old to understand the {{{x86-pad-
 for-align=false}}} directive, I would think.

-- 
Ticket URL: <https://trac.macports.org/ticket/65236#comment:30>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list