[Bug 243681] lang/gcc10-devel: Build of 10.0.1.s20200126 fails from "reinterpret_cast from 'nullptr_t' to 'function *' is not allowed"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 28 20:43:58 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243681
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 at FreeBSD.org
Reporter: philippe.michel7 at 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=sandybridge -DLIBICONV_PLUG -DIN_GCC
-fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W
-Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag
-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
-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
-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:2971:13:
error:
reinterpret_cast from 'nullptr_t' to 'function *' is not allowed
v.m_fun = reinterpret_cast<function *> (NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/lang/gcc10-devel/work/gcc-10-20200126/gcc/analyzer/engine.cc:2983:21:
error:
reinterpret_cast from 'nullptr_t' to 'function *' is not allowed
return v.m_fun == reinterpret_cast<function *> (NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list