Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2023 07:36:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273680] games/libretro-px68k: Fails to build with GCC 13: error: expected identifier before '__is_convertible'
Message-ID:  <bug-273680-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273680

            Bug ID: 273680
           Summary: games/libretro-px68k: Fails to build with GCC 13:
                    error: expected identifier before '__is_convertible'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397

This bug report blocks the update of GCC_DEFAULT to 13. This webpage can he=
lp
finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html

g++13 -c -ofmgen/file.o fmgen/file.cpp -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local=
/lib/gcc13
 -g -O2  -fno-merge-constants -D__LINUX__ -DNO_MERCURY
-DPX68K_VERSION=3D\"0.15+\" -DGIT_VERSION=3D\"" "\" -DHAVE_C68K -O2 -ffast-=
math
-fomit-frame-pointer -I. -I./libretro-common/include -I./libretro -I./x68k
-I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__   -fPIC=20
-fpermissive
g++13 -c -ofmgen/fmg_wrap.o fmgen/fmg_wrap.cpp -O2 -pipe=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++
-Wl,-rpath=3D/usr/local/lib/gcc13  -g -O2  -fno-merge-constants -D__LINUX__
-DNO_MERCURY -DPX68K_VERSION=3D\"0.15+\" -DGIT_VERSION=3D\"" "\" -DHAVE_C68=
K -O2
-ffast-math -fomit-frame-pointer -I. -I./libretro-common/include -I./libret=
ro
-I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__   -fPIC=
=20
-fpermissive
g++13 -c -ofmgen/fmgen.o fmgen/fmgen.cpp -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local=
/lib/gcc13
 -g -O2  -fno-merge-constants -D__LINUX__ -DNO_MERCURY
-DPX68K_VERSION=3D\"0.15+\" -DGIT_VERSION=3D\"" "\" -DHAVE_C68K -O2 -ffast-=
math
-fomit-frame-pointer -I. -I./libretro-common/include -I./libretro -I./x68k
-I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__   -fPIC=20
-fpermissive
In file included from /usr/include/c++/v1/math.h:309,
                 from fmgen/headers.h:10,
                 from fmgen/file.cpp:5:
/usr/include/c++/v1/type_traits:1770:8: error: expected identifier before
'__is_convertible'
 1770 | struct __is_convertible
      |        ^~~~~~~~~~~~~~~~

Full log:
https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-=
06_17h55m19s/logs/errors/libretro-px68k-0.20220311_1.log

There are other bugs similar to this one, such as bug #273671 or bug #27367=
4.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273680-7788>