Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2023 13:44:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273071] devel/gcc-arm-embedded: error: ISO C++17 does not allow 'register' storage class specifier
Message-ID:  <bug-273071-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 273071
           Summary: devel/gcc-arm-embedded: error: ISO C++17 does not
                    allow 'register' storage class specifier
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lev@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(lev@FreeBSD.org)
          Assignee: lev@FreeBSD.org

Host is running recent CURRENT, poudriere jail is 13-STABLE (see below).

On all build hosts poudriere build fails for target CURRENT and 13-STABLE w=
ith
several compiler errors:

[...]

c++: error: unsupported option '-print-multi-os-directory'
c++: error: no input files

[...]

In file included from
/wrkdirs/usr/ports/devel/gcc-arm-embedded/work/gcc-arm-none-eabi-10.3-2021.=
10/src/gcc/gcc/cp/except.c:972:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
libc_name::hash (register const char *str, register unsigned int len)
                 ^~~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
libc_name::hash (register const char *str, register unsigned int len)
                                           ^~~~~~~~~
cfns.gperf:66:3: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
  register int hval =3D len;
  ^~~~~~~~~
cfns.gperf:93:25: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
libc_name::libc_name_p (register const char *str, register unsigned int len)
                        ^~~~~~~~~
cfns.gperf:93:51: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
libc_name::libc_name_p (register const char *str, register unsigned int len)
                                                  ^~~~~~~~~
cfns.gperf:359:7: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
      register int key =3D hash (str, len);
      ^~~~~~~~~
cfns.gperf:363:11: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
          register int index =3D lookup[key];
          ^~~~~~~~~
cfns.gperf:367:15: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
              register const char *s =3D wordlist[index].name;
              ^~~~~~~~~
1 warning and 8 errors generated.
gmake[4]: *** [Makefile:1117: cp/except.o] Error 1

[...]

Environment:
=3D>> Building devel/gcc-arm-embedded
build started at Fri Aug 11 03:03:26 UTC 2023
port directory: /usr/ports/devel/gcc-arm-embedded
package name: gcc-arm-embedded-10.3.20210921
building for: FreeBSD host.dr-intern  13.2-STABLE FreeBSD 13.2-STABLE 13025=
07
amd64
maintained by: lev@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  4942 Jul 17 17:01
/usr/ports/devel/gcc-arm-embedded/Makefile
Ports top last git commit: 5e15fd93e916
Ports top unclean checkout: no
Port dir last git commit: 474d6cc20c5e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400094
Jail OSVERSION: 1302507
Job Id: 01

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1302507
UNAME_v=3DFreeBSD 13.2-STABLE 1302507
UNAME_r=3D13.2-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
POUDRIERE_NAME=3Dpoudriere-git
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20220831
MAKEOBJDIRPREFIX=3D/pool/sources/13-STABLE/obj/
MASTERMNT=3D/pool/poudriere/data/.m/13-amd64-head-default/ref
LC_COLLATE=3DC
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
OUTPUT_REDIRECTED_STDERR=3D4
OUTPUT_REDIRECTED=3D1
PWD=3D/pool/poudriere/data/.m/13-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3D3
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D13-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
SCRIPTNAME=3Dbulk.sh
OLDPWD=3D/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=3Dpoudriere-git-3.3.99.20220831
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
gcc-arm-embedded-10.3.20210921:
     APROFILE=3Doff: Add support for Cortex-A profiles
     DOCS=3Don: Build and/or install documentation
     EXAMPLES=3Don: Build and/or install examples
     HTML=3Doff: Install HTML documentation
     PDF=3Doff: Install PDF documentation (requires TeX, it is huge)
     PURE=3Don: Use all libraries from bundle, do not depend on anything
     PYGDB=3Don: Build and install python-enabled gdb in addition to standa=
rd one
     SYMLINK=3Don: Make version-independent symlink /usr/local/gcc-arm-embe=
dded
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
lev@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=3D/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--=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-273071-7788>