[MacPorts] #68659: mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of abort()

MacPorts noreply at macports.org
Tue May 28 09:09:20 UTC 2024


#68659: mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of
abort()
-------------------------+-------------------------------------------------
  Reporter:  nneonneo    |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  catalina bigsur monterey ventura
      Port:  mips-elf-   |  sonoma
  gcc                    |
-------------------------+-------------------------------------------------

Comment (by nneonneo):

 I very hackily rebuilt it using the in-progress MacPorts build directory.
 Definitely not a long-term strategy, but it works for me.

 I guess that a newer GCC might help, although 4.9.4 is still very old and
 will still probably suffer from some of these issues.

 @ryandesign: for this port, -Werror=implicit-function-declaration straight
 up breaks the build because some files just use functions without
 including the appropriate header file. (It’s very old C code). So I don’t
 think there’s a good way around this besides disabling the warning/error.

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


More information about the macports-tickets mailing list