[MacPorts] #64922: gcc10-bootstrap @10.3.0_4 failed at destroot on Leopard

MacPorts noreply at macports.org
Thu Apr 7 23:43:24 UTC 2022


#64922: gcc10-bootstrap @10.3.0_4 failed at destroot on Leopard
------------------------------+-------------------------------------
  Reporter:  barracuda156     |      Owner:  catap
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.7.2
Resolution:                   |   Keywords:  powerpc, leopard, ppc64
      Port:  gcc10-bootstrap  |
------------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:14 Gcenx]:
 > This sounds to me like you’ve not modified icu accordingly to use the
 desired target compiler so naturally it would fail to compile.
 > If you want to directly use the compiled gcc etc binary’s then build for
 a single arch with multlib/arch enabled instead.

 Sorry, could you explain a bit?

 If I build without muniversal and with --enable-multilib, I get gcc which
 Macports thinks is universal but it is not, yet it can build universal
 binaries of other ports.
 If I build with muniversal and with --disable-multilib, I get gcc which is
 universal itself, but fails to build universal binaries.
 If use both muniversal and --enable-multilib, I get destroot failure.

 So what is the correct way to build gcc as universal (that is, for gcc
 binaries to have both ppc and ppc64 archs), which will be able to then
 build universal ports?

 P. S. Outside of Macports problem is non-existent. Configuring gcc with
 --enable-multilib gets gcc build as ppc+ppc64. For some reason, the same
 does not work inside Macports.

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


More information about the macports-tickets mailing list