[MacPorts] #60961: povray @3.7.0.8 build failure, Xcode 11.6 clang++ internal error

MacPorts noreply at macports.org
Sun Dec 6 23:37:34 UTC 2020


#60961: povray @3.7.0.8 build failure, Xcode 11.6 clang++ internal error
--------------------------+------------------------
  Reporter:  jonas-bjork  |      Owner:  ryandesign
      Type:  defect       |     Status:  accepted
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.3
Resolution:               |   Keywords:
      Port:  povray       |
--------------------------+------------------------
Changes (by ryandesign):

 * cc: jeanlucmargot (added)


Comment:

 Replying to [comment:9 ryandesign]:
 > `fatal error: error in backend: Cannot emit physreg copy instruction`

 Testing on Catalina, I cannot reproduce this issue with:

 * Xcode 11.3.1 CLT (clang 1100.0.33.17)
 * Xcode 11.4 CLT (clang 1103.0.32.29)
 * Xcode 11.4.1 CLT (clang 1103.0.32.59)
 * Xcode 11.5 CLT (clang 1103.0.32.62)

 (There was no CLT release for 11.6 or 11.7, presumably because the clang
 version didn't change.)

 I had used `xcode-select` to select the CLT since I didn't want to deal
 with installing huge Xcode apps. Maybe using a full Xcode is the only way
 to reproduce the issue but that would surprise me.

 Or maybe it only affects certain Mac models. I notice the build system is
 compiling with `-march=native`, which it should not do and which we should
 prevent, but that would cause it to optimize differently for different
 Intel CPUs; maybe on one particular CPU it doesn't work in this case. I
 was testing on a 2012 MacBook Pro with Retina Display (MacBookPro10,1).
 What machines were you testing on, Jonas and Jean-Luc? (I think Murray's
 issue was just the VERSION file issue, not the cannot emit physreg copy
 instruction problem.)

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


More information about the macports-tickets mailing list