[MacPorts] #59706: libgcc7 @7.5.0 does not build on PPC Mac OS X 10.5.8, Leopard, because of internal compiler error

MacPorts noreply at macports.org
Thu Jan 30 11:15:45 UTC 2020


#59706: libgcc7 @7.5.0 does not build on PPC Mac OS X 10.5.8, Leopard, because of
internal compiler error
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:  fixed      |   Keywords:  leopard
      Port:  libgcc7    |
------------------------+---------------------

Comment (by ballapete):

 CMake @3.16.3 just built with `gcc7 @7.5.0_1` using

 {{{
 /opt/local/bin/cmake:
         /opt/local/lib/libMacportsLegacySupport.dylib (compatibility
 version 1.0.0, current version 1.0.0)
         /opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0,
 current version 8.11.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.2.11)
         /opt/local/lib/libarchive.13.dylib (compatibility version 18.0.0,
 current version 18.1.0)
         /opt/local/lib/libcurl.4.dylib (compatibility version 11.0.0,
 current version 11.0.0)
         /opt/local/lib/libuv.1.dylib (compatibility version 2.0.0, current
 version 2.0.0)
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 476.19.0)
 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
 (compatibility version 1.0.0, current version 32.0.0)
         /opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version
 7.0.0, current version 7.24.0)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 830.0.0)
         /opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version
 1.0.0, current version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 111.1.7)
 }}}

 responds with

 {{{
 Usage

   cmake [options] <path-to-source>
   cmake [options] <path-to-existing-build>
   cmake [options] -S <path-to-source> -B <path-to-build>

 Specify a source directory to (re-)generate a build system for it in the
 current working directory.  Specify an existing build directory to
 re-generate its build system.

 Options
   -S <path-to-source>          = Explicitly specify a source directory.
   -B <path-to-build>           = Explicitly specify a build directory.
   -C <initial-cache>           = Pre-load a script to populate the cache.
   -D <var>[:<type>]=<value>    = Create or update a cmake cache entry.
   -U <globbing_expr>           = Remove matching entries from CMake cache.
   -G <generator-name>          = Specify a build system generator.
   -T <toolset-name>            = Specify toolset name if supported by
                                  generator.
   -A <platform-name>           = Specify platform name if supported by
                                  generator.
   -Wdev                        = Enable developer warnings.
   -Wno-dev                     = Suppress developer warnings.
   -Werror=dev                  = Make developer warnings errors.
   -Wno-error=dev               = Make developer warnings not errors.
   -Wdeprecated                 = Enable deprecation warnings.
   -Wno-deprecated              = Suppress deprecation warnings.
   -Werror=deprecated           = Make deprecated macro and function
 warnings
                                  errors.
   -Wno-error=deprecated        = Make deprecated macro and function
 warnings
                                  not errors.
   -E                           = CMake command mode.
   -L[A][H]                     = List non-advanced cached variables.
   --build <dir>                = Build a CMake-generated project binary
 tree.
   --install <dir>              = Install a CMake-generated project binary
                                  tree.
   --open <dir>                 = Open generated project in the associated
                                  application.
   -N                           = View mode only.
   -P <file>                    = Process script mode.
   --find-package               = Run in pkg-config like mode.
   --graphviz=[file]            = Generate graphviz of dependencies, see
                                  CMakeGraphVizOptions.cmake for more.
   --system-information [file]  = Dump information about this system.
   --log-level=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>
                                = Set the verbosity of messages from CMake
                                  files.  --loglevel is also accepted for
                                  backward compatibility reasons.
   --debug-trycompile           = Do not delete the try_compile build tree.
                                  Only useful on one try_compile at a time.
   --debug-output               = Put cmake in a debug mode.
   --trace                      = Put cmake in trace mode.
   --trace-expand               = Put cmake in trace mode with variable
                                  expansion.
   --trace-source=<file>        = Trace only this CMake file/module.
 Multiple
                                  options allowed.
   --trace-redirect=<file>      = Redirect trace output to a file instead
 of
                                  stderr.
   --warn-uninitialized         = Warn about uninitialized values.
   --warn-unused-vars           = Warn about unused variables.
   --no-warn-unused-cli         = Don't warn about command line options.
   --check-system-vars          = Find problems with variable usage in
 system
                                  files.
   --help,-help,-usage,-h,-H,/? = Print usage information and exit.
   --version,-version,/V [<f>]  = Print version number and exit.
   --help-full [<f>]            = Print all help manuals and exit.
   --help-manual <man> [<f>]    = Print one help manual and exit.
   --help-manual-list [<f>]     = List help manuals available and exit.
   --help-command <cmd> [<f>]   = Print help for one command and exit.
   --help-command-list [<f>]    = List commands with help available and
 exit.
   --help-commands [<f>]        = Print cmake-commands manual and exit.
   --help-module <mod> [<f>]    = Print help for one module and exit.
   --help-module-list [<f>]     = List modules with help available and
 exit.
   --help-modules [<f>]         = Print cmake-modules manual and exit.
   --help-policy <cmp> [<f>]    = Print help for one policy and exit.
   --help-policy-list [<f>]     = List policies with help available and
 exit.
   --help-policies [<f>]        = Print cmake-policies manual and exit.
   --help-property <prop> [<f>] = Print help for one property and exit.
   --help-property-list [<f>]   = List properties with help available and
                                  exit.
   --help-properties [<f>]      = Print cmake-properties manual and exit.
   --help-variable var [<f>]    = Print help for one variable and exit.
   --help-variable-list [<f>]   = List variables with help available and
 exit.
   --help-variables [<f>]       = Print cmake-variables manual and exit.

 Generators

 The following generators are available on this platform (* marks default):
 * Unix Makefiles               = Generates standard UNIX makefiles.
   Ninja                        = Generates build.ninja files.
   Xcode                        = Generate Xcode project files.
   CodeBlocks - Ninja           = Generates CodeBlocks project files.
   CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
   CodeLite - Ninja             = Generates CodeLite project files.
   CodeLite - Unix Makefiles    = Generates CodeLite project files.
   Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
   Sublime Text 2 - Unix Makefiles
                                = Generates Sublime Text 2 project files.
   Kate - Ninja                 = Generates Kate project files.
   Kate - Unix Makefiles        = Generates Kate project files.
   Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
   Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
 }}}

 when asked for a bit of help. So `gcc7 @7.5.0_1` might now be working
 fineā€¦

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


More information about the macports-tickets mailing list