From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11423 invoked by alias); 1 May 2014 09:01:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11380 invoked by uid 48); 1 May 2014 09:01:36 -0000 From: "chris at contemporary dot net.au" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61026] New: sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang). Date: Thu, 01 May 2014 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chris at contemporary dot net.au X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg00020.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 Bug ID: 61026 Summary: sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang). Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chris at contemporary dot net.au Building gcc-4.9.0 and gcc-4.8.2 for the sh-rtems4.11 on FreeBSD 10 using the standard c++ compiler fails with ... [ Note config/sh/sh.c has a comment about this at the top ] In file included from /usr/include/c++/v1/ostream:133: /usr/include/c++/v1/locale:444:36: error: attempt to use a poisoned identifier __status = (unsigned char*)malloc(__nkw); ^ /usr/include/c++/v1/locale:1716:28: error: attempt to use a poisoned identifier __ob = (char_type*)malloc(2*static_cast(__nc)*sizeof(char_type)); ^ /usr/include/c++/v1/locale:1785:28: error: attempt to use a poisoned identifier __ob = (char_type*)malloc(2*static_cast(__nc)*sizeof(char_type)); ^ /usr/include/c++/v1/locale:2968:22: error: attempt to use a poisoned identifier _Tp* __t = (_Tp*)realloc(__owns ? __b.get() : 0, __new_cap); ^ /usr/include/c++/v1/locale:3228:30: error: attempt to use a poisoned identifier __h.reset((char*)malloc(static_cast(__wn - __wb.get() + 2))); ^ /usr/include/c++/v1/locale:3527:32: error: attempt to use a poisoned identifier __hd.reset((char_type*)malloc(__n * sizeof(char_type))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 14 warnings and 20 errors generated. Configure ... ../gcc-4.9.0/configure --prefix=/home/chrisj/development/rtems/4.11 --bindir=/home/chrisj/development/rtems/4.11/bin --exec_prefix=/home/chrisj/development/rtems/4.11 --includedir=/home/chrisj/development/rtems/4.11/include --libdir=/home/chrisj/development/rtems/4.11/lib --libexecdir=/home/chrisj/development/rtems/4.11/libexec --mandir=/home/chrisj/development/rtems/4.11/share/man --infodir=/home/chrisj/development/rtems/4.11/share/info --datadir=/home/chrisj/development/rtems/4.11/share --build=x86_64-freebsd10.0 --host=x86_64-freebsd10.0 --target=sh-rtems4.11 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --with-system-zlib --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++ $ uname -a FreeBSD sync.rtems.org 10.0-STABLE FreeBSD 10.0-STABLE #0 ed891fe(stable/10): Fri Apr 25 18:18:40 UTC 2014 amar@build1.rtems.org:/usr/obj/usr/src/sys/build1 amd64