[MacPorts] #60611: go: Undefined symbols _macports_legacy_sysconf

MacPorts noreply at macports.org
Mon Jan 25 19:44:53 UTC 2021


#60611: go: Undefined symbols _macports_legacy_sysconf
---------------------------------+-----------------------
  Reporter:  Wowfunhappy         |      Owner:  ci42
      Type:  defect              |     Status:  closed
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:  fixed               |   Keywords:  mavericks
      Port:  go, legacy-support  |
---------------------------------+-----------------------
Changes (by Mihai Moldovan <ionic@…>):

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


Comment:

 In [changeset:"0cd8874b6a94f3cd11c0b9d5d09532faa554afc4/macports-ports"
 0cd8874b6a94f3cd11c0b9d5d09532faa554afc4/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="0cd8874b6a94f3cd11c0b9d5d09532faa554afc4"
 lang/go: use legacy-support LDFLAGS with cgo as well.

 Our special LDFLAGS (when needed on older systems) are not being used
 when building cgo-based packages, leading to link errors.

 Pass them down via CGO_LDFLAGS (augmenting the default flags -g and -O2,
 just to play it safe) and add this to the notes.

 Fixes: https://trac.macports.org/ticket/60611
 }}}

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


More information about the macports-tickets mailing list