[MacPorts] #68453: gcc10-bootstrap: update to gcc 10.5

MacPorts noreply at macports.org
Tue Nov 14 00:27:43 UTC 2023


#68453: gcc10-bootstrap: update to gcc 10.5
------------------------------+----------------------
  Reporter:  barracuda156     |      Owner:  catap
      Type:  update           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:
      Port:  gcc10-bootstrap  |
------------------------------+----------------------

Comment (by barracuda156):

 Fails on Sonoma still:
 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/diagnostic.h:24:
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc
 /pretty-print.h:430:3: warning: 'sprintf' is deprecated: This function is
 provided for compatibility reasons only.  Due to security concerns
 inherent in the design of sprintf(3), it is highly recommended that you
 use snprintf(3) instead. [-Wdeprecated-declarations]
 :info:build   pp_scalar (pp, HOST_WIDE_INT_PRINT_DEC, i);
 :info:build   ^
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc
 /pretty-print.h:329:7: note: expanded from macro 'pp_scalar'
 :info:build       sprintf (pp_buffer (PP)->digit_buffer, FORMAT, SCALAR);
 \
 :info:build       ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdio.h:180:1:
 note: 'sprintf' has been explicitly marked deprecated here
 :info:build __deprecated_msg("This function is provided for compatibility
 reasons only.  Due to security concerns inherent in the design of
 sprintf(3), it is highly recommended that you use snprintf(3) instead.")
 :info:build ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/cdefs.h:215:48:
 note: expanded from macro '__deprecated_msg'
 :info:build         #define __deprecated_msg(_msg)
 __attribute__((__deprecated__(_msg)))
 :info:build                                                       ^
 :info:build In file included from
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/config/darwin.c:39:
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/output.h:129:6:
 warning: '__format__' attribute argument not supported: asm_fprintf
 [-Wignored-attributes]
 :info:build      ATTRIBUTE_ASM_FPRINTF(2, 3);
 :info:build      ^
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/output.h:119:53:
 note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF'
 :info:build #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__
 (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
 :info:build                                                     ^
 :info:build clang: warning: treating 'c' input as 'c++' when in C++ mode,
 this behavior is deprecated [-Wdeprecated]
 :info:build warning: unknown warning option '-Werror=format-diag'
 [-Wunknown-warning-option]
 :info:build 3 warnings generated.
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/bins/g++
 -std=c++11 -fno-PIE -c   -g -DIN_GCC    -fno-strict-aliasing -fno-
 exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
 -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wno-format -Wmissing-
 format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-
 variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I.
 -I.
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/.
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/../include
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/../libcpp/include
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gmp
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gmp
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./mpfr/src
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/mpfr/src
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/mpc/src
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/../libdecnumber
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/../libdecnumber/dpd
 -I../libdecnumber
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/../libbacktrace
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./isl/include
 -I/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/isl/include
 -o opts-common.o -MT opts-common.o -MMD -MP -MF ./.deps/opts-common.TPo
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc
 /opts-common.c
 :info:build In file included from
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/prefix.c:68:
 :info:build In file included from
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/coretypes.h:461:
 :info:build In file included from
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc
 /hash-table.h:248:
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/vec.h:543:13:
 warning: 'constexpr' non-static member function will not be implicitly
 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-
 not-const]
 :info:build   CONSTEXPR operator vec<T, A, L> () { return vec<T, A, L>();
 }
 :info:build             ^
 :info:build                                      const
 :info:build
 /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.5.0/gcc/config/darwin.c:383:9:
 error: use of undeclared identifier 'UNSPEC_MACHOPIC_OFFSET'
 :info:build                              UNSPEC_MACHOPIC_OFFSET);
 :info:build                              ^
 }}}

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


More information about the macports-tickets mailing list