[MacPorts] #69374: gcc13 optimizer bug in ncurses

MacPorts noreply at macports.org
Sun Mar 3 21:23:32 UTC 2024


#69374: gcc13 optimizer bug in ncurses
---------------------------+--------------------
  Reporter:  ThomasDickey  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gcc13         |
---------------------------+--------------------

Comment (by ThomasDickey):

 Building gcc13 (and comparing with gcc12 build log) from source shows that
 its configure scripts make several checks for limits.h, failing on the
 next to last check in gcc13.  The relevant chunk of build log:
 {{
 checking if
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/
 -B/opt/local/arm64-apple-darwin23/bin/ -B/opt/local/arm64-apple-
 darwin23/lib/ -isystem /opt/local/arm64-apple-darwin23/include -isystem
 /opt/local/arm64-apple-darwin23/sys-include   -fchecking=1 supports -fno-
 rtti -fno-exceptions... checking for unistd.h... yes
 checking stdio.h presence... no
 checking for -exported_symbols_list linker flag... yes
 checking for feof_unlocked... yes
 checking for -force_load linker flag... yes
 checking for stdio.h... yes
 checking limits.h usability... no
 checking for
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/
 -B/opt/local/arm64-apple-darwin23/bin/ -B/opt/local/arm64-apple-
 darwin23/lib/ -isystem /opt/local/arm64-apple-darwin23/include -isystem
 /opt/local/arm64-apple-darwin23/sys-include   -fchecking=1 option to
 produce PIC... -fno-common -DPIC
 checking if
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/
 -B/opt/local/arm64-apple-darwin23/bin/ -B/opt/local/arm64-apple-
 darwin23/lib/ -isystem /opt/local/arm64-apple-darwin23/include -isystem
 /opt/local/arm64-apple-darwin23/sys-include   -fchecking=1 PIC flag -fno-
 common -DPIC works... yes
 yes
 checking for sys/types.h... checking for dlfcn.h... config.status:
 creating Makefile
 yes
 checking if
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/build/./gcc/
 -B/opt/local/arm64-apple-darwin23/bin/ -B/opt/local/arm64-apple-
 darwin23/lib/ -isystem /opt/local/arm64-apple-darwin23/include -isystem
 /opt/local/arm64-apple-darwin23/sys-include   -fchecking=1 static flag
 -static works... yes
 checking limits.h presence... config.status: creating config.h
 yes
 }}

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


More information about the macports-tickets mailing list