[Bug target/82530] New: RTEMS 4.12 SH build failure on FreeBSD 11.1 (clang) with an error in sh_optimize_sett_clrt.cc
chrisj at rtems dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 12 18:22:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82530
Bug ID: 82530
Summary: RTEMS 4.12 SH build failure on FreeBSD 11.1 (clang)
with an error in sh_optimize_sett_clrt.cc
Product: gcc
Version: 7.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: chrisj at rtems dot org
Target Milestone: ---
Building on FreeBSD with results in the following error:
In file included from
../../gcc-7.2.0/gcc/config/sh/sh_optimize_sett_clrt.cc:30:
In file included from /usr/include/c++/v1/vector:266:
In file included from /usr/include/c++/v1/__bit_reference:15:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/memory:629:
/usr/include/c++/v1/typeinfo:199:2: error: no member named 'fancy_abort' in
namespace 'std::__1'; did you mean simply 'fancy_abort'?
_VSTD::abort();
^~~~~~~
/usr/include/c++/v1/__config:390:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
../../gcc-7.2.0/gcc/system.h:725:13: note: 'fancy_abort' declared here
c++extern void fancy_abort (const char *, int, const char *)
ATTRIBUTE_NORETURN;
^
The configure command line is:
../gcc-7.2.0/configure --prefix=/build/rtems/tools/4.12
--bindir=/build/rtems/tools/4.12/bin --exec_prefix=/build/rtems/tools/4.12
--includedir=/build/rtems/tools/4.12/include
--libdir=/build/rtems/tools/4.12/lib
--libexecdir=/build/rtems/tools/4.12/libexec
--mandir=/build/rtems/tools/4.12/share/man
--infodir=/build/rtems/tools/4.12/share/info
--datadir=/build/rtems/tools/4.12/share --build=x86_64-freebsd11.1
--host=x86_64-freebsd11.1 --target=sh-rtems4.12 --disable-libstdcxx-pch
--with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls
--without-included-gettext --disable-win32-registry
--enable-version-specific-runtime-libs --disable-lto
--enable-newlib-io-c99-formats --enable-newlib-iconv
'--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258'
--enable-threads --disable-plugin --enable-languages=c,c++
More information about the Gcc-bugs
mailing list