Build Darwin: FAILED 4.10/rtems-nios2.bset on x86_64-apple-darwin17.6.0 (nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1)
chrisj at rtems.org
chrisj at rtems.org
Sun Jun 24 04:29:18 UTC 2018
Host: Darwin-17.6.0-x86_64-i386-64bit
Darwin mohua 17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT
2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64 i386
Build Time: 0:07:43.336198
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
^
../../gcc-4.1/gcc/vec.h:973:5: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), sizeof (T) \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/stor-layout.c:27:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:999:15: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec),\
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/stor-layout.c:33:
../../gcc-4.1/gcc/output.h:126:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes]
ATTRIBUTE_ASM_FPRINTF(2, 3);
^
../../gcc-4.1/gcc/output.h:116:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF'
#define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
^
4 warnings generated.
/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/opt/work/chris/rtems/builds/rtems/tools/include -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1/gcc -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include -I../../gcc-4.1/gcc/../libcpp/include ../../gcc-4.1/gcc/stringpool.c -o stringpool.o
In file included from ../../gcc-4.1/gcc/stringpool.c:36:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:958:44: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/stringpool.c:36:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:973:5: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), sizeof (T) \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/stringpool.c:36:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:999:15: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec),\
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
3 warnings generated.
/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/opt/work/chris/rtems/builds/rtems/tools/include -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1/gcc -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include -I../../gcc-4.1/gcc/../libcpp/include ../../gcc-4.1/gcc/targhooks.c -o targhooks.o
In file included from ../../gcc-4.1/gcc/targhooks.c:56:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:958:44: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/targhooks.c:56:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:973:5: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), sizeof (T) \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/targhooks.c:56:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:999:15: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec),\
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/targhooks.c:58:
../../gcc-4.1/gcc/output.h:126:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes]
ATTRIBUTE_ASM_FPRINTF(2, 3);
^
../../gcc-4.1/gcc/output.h:116:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF'
#define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
^
4 warnings generated.
/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/opt/work/chris/rtems/builds/rtems/tools/include -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1/gcc -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include -I../../gcc-4.1/gcc/../libcpp/include ../../gcc-4.1/gcc/timevar.c -o timevar.o
/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/4.10/rtems-nios2.bset/opt/work/chris/rtems/builds/rtems/tools/include -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1/gcc -I../../gcc-4.1/gcc/. -I../../gcc-4.1/gcc/../include -I../../gcc-4.1/gcc/../libcpp/include \
-DTARGET_NAME=\"nios2-rtems4.10\" \
-c ../../gcc-4.1/gcc/toplev.c -o toplev.o
In file included from ../../gcc-4.1/gcc/toplev.c:46:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:958:44: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/toplev.c:46:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:973:5: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec), sizeof (T) \
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/toplev.c:46:
../../gcc-4.1/gcc/tree.h:1245:1: warning: using extended field designator is an extension [-Wextended-offsetof]
DEF_VEC_ALLOC_O(constructor_elt,gc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.1/gcc/vec.h:776:32: note: expanded from macro 'DEF_VEC_ALLOC_O'
VEC_TA_GTY(T,base,A,); \
^
../../gcc-4.1/gcc/vec.h:999:15: note: expanded from macro '\
DEF_VEC_ALLOC_FUNC_O'
offsetof (VEC(T,A),base.vec),\
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
In file included from ../../gcc-4.1/gcc/toplev.c:56:
../../gcc-4.1/gcc/output.h:126:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes]
ATTRIBUTE_ASM_FPRINTF(2, 3);
^
../../gcc-4.1/gcc/output.h:116:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF'
#define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
^
../../gcc-4.1/gcc/toplev.c:524:1: error: redefinition of a 'extern inline' function 'floor_log2' is not supported in C99 mode
floor_log2 (unsigned HOST_WIDE_INT x)
^
../../gcc-4.1/gcc/toplev.h:175:1: note: previous definition is here
floor_log2 (unsigned HOST_WIDE_INT x)
^
../../gcc-4.1/gcc/toplev.c:559:1: error: redefinition of a 'extern inline' function 'exact_log2' is not supported in C99 mode
exact_log2 (unsigned HOST_WIDE_INT x)
^
../../gcc-4.1/gcc/toplev.h:181:1: note: previous definition is here
exact_log2 (unsigned HOST_WIDE_INT x)
^
4 warnings and 2 errors generated.
make[2]: *** [toplev.o] Error 1
make[2]: Leaving directory `/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1/build'
make: *** [all] Error 2
make: Leaving directory `/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1/build'
shell cmd failed: /bin/sh -ex /opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1/doit
error: building nios2-rtems4.10-gcc-4.1-newlib-1.19.0-1
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> Sun Jun 24 14:22:07 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: 6baeb3558640d4fba1a282ef0e570066dde64bb9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-apple-darwin17.6.0-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-apple-darwin17.6.0
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin17.6.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin17.6.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${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-apple-darwin17.6.0 --host=x86_64-apple-darwin17.6.0 \
--verbose \
--prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
--exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
--includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
--mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/share/info
make -j 4 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> Sun Jun 24 14:22:07 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: 6baeb3558640d4fba1a282ef0e570066dde64bb9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-apple-darwin17.6.0-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-apple-darwin17.6.0
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin17.6.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin17.6.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${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-apple-darwin17.6.0 --host=x86_64-apple-darwin17.6.0 \
--verbose \
--prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
--exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
--includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
--mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/share/info
make -j 4 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> Sun Jun 24 14:23:15 2018
==============================================================================
Report: tools/rtems-nios2-binutils-2.20-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Repository is dirty
Head:
Commit: 6baeb3558640d4fba1a282ef0e570066dde64bb9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-nios2-binutils-2.20-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-nios2-binutils-2.20-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.10-binutils-2.20-x86_64-apple-darwin17.6.0-1
Config: tools/rtems-nios2-binutils-2.20-1.cfg
Summary:
Binutils v2.20 for target nios2-rtems4.10 on host x86_64-apple-darwin17.6.0
URL:
http://sources.redhat.com/binutils
Version:
2.20
Release:
1
Sources: 1
1: http://ftp.rtems.org/pub/rtems/people/chrisj/nios/nios2-binutils-2.20.tar.bz2
md5: 42ce11b421a1d35fc7b17ee051ccf92a
Patches: 1
1: https://git.rtems.org/rtems-tools/plain/tools/4.10/binutils/nios2/nios2-binutils-2.20-rtems-20110703.diff
md5: edaa78cdf7b87866c976232ccb1704ac
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.20"
source_dir_binutils=${binutils_source}
%setup source binutils -q -n ${binutils_source}
%setup patch binutils -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; 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-apple-darwin17.6.0" == "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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin17.6.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin17.6.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${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
../${source_dir_binutils}/configure \
--build=x86_64-apple-darwin17.6.0 --host=x86_64-apple-darwin17.6.0 \
--target=nios2-rtems4.10 \
--verbose --disable-nls \
--enable-deterministic-archives \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
--exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
--includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
--mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/share/info
make -j 4 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
mkdir -p $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jun 24 14:23:15 2018
==============================================================================
Report: tools/rtems-nios2-binutils-2.20-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Repository is dirty
Head:
Commit: 6baeb3558640d4fba1a282ef0e570066dde64bb9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-nios2-binutils-2.20-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-nios2-binutils-2.20-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.10-binutils-2.20-x86_64-apple-darwin17.6.0-1
Config: tools/rtems-nios2-binutils-2.20-1.cfg
Summary:
Binutils v2.20 for target nios2-rtems4.10 on host x86_64-apple-darwin17.6.0
URL:
http://sources.redhat.com/binutils
Version:
2.20
Release:
1
Sources: 1
1: http://ftp.rtems.org/pub/rtems/people/chrisj/nios/nios2-binutils-2.20.tar.bz2
md5: 42ce11b421a1d35fc7b17ee051ccf92a
Patches: 1
1: https://git.rtems.org/rtems-tools/plain/tools/4.10/binutils/nios2/nios2-binutils-2.20-rtems-20110703.diff
md5: edaa78cdf7b87866c976232ccb1704ac
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.20"
source_dir_binutils=${binutils_source}
%setup source binutils -q -n ${binutils_source}
%setup patch binutils -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; 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-apple-darwin17.6.0" == "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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin17.6.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin17.6.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${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
../${source_dir_binutils}/configure \
--build=x86_64-apple-darwin17.6.0 --host=x86_64-apple-darwin17.6.0 \
--target=nios2-rtems4.10 \
--verbose --disable-nls \
--enable-deterministic-archives \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
--exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
--includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
--mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/share/info
make -j 4 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
mkdir -p $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/nios2-rtems4.10-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/nios2-rtems4.10-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jun 24 14:29:15 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: 6baeb3558640d4fba1a282ef0e570066dde64bb9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-apple-darwin17.6.0-1
Config: tools/rtems-gdb-7.11-1.cfg
Summary:
GDB v7.11 for target nios2-rtems4.10 on host x86_64-apple-darwin17.6.0
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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; 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-apple-darwin17.6.0" == "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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin17.6.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin17.6.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS=""
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-apple-darwin17.6.0 --host=x86_64-apple-darwin17.6.0 \
--target=nios2-rtems4.10 \
--verbose --disable-nls \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-python \
--prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
--exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
--includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
--mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/share/info
make -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jun 24 14:29:15 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: 6baeb3558640d4fba1a282ef0e570066dde64bb9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-apple-darwin17.6.0-1
Config: tools/rtems-gdb-7.11-1.cfg
Summary:
GDB v7.11 for target nios2-rtems4.10 on host x86_64-apple-darwin17.6.0
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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; 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-apple-darwin17.6.0" == "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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin17.6.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin17.6.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${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-apple-darwin17.6.0" != "x86_64-apple-darwin17.6.0" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS=""
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-apple-darwin17.6.0 --host=x86_64-apple-darwin17.6.0 \
--target=nios2-rtems4.10 \
--verbose --disable-nls \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-python \
--prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
--exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
--includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
--mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/share/info
make -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
cd ${build_top}
More information about the build
mailing list