[MacPorts] #67355: Compiling hdf5 with +gcc12

MacPorts noreply at macports.org
Tue May 2 21:02:10 UTC 2023


#67355: Compiling hdf5 with +gcc12
--------------------------+----------------------
  Reporter:  jvianalopes  |      Owner:  eborisch
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  hdf5         |
--------------------------+----------------------

Comment (by jvianalopes):

 Thank you very much!
 Your suggestion was very useful.
 I was not using the "port configure" neither the "port logfile".
 Instead, I was copying the build temporary folder and inspecting the
 config.log.

 The difference is in the flag:
 CXXFLAGS='-pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
 x86_64'
 removing the -stdlib=libc++ the symbols coincide.
 How can I remove this option with macports?
 I tried to edit the Portfile using the "port edit hdf5" and defining
 CXXFLAGS with configure.env without success.
 Thanks in advance
 João

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


More information about the macports-tickets mailing list