https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032
Bug ID: 66032
Summary: RTEMS MIPS build fails on FreeBSD
Product: gcc
Version: 4.9.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: chris at contemporary dot net.au
Target Milestone: ---
Created attachment 35473
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35473&action=edit
RSB Report for RTEMS 4.1 MIPS failure on FreeBSD.
Build RTEMS 4.11 MIP tool set fails on FreeBSD. The attached log file shows the
error.
The configure command line is:
../gcc-4.9.2/configure --prefix=/opt/work/rtems/4.11
--bindir=/opt/work/rtems/4.11/bin --exec_prefix=/opt/work/rtems/4.11
--includedir=/opt/work/rtems/4.11/include --libdir=/opt/work/rtems/4.11/lib
--libexecdir=/opt/work/rtems/4.11/libexec
--mandir=/opt/work/rtems/4.11/share/man
--infodir=/opt/work/rtems/4.11/share/info --datadir=/opt/work/rtems/4.11/share
--build=x86_64-freebsd10.1 --host=x86_64-freebsd10.1 --target=m32r-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++
newlib is the newlib-2.2.0-20150423 snapshot provided by Jeff this week.
I tracked the issue down to the sed commands that handle the file sets for each
multilib variant but I started to get lost. Sed is not a natural language for
me and I do not a linux box around to see what is expected.