Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2020 20:43:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243681] lang/gcc10-devel: Build of 10.0.1.s20200126 fails from "reinterpret_cast from 'nullptr_t' to 'function *' is not allowed"
Message-ID:  <bug-243681-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 243681
           Summary: lang/gcc10-devel: Build of 10.0.1.s20200126 fails from
                    "reinterpret_cast from 'nullptr_t' to 'function *' is
                    not allowed"
           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: philippe.michel7@free.fr

Build of 10.0.1.s20200126 fails as shown below.
System compiler is FreeBSD clang version 9.0.1, x86_64-unknown-freebsd12.1.
Previous snapshot had failed similarly but 10.0.0.s20200105 completed ok. I
didn't try those in between.

c++ -fno-PIE -c   -O2 -pipe -march=3Dsandybridge   -DLIBICONV_PLUG  -DIN_GC=
C=20=20=20
-fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables=
 -W
-Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=3Dformat-diag=20
-fno-common  -DHAVE_CONFIG_H -I. -Ianalyzer
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/analyzer
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/../include
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/../libcpp/include
-I/usr/local/include=20
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/../libdecnumber
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/../libbacktrace=20
-DLIBICONV_PLUG -o analyzer/engine.o -MT analyzer/engine.o -MMD -MP -MF
analyzer/.deps/engine.TPo
/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/analyzer/engine.cc
[... multiple warnings ...]
/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/analyzer/engine.cc:297=
1:13:
error:=20
      reinterpret_cast from 'nullptr_t' to 'function *' is not allowed
  v.m_fun =3D reinterpret_cast<function *> (NULL);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/analyzer/engine.cc:298=
3:21:
error:=20
      reinterpret_cast from 'nullptr_t' to 'function *' is not allowed
  return v.m_fun =3D=3D reinterpret_cast<function *> (NULL);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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