[MacPorts] #24194: gcc43, gcc44 won't compile with non-default build_arch

MacPorts noreply at macports.org
Wed Jul 7 19:42:33 UTC 2021


#24194: gcc43, gcc44 won't compile with non-default build_arch
--------------------------+--------------------------------
  Reporter:  hackdefendr  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  1.8.2
Resolution:  worksforme   |   Keywords:
      Port:  gcc44 gcc43  |
--------------------------+--------------------------------
Changes (by kencu):

 * status:  assigned => closed
 * resolution:   => worksforme


Comment:

 It appears that the issue the user was having here was primarily that he
 wanted to build 32bit code on a machine that defaults to 64bit, and wanted
 gcc to build as 32bit to allow that.

 Our gcc setup is not designed to work this way. The compiler is always
 built for the native arch. The support libraries are built to the target
 arch, and can be built multilib to support different bit depths if
 {{{+universal}}} is selected.

 So the proper fix here would have been to build {{{gcc44 +universal}}},
 and that gcc44, built for the native arch, could build 32bit or 64bit
 Intel code as desired.

 There is nothing to fix here.

 This ticket is ancient history now, and this information is of use to
 probably no-one, but just cleaning up.

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


More information about the macports-tickets mailing list