Build Windows: FAILED 4.10/rtems-nios2.bset on x86_64-w64-mingw32 (nios2-rtems4.10-binutils-2.20-x86_64-w64-mingw32-1)

Chris Johns chrisj at rtems.org
Tue Feb 6 11:18:17 UTC 2018



Host: Windows-10-10.0.16299-SP0
       Windows weng 10 10.0.16299 AMD64 Intel64 Family 6 Model 42 Stepping 7,
       GenuineIntel


Build Time: 0:09:37.531797

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: nios2-rtems4.10-binutils-2.20-x86_64-w64-mingw32-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
In file included from ../../binutils-2.20/binutils/ar.c:31:0:
../../binutils-2.20/binutils/ar.c: In function 'map_over_members':
../../binutils-2.20/binutils/ar.c:191:33: warning: passing argument 2 of 'head->xvec->_bfd_stat_arch_elt' from incompatible pointer type [-Wincompatible-pointer-types]
        bfd_stat_arch_elt (head, &buf);
                                 ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:191:8: note: in expansion of macro 'bfd_stat_arch_elt'
        bfd_stat_arch_elt (head, &buf);
        ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c:191:33: note: expected 'struct stat *' but argument is of type 'struct _stat64 *'
        bfd_stat_arch_elt (head, &buf);
                                 ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:191:8: note: in expansion of macro 'bfd_stat_arch_elt'
        bfd_stat_arch_elt (head, &buf);
        ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c: In function 'print_contents':
../../binutils-2.20/binutils/ar.c:849:32: warning: passing argument 2 of 'abfd->xvec->_bfd_stat_arch_elt' from incompatible pointer type [-Wincompatible-pointer-types]
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
                                ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:849:7: note: in expansion of macro 'bfd_stat_arch_elt'
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
       ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c:849:32: note: expected 'struct stat *' but argument is of type 'struct _stat64 *'
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
                                ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:849:7: note: in expansion of macro 'bfd_stat_arch_elt'
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
       ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c: In function 'extract_file':
../../binutils-2.20/binutils/ar.c:904:32: warning: passing argument 2 of 'abfd->xvec->_bfd_stat_arch_elt' from incompatible pointer type [-Wincompatible-pointer-types]
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
                                ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:904:7: note: in expansion of macro 'bfd_stat_arch_elt'
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
       ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c:904:32: note: expected 'struct stat *' but argument is of type 'struct _stat64 *'
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
                                ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:904:7: note: in expansion of macro 'bfd_stat_arch_elt'
   if (bfd_stat_arch_elt (abfd, &buf) != 0)
       ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c:979:43: warning: passing argument 2 of 'set_times' from incompatible pointer type [-Wincompatible-pointer-types]
       set_times (bfd_get_filename (abfd), &buf);
                                           ^
In file included from ../../binutils-2.20/binutils/ar.c:36:0:
../../binutils-2.20/binutils/bucomm.h:70:13: note: expected 'const struct stat *' but argument is of type 'struct _stat64 *'
 extern void set_times (const char *, const struct stat *);
             ^~~~~~~~~
In file included from ../../binutils-2.20/binutils/ar.c:31:0:
../../binutils-2.20/binutils/ar.c: In function 'replace_members':
../../binutils-2.20/binutils/ar.c:1232:41: warning: passing argument 2 of 'current->xvec->_bfd_stat_arch_elt' from incompatible pointer type [-Wincompatible-pointer-types]
         if (bfd_stat_arch_elt (current, &asbuf) != 0)
                                         ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:1232:13: note: in expansion of macro 'bfd_stat_arch_elt'
         if (bfd_stat_arch_elt (current, &asbuf) != 0)
             ^~~~~~~~~~~~~~~~~
../../binutils-2.20/binutils/ar.c:1232:41: note: expected 'struct stat *' but argument is of type 'struct _stat64 *'
         if (bfd_stat_arch_elt (current, &asbuf) != 0)
                                         ^
../bfd/bfd.h:5309:30: note: in definition of macro 'BFD_SEND'
   ((*((bfd)->xvec->message)) arglist)
                              ^~~~~~~
../../binutils-2.20/binutils/ar.c:1232:13: note: in expansion of macro 'bfd_stat_arch_elt'
         if (bfd_stat_arch_elt (current, &asbuf) != 0)
             ^~~~~~~~~~~~~~~~~
mv -f .deps/arlex.Tpo .deps/arlex.Po
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/binutils  -I. -I../../binutils-2.20/binutils -I../bfd -I../../binutils-2.20/binutils/../bfd -I../../binutils-2.20/binutils/../include -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT rename.o -MD -MP -MF .deps/rename.Tpo -c -o rename.o ../../binutils-2.20/binutils/rename.c
mv -f .deps/stabs.Tpo .deps/stabs.Po
mv -f .deps/arsup.Tpo .deps/arsup.Po
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/gas  -I. -I../../binutils-2.20/gas -I../bfd -I../../binutils-2.20/gas/config -I../../binutils-2.20/gas/../include -I../../binutils-2.20/gas/.. -I../../binutils-2.20/gas/../bfd -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT subsegs.o -MD -MP -MF .deps/subsegs.Tpo -c -o subsegs.o ../../binutils-2.20/gas/subsegs.c
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/binutils  -I. -I../../binutils-2.20/binutils -I../bfd -I../../binutils-2.20/binutils/../bfd -I../../binutils-2.20/binutils/../include -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT binemul.o -MD -MP -MF .deps/binemul.Tpo -c -o binemul.o ../../binutils-2.20/binutils/binemul.c
../../binutils-2.20/binutils/rename.c:93:1: error: conflicting types for 'set_times'
 set_times (const char *destination, const struct stat *statbuf)
 ^~~~~~~~~
In file included from ../../binutils-2.20/binutils/rename.c:23:0:
../../binutils-2.20/binutils/bucomm.h:70:13: note: previous declaration of 'set_times' was here
 extern void set_times (const char *, const struct stat *);
             ^~~~~~~~~
make[4]: *** [Makefile:801: rename.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/ar.Tpo .deps/ar.Po
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/gas  -I. -I../../binutils-2.20/gas -I../bfd -I../../binutils-2.20/gas/config -I../../binutils-2.20/gas/../include -I../../binutils-2.20/gas/.. -I../../binutils-2.20/gas/../bfd -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT symbols.o -MD -MP -MF .deps/symbols.Tpo -c -o symbols.o ../../binutils-2.20/gas/symbols.c
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/gas  -I. -I../../binutils-2.20/gas -I../bfd -I../../binutils-2.20/gas/config -I../../binutils-2.20/gas/../include -I../../binutils-2.20/gas/.. -I../../binutils-2.20/gas/../bfd -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT write.o -MD -MP -MF .deps/write.Tpo -c -o write.o ../../binutils-2.20/gas/write.c
In file included from ../../binutils-2.20/gas/as.h:118:0,
                 from ../../binutils-2.20/gas/subsegs.c:25:
../../binutils-2.20/gas/subsegs.c: In function 'subseg_change':
../bfd/bfd.h:298:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../binutils-2.20/gas/subsegs.c:70:7: note: in expansion of macro 'bfd_set_section_userdata'
       bfd_set_section_userdata (stdoutput, seg, seginfo);
       ^~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-2.20/gas/subsegs.c: In function 'subseg_get':
../bfd/bfd.h:298:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../binutils-2.20/gas/subsegs.c:172:7: note: in expansion of macro 'bfd_set_section_userdata'
       bfd_set_section_userdata (stdoutput, secptr, seginfo);
       ^~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/binemul.Tpo .deps/binemul.Po
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/gas  -I. -I../../binutils-2.20/gas -I../bfd -I../../binutils-2.20/gas/config -I../../binutils-2.20/gas/../include -I../../binutils-2.20/gas/.. -I../../binutils-2.20/gas/../bfd -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT tc-nios2.o -MD -MP -MF .deps/tc-nios2.Tpo -c -o tc-nios2.o `test -f 'config/tc-nios2.c' || echo '../../binutils-2.20/gas/'`config/tc-nios2.c
In file included from ../../binutils-2.20/gas/as.h:118:0,
                 from ../../binutils-2.20/gas/write.c:25:
../../binutils-2.20/gas/write.c: In function 'record_alignment':
../bfd/bfd.h:297:83: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../binutils-2.20/gas/write.c:356:5: note: in expansion of macro 'bfd_set_section_alignment'
     bfd_set_section_alignment (stdoutput, seg, align);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-2.20/gas/write.c: In function 'relax_align':
../../binutils-2.20/gas/write.c:2014:17: warning: left shift of negative value [-Wshift-negative-value]
   mask = ~((~0) << alignment);
                 ^~
mv -f .deps/subsegs.Tpo .deps/subsegs.Po
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/gas  -I. -I../../binutils-2.20/gas -I../bfd -I../../binutils-2.20/gas/config -I../../binutils-2.20/gas/../include -I../../binutils-2.20/gas/.. -I../../binutils-2.20/gas/../bfd -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT obj-elf.o -MD -MP -MF .deps/obj-elf.Tpo -c -o obj-elf.o `test -f 'config/obj-elf.c' || echo '../../binutils-2.20/gas/'`config/obj-elf.c
../../binutils-2.20/gas/config/tc-nios2.c: In function 'nios2_insert_arg':
../../binutils-2.20/gas/config/tc-nios2.c:704:23: warning: variable 'to' set but not used [-Wunused-but-set-variable]
   int i, count, from, to;
                       ^~
../../binutils-2.20/gas/config/tc-nios2.c:704:17: warning: variable 'from' set but not used [-Wunused-but-set-variable]
   int i, count, from, to;
                 ^~~~
../../binutils-2.20/gas/config/tc-nios2.c: In function 's_nios2_sdata':
../../binutils-2.20/gas/config/tc-nios2.c:3080:7: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
   int temp;
       ^~~~
In file included from ../../binutils-2.20/gas/as.h:118:0,
                 from ../../binutils-2.20/gas/config/obj-elf.c:24:
../../binutils-2.20/gas/config/obj-elf.c: In function 'obj_elf_init_stab_section':
../bfd/bfd.h:297:83: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../binutils-2.20/gas/config/obj-elf.c:1771:3: note: in expansion of macro 'bfd_set_section_alignment'
   bfd_set_section_alignment (stdoutput, seg, 2);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-2.20/gas/config/obj-elf.c: In function 'obj_elf_parse_section_letters':
../../binutils-2.20/gas/config/obj-elf.c:768:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (*(str - 1) == 'a')
       ^
../../binutils-2.20/gas/config/obj-elf.c:778:2: note: here
  default:
  ^~~~~~~
mv -f .deps/stabs.Tpo .deps/stabs.Po
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/gas  -I. -I../../binutils-2.20/gas -I../bfd -I../../binutils-2.20/gas/config -I../../binutils-2.20/gas/../include -I../../binutils-2.20/gas/.. -I../../binutils-2.20/gas/../bfd -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT atof-ieee.o -MD -MP -MF .deps/atof-ieee.Tpo -c -o atof-ieee.o `test -f 'config/atof-ieee.c' || echo '../../binutils-2.20/gas/'`config/atof-ieee.c
../../binutils-2.20/gas/write.c: In function 'chain_frchains_together':
../../binutils-2.20/gas/write.c:399:24: warning: 'dummy.fr_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
   gas_assert (prev_frag->fr_type != 0);
                        ^~
mv -f .deps/atof-ieee.Tpo .deps/atof-ieee.Po
mv -f .deps/read.Tpo .deps/read.Po
mv -f .deps/write.Tpo .deps/write.Po
mv -f .deps/obj-elf.Tpo .deps/obj-elf.Po
mv -f .deps/tc-nios2.Tpo .deps/tc-nios2.Po
mv -f .deps/symbols.Tpo .deps/symbols.Po
/bin/sh ./libtool --tag=CC   --mode=link x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS  -L/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/lib -Wl,--stack,8388608 -o as-new.exe app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-nios2.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a   
mv -f .deps/ieee.Tpo .deps/ieee.Po
make[4]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/binutils'
make[3]: *** [Makefile:843: all-recursive] Error 1
make[3]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/binutils'
make[2]: *** [Makefile:544: all] Error 2
make[2]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/binutils'
make[1]: *** [Makefile:4140: all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
libtool: link: x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -Wl,--stack -Wl,8388608 -o .libs/as-new.exe app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-nios2.o obj-elf.o atof-ieee.o  -L/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/lib ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a -lz ../libiberty/libiberty.a
x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -DHAVE_CONFIG_H -I. -I../../binutils-2.20/ld  -I. -I../../binutils-2.20/ld -I../bfd -I../../binutils-2.20/ld/../bfd -I../../binutils-2.20/ld/../include  -g -O2 -D__USE_MINGW_ACCESS -DLOCALEDIR="\"/D/opt/rtems/4.10/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -MT enios2elf.o -MD -MP -MF .deps/enios2elf.Tpo -c -o enios2elf.o enios2elf.c
mv -f .deps/enios2elf.Tpo .deps/enios2elf.Po
/bin/sh ./libtool --tag=CC   --mode=link x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS  -L/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/lib -Wl,--stack,8388608 -o ld-new.exe ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o enios2elf.o  ../bfd/libbfd.la ../libiberty/libiberty.a  -lz 
make[4]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/gas'
make[3]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/gas'
make[2]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/gas'
libtool: link: x86_64-w64-mingw32-gcc -O2 -pipe -I/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -D__USE_MINGW_ACCESS -Wl,--stack -Wl,8388608 -o .libs/ld-new.exe ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o enios2elf.o  -L/D/opt/rtems/rsb.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/D/opt/rtems/4.10/lib ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz
make[4]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/ld'
make[3]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/ld'
make[2]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build/ld'
make[1]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/build'
make: *** [Makefile:835: all] Error 2
shell cmd failed: sh -ex  /D/opt/rtems/rsb.git/rtems/build/nrb2xwm1/doit
error: building nrb2xwm1
  See error report: rsb-report-nios2-rtems4.10-binutils-2.20-x86_64-w64-mingw32-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/tests/._leak_test.c
x -rw-r--r--  0 chris  staff     489 Apr 26  2011 gcc-4.1/boehm-gc/tests/leak_test.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/tests/._middle.c
x -rw-r--r--  0 chris  staff     518 Apr 26  2011 gcc-4.1/boehm-gc/tests/middle.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/tests/._test.c
x -rw-r--r--  0 chris  staff   48153 Apr 26  2011 gcc-4.1/boehm-gc/tests/test.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/tests/._test_cpp.cc
x -rw-r--r--  0 chris  staff    7853 Apr 26  2011 gcc-4.1/boehm-gc/tests/test_cpp.cc
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/tests/._thread_leak_test.c
x -rw-r--r--  0 chris  staff     896 Apr 26  2011 gcc-4.1/boehm-gc/tests/thread_leak_test.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/tests/._trace_test.c
x -rw-r--r--  0 chris  staff     591 Apr 26  2011 gcc-4.1/boehm-gc/tests/trace_test.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/._dataend.c
x -rw-r--r--  0 chris  staff     121 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/dataend.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/._datastart.c
x -rw-r--r--  0 chris  staff     125 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/datastart.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/._MacOS_config.h
x -rw-r--r--  0 chris  staff    4124 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/MacOS_config.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/._MacOS_Test_config.h
x -rw-r--r--  0 chris  staff    4131 Apr 26  2011 gcc-4.1/boehm-gc/Mac_files/MacOS_Test_config.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._cord.h
x -rw-r--r--  0 chris  staff   14293 Apr 26  2011 gcc-4.1/boehm-gc/include/cord.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._ec.h
x -rw-r--r--  0 chris  staff    1778 Apr 26  2011 gcc-4.1/boehm-gc/include/ec.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc.h
x -rw-r--r--  0 chris  staff   44004 Apr 26  2011 gcc-4.1/boehm-gc/include/gc.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_alloc.h
x -rw-r--r--  0 chris  staff   11633 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_alloc.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_allocator.h
x -rw-r--r--  0 chris  staff    7445 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_allocator.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_amiga_redirects.h
x -rw-r--r--  0 chris  staff    1186 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_amiga_redirects.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_backptr.h
x -rw-r--r--  0 chris  staff    2866 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_backptr.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_config.h.in
x -rw-r--r--  0 chris  staff    3764 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_config.h.in
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_config_macros.h
x -rw-r--r--  0 chris  staff    3287 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_config_macros.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_cpp.h
x -rw-r--r--  0 chris  staff   12228 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_cpp.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_ext_config.h.in
x -rw-r--r--  0 chris  staff     244 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_ext_config.h.in
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_gcj.h
x -rw-r--r--  0 chris  staff    4754 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_gcj.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_inl.h
x -rw-r--r--  0 chris  staff    3804 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_inl.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_inline.h
x -rw-r--r--  0 chris  staff      21 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_inline.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_local_alloc.h
x -rw-r--r--  0 chris  staff    3121 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_local_alloc.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_mark.h
x -rw-r--r--  0 chris  staff    9345 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_mark.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_pthread_redirects.h
x -rw-r--r--  0 chris  staff    3107 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_pthread_redirects.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._gc_typed.h
x -rw-r--r--  0 chris  staff    4517 Apr 26  2011 gcc-4.1/boehm-gc/include/gc_typed.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._javaxfc.h
x -rw-r--r--  0 chris  staff     761 Apr 26  2011 gcc-4.1/boehm-gc/include/javaxfc.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._leak_detector.h
x -rw-r--r--  0 chris  staff     207 Apr 26  2011 gcc-4.1/boehm-gc/include/leak_detector.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._Makefile.am
x -rw-r--r--  0 chris  staff     119 Apr 26  2011 gcc-4.1/boehm-gc/include/Makefile.am
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._Makefile.in
x -rw-r--r--  0 chris  staff   12196 Apr 26  2011 gcc-4.1/boehm-gc/include/Makefile.in
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._new_gc_alloc.h
x -rw-r--r--  0 chris  staff   14316 Apr 26  2011 gcc-4.1/boehm-gc/include/new_gc_alloc.h
x -rwxr-xr-x  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._private
x drwxr-xr-x  0 chris  staff       0 Apr 26  2011 gcc-4.1/boehm-gc/include/private/
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/._weakpointer.h
x -rw-r--r--  0 chris  staff    9149 Apr 26  2011 gcc-4.1/boehm-gc/include/weakpointer.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._cord_pos.h
x -rw-r--r--  0 chris  staff    4101 Apr 26  2011 gcc-4.1/boehm-gc/include/private/cord_pos.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._darwin_semaphore.h
x -rw-r--r--  0 chris  staff    1645 Apr 26  2011 gcc-4.1/boehm-gc/include/private/darwin_semaphore.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._darwin_stop_world.h
x -rw-r--r--  0 chris  staff     434 Apr 26  2011 gcc-4.1/boehm-gc/include/private/darwin_stop_world.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._dbg_mlc.h
x -rw-r--r--  0 chris  staff    6509 Apr 26  2011 gcc-4.1/boehm-gc/include/private/dbg_mlc.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._gc_hdrs.h
x -rw-r--r--  0 chris  staff    7322 Apr 26  2011 gcc-4.1/boehm-gc/include/private/gc_hdrs.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._gc_locks.h
x -rw-r--r--  0 chris  staff   24863 Apr 26  2011 gcc-4.1/boehm-gc/include/private/gc_locks.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._gc_pmark.h
x -rw-r--r--  0 chris  staff   13657 Apr 26  2011 gcc-4.1/boehm-gc/include/private/gc_pmark.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._gc_priv.h
x -rw-r--r--  0 chris  staff   71058 Apr 26  2011 gcc-4.1/boehm-gc/include/private/gc_priv.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._gcconfig.h
x -rw-r--r--  0 chris  staff   71012 Apr 26  2011 gcc-4.1/boehm-gc/include/private/gcconfig.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._pthread_stop_world.h
x -rw-r--r--  0 chris  staff     327 Apr 26  2011 gcc-4.1/boehm-gc/include/private/pthread_stop_world.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._pthread_support.h
x -rw-r--r--  0 chris  staff    3737 Apr 26  2011 gcc-4.1/boehm-gc/include/private/pthread_support.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._solaris_threads.h
x -rw-r--r--  0 chris  staff    1539 Apr 26  2011 gcc-4.1/boehm-gc/include/private/solaris_threads.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/include/private/._specific.h
x -rw-r--r--  0 chris  staff    3751 Apr 26  2011 gcc-4.1/boehm-gc/include/private/specific.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._barrett_diagram
x -rw-r--r--  0 chris  staff    6435 Apr 26  2011 gcc-4.1/boehm-gc/doc/barrett_diagram
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._debugging.html
x -rw-r--r--  0 chris  staff   15720 Apr 26  2011 gcc-4.1/boehm-gc/doc/debugging.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._gc.man
x -rw-r--r--  0 chris  staff    5189 Apr 26  2011 gcc-4.1/boehm-gc/doc/gc.man
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._gcdescr.html
x -rw-r--r--  0 chris  staff   28714 Apr 26  2011 gcc-4.1/boehm-gc/doc/gcdescr.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._gcinterface.html
x -rw-r--r--  0 chris  staff   11821 Apr 26  2011 gcc-4.1/boehm-gc/doc/gcinterface.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._leak.html
x -rw-r--r--  0 chris  staff    8280 Apr 26  2011 gcc-4.1/boehm-gc/doc/leak.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README
x -rw-r--r--  0 chris  staff   31809 Apr 26  2011 gcc-4.1/boehm-gc/doc/README
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.amiga
x -rw-r--r--  0 chris  staff   13773 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.amiga
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.arm.cross
x -rw-r--r--  0 chris  staff    2184 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.arm.cross
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.autoconf
x -rw-r--r--  0 chris  staff    2383 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.autoconf
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.changes
x -rw-r--r--  0 chris  staff  117584 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.changes
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.contributors
x -rw-r--r--  0 chris  staff    3170 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.contributors
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.cords
x -rw-r--r--  0 chris  staff    2547 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.cords
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.darwin
x -rw-r--r--  0 chris  staff    6032 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.darwin
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.DGUX386
x -rw-r--r--  0 chris  staff    5999 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.DGUX386
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.dj
x -rw-r--r--  0 chris  staff     376 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.dj
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.environment
x -rw-r--r--  0 chris  staff    7575 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.environment
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.ews4800
x -rw-r--r--  0 chris  staff    2123 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.ews4800
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.hp
x -rw-r--r--  0 chris  staff     846 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.hp
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.linux
x -rw-r--r--  0 chris  staff    4488 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.linux
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.Mac
x -rw-r--r--  0 chris  staff   13478 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.Mac
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.MacOSX
x -rw-r--r--  0 chris  staff      60 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.MacOSX
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.macros
x -rw-r--r--  0 chris  staff    4350 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.macros
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.OS2
x -rw-r--r--  0 chris  staff     365 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.OS2
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.rs6000
x -rw-r--r--  0 chris  staff     509 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.rs6000
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.sgi
x -rw-r--r--  0 chris  staff    1843 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.sgi
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.solaris2
x -rw-r--r--  0 chris  staff    3341 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.solaris2
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.uts
x -rw-r--r--  0 chris  staff      86 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.uts
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._README.win32
x -rw-r--r--  0 chris  staff    9877 Apr 26  2011 gcc-4.1/boehm-gc/doc/README.win32
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._scale.html
x -rw-r--r--  0 chris  staff   10383 Apr 26  2011 gcc-4.1/boehm-gc/doc/scale.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._simple_example.html
x -rw-r--r--  0 chris  staff    7420 Apr 26  2011 gcc-4.1/boehm-gc/doc/simple_example.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/doc/._tree.html
x -rw-r--r--  0 chris  staff   10766 Apr 26  2011 gcc-4.1/boehm-gc/doc/tree.html
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._cordbscs.c
x -rw-r--r--  0 chris  staff   27249 Apr 26  2011 gcc-4.1/boehm-gc/cord/cordbscs.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._cordprnt.c
x -rw-r--r--  0 chris  staff   11314 Apr 26  2011 gcc-4.1/boehm-gc/cord/cordprnt.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._cordtest.c
x -rw-r--r--  0 chris  staff    8005 Apr 26  2011 gcc-4.1/boehm-gc/cord/cordtest.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._cordxtra.c
x -rw-r--r--  0 chris  staff   17207 Apr 26  2011 gcc-4.1/boehm-gc/cord/cordxtra.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._de.c
x -rw-r--r--  0 chris  staff   16720 Apr 26  2011 gcc-4.1/boehm-gc/cord/de.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._de_cmds.h
x -rw-r--r--  0 chris  staff     960 Apr 26  2011 gcc-4.1/boehm-gc/cord/de_cmds.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._de_win.c
x -rw-r--r--  0 chris  staff   10555 Apr 26  2011 gcc-4.1/boehm-gc/cord/de_win.c
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._de_win.h
x -rw-r--r--  0 chris  staff    2813 Apr 26  2011 gcc-4.1/boehm-gc/cord/de_win.h
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._de_win.ICO
x -rw-r--r--  0 chris  staff     766 Apr 26  2011 gcc-4.1/boehm-gc/cord/de_win.ICO
x -rw-r--r--  0 chris  staff     240 Apr 26  2011 gcc-4.1/boehm-gc/cord/._de_win.RC
x -rw-r--r--  0 chris  staff    1959 Apr 26  2011 gcc-4.1/boehm-gc/cord/de_win.RC
+ cd gcc-4.1
+ chmod -R a+rX,g-w,o-w .
+ cat /D/opt/rtems/rsb.git/rtems/patches/nios2-gcc-4.1-rtems-20110818.diff
+ patch -p1
patching file config-ml.in
patching file gcc/DEV-PHASE
patching file gcc/config/nios2/crti.asm
Hunk #1 FAILED at 67 (different line endings).
Hunk #2 FAILED at 76 (different line endings).
Hunk #3 FAILED at 94 (different line endings).
Hunk #4 FAILED at 102 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file gcc/config/nios2/crti.asm.rej
patching file gcc/config/nios2/nios2-protos.h
patching file gcc/config/nios2/rtems.h
patching file gcc/config/nios2/t-rtems
patching file gcc/config.gcc
patching file libiberty/strsignal.c
shell cmd failed: sh -ex  /D/opt/rtems/rsb.git/rtems/build/nrg4n11/doit
error: building nrg4n11
  See error report: rsb-report-nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Output
======



Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Feb  6 22:09:54 2018
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Repository is dirty
 Head:
  Commit: 652a90f0a8613ee3bc4112a69137730b5abd9938
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-w64-mingw32-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target nios2-rtems4.10 on host x86_64-w64-mingw32
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
       md5: dd7dab7a5fea97d2a6a43f511449b7cd
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.1.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
    # Cross build
    CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  ./configure \
  --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
  --verbose \
  --prefix=/D/opt/rtems/4.10 --bindir=/D/opt/rtems/4.10/bin \
  --exec-prefix=/D/opt/rtems/4.10 \
  --includedir=/D/opt/rtems/4.10/include --libdir=/D/opt/rtems/4.10/lib \
  --mandir=/D/opt/rtems/4.10/share/man --infodir=/D/opt/rtems/4.10/share/info
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Feb  6 22:09:55 2018
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Repository is dirty
 Head:
  Commit: 652a90f0a8613ee3bc4112a69137730b5abd9938
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-w64-mingw32-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target nios2-rtems4.10 on host x86_64-w64-mingw32
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
       md5: dd7dab7a5fea97d2a6a43f511449b7cd
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.1.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
    # Cross build
    CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  ./configure \
  --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
  --verbose \
  --prefix=/D/opt/rtems/4.10 --bindir=/D/opt/rtems/4.10/bin \
  --exec-prefix=/D/opt/rtems/4.10 \
  --includedir=/D/opt/rtems/4.10/include --libdir=/D/opt/rtems/4.10/lib \
  --mandir=/D/opt/rtems/4.10/share/man --infodir=/D/opt/rtems/4.10/share/info
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Feb  6 22:18:11 2018
==============================================================================
Report: tools/rtems-gdb-7.11-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Repository is dirty
 Head:
  Commit: 652a90f0a8613ee3bc4112a69137730b5abd9938
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.11-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.11-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.10-gdb-7.11-x86_64-w64-mingw32-1
 Config: tools/rtems-gdb-7.11-1.cfg
 Summary:
  GDB v7.11 for target nios2-rtems4.10 on host x86_64-w64-mingw32
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  7.11
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz
       md5: b5c784685e1cde65ba135feea86b6d75
  Patches: 1
    1: https://git.rtems.org/rtems-tools/plain/tools/4.10/gdb/gdb-7.11-erc32-endian-fix.diff
       md5: d0cd4207f0c7d04cb9bc9b918eebfdc6
    2: https://git.rtems.org/rtems-tools/plain/tools/4.10/gdb/gdb-7.11-erc32-printf_filtered.diff
       md5: 1e03d4c90c0cb4ded7c08963210f7127
    3: https://git.rtems.org/rtems-tools/plain/tools/4.10/gdb/gdb-7.11-erc32-common-run.diff
       md5: e986ce115b81f7dd45f36d6f257af541
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-7.11"
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "nios2-rtems4.10" -o "x86_64-w64-mingw32" == "nios2-rtems4.10" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
    # Cross build
    CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC} \
  LIBS=${GDB_LIBS} \
  ../${source_dir_gdb}/configure \
  --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
  --target=nios2-rtems4.10 \
  --verbose --disable-nls \
  --with-system-readline \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --enable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-python \
  --prefix=/D/opt/rtems/4.10 --bindir=/D/opt/rtems/4.10/bin \
  --exec-prefix=/D/opt/rtems/4.10 \
  --includedir=/D/opt/rtems/4.10/include --libdir=/D/opt/rtems/4.10/lib \
  --mandir=/D/opt/rtems/4.10/share/man --infodir=/D/opt/rtems/4.10/share/info
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  rm -rf $SB_BUILD_ROOT/D/opt/rtems/4.10/share/info/configure.info*
  rm -f $SB_BUILD_ROOT/D/opt/rtems/4.10/share/info/dir
  touch $SB_BUILD_ROOT/D/opt/rtems/4.10/share/info/dir
  cd ${build_top}

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Feb  6 22:18:11 2018
==============================================================================
Report: tools/rtems-gdb-7.11-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Repository is dirty
 Head:
  Commit: 652a90f0a8613ee3bc4112a69137730b5abd9938
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.11-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.11-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.10-gdb-7.11-x86_64-w64-mingw32-1
 Config: tools/rtems-gdb-7.11-1.cfg
 Summary:
  GDB v7.11 for target nios2-rtems4.10 on host x86_64-w64-mingw32
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  7.11
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz
       md5: b5c784685e1cde65ba135feea86b6d75
  Patches: 1
    1: https://git.rtems.org/rtems-tools/plain/tools/4.10/gdb/gdb-7.11-erc32-endian-fix.diff
       md5: d0cd4207f0c7d04cb9bc9b918eebfdc6
    2: https://git.rtems.org/rtems-tools/plain/tools/4.10/gdb/gdb-7.11-erc32-printf_filtered.diff
       md5: 1e03d4c90c0cb4ded7c08963210f7127
    3: https://git.rtems.org/rtems-tools/plain/tools/4.10/gdb/gdb-7.11-erc32-common-run.diff
       md5: e986ce115b81f7dd45f36d6f257af541
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-7.11"
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "nios2-rtems4.10" -o "x86_64-w64-mingw32" == "nios2-rtems4.10" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
    # Cross build
    CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC} \
  LIBS=${GDB_LIBS} \
  ../${source_dir_gdb}/configure \
  --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
  --target=nios2-rtems4.10 \
  --verbose --disable-nls \
  --with-system-readline \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --enable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-python \
  --prefix=/D/opt/rtems/4.10 --bindir=/D/opt/rtems/4.10/bin \
  --exec-prefix=/D/opt/rtems/4.10 \
  --includedir=/D/opt/rtems/4.10/include --libdir=/D/opt/rtems/4.10/lib \
  --mandir=/D/opt/rtems/4.10/share/man --infodir=/D/opt/rtems/4.10/share/info
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  rm -rf $SB_BUILD_ROOT/D/opt/rtems/4.10/share/info/configure.info*
  rm -f $SB_BUILD_ROOT/D/opt/rtems/4.10/share/info/dir
  touch $SB_BUILD_ROOT/D/opt/rtems/4.10/share/info/dir
  cd ${build_top}



More information about the build mailing list