Build Linux: FAILED 7/rtems-powerpc on x86_64-linux-gnu (powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Thu Jan 7 23:38:57 UTC 2021


RTEMS Source Builder - Set Builder, 6 (a6e2cff481ce)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown

Host: Linux-5.3.18-lp152.50-default-x86_64-with-glibc2.3.4
       Linux lupus 5.3.18-lp152.50-default #1 SMP Tue Nov 10 21:02:48 UTC 2020
       (29ac38d) x86_64 x86_64

Build Time: 0:01:25.938553

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
  CXX    rust-exp.o
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-varobj.c:17:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-varobj.c:17:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-symtab.c:24:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-symtab.c:24:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
  CXX    rust-lang.o
  CXX    selftest-arch.o
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-type.c:22:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-type.c:22:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-utils.c:23:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-utils.c:23:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-tui.c:23:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-tui.c:23:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-unwind.c:27:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-unwind.c:27:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-value.c:31:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-value.c:31:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-xmethods.c:28:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/py-xmethods.c:28:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
  CXX    serial.o
  CXX    skip.o
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python.c:92:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python.c:92:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    stabsread.o
  CXX    stack.o
  CXX    stap-probe.o
  CXX    std-regs.o
  CXX    symfile-debug.o
  CXX    symfile.o
  CXX    symmisc.o
  CXX    symtab.o
  CXX    target-connection.o
  CXX    target-dcache.o
  CXX    target-descriptions.o
  CXX    target-float.o
  CXX    target-memory.o
  CXX    target.o
  CXX    target/waitstatus.o
  CXX    test-target.o
  CXX    thread-iter.o
  CXX    thread.o
  CXX    tid-parse.o
  CXX    top.o
  CXX    tracectf.o
  CXX    tracefile-tfile.o
  CXX    tracefile.o
  CXX    tracepoint.o
  CXX    trad-frame.o
  CXX    tramp-frame.o
  CXX    tui/tui-command.o
  CXX    tui/tui-data.o
  CXX    tui/tui-disasm.o
  CXX    tui/tui-file.o
  CXX    tui/tui-hooks.o
  CXX    tui/tui-interp.o
  CXX    tui/tui-io.o
  CXX    tui/tui-layout.o
  CXX    tui/tui-out.o
  CXX    tui/tui-regs.o
  CXX    tui/tui-source.o
  CXX    tui/tui-stack.o
  CXX    tui/tui-win.o
  CXX    tui/tui-wingeneral.o
  CXX    tui/tui-winsource.o
  CXX    tui/tui.o
  CXX    type-stack.o
  CXX    typeprint.o
  CXX    ui-file.o
  CXX    ui-out.o
  CXX    ui-style.o
  CXX    unittests/array-view-selftests.o
  CXX    unittests/child-path-selftests.o
  CXX    unittests/cli-utils-selftests.o
  CXX    unittests/command-def-selftests.o
  CXX    unittests/common-utils-selftests.o
  CXX    unittests/copy_bitwise-selftests.o
  CXX    unittests/enum-flags-selftests.o
  CXX    unittests/environ-selftests.o
  CXX    unittests/filtered_iterator-selftests.o
  CXX    unittests/format_pieces-selftests.o
  CXX    unittests/function-view-selftests.o
  CXX    unittests/gmp-utils-selftests.o
  CXX    unittests/lookup_name_info-selftests.o
  CXX    unittests/main-thread-selftests.o
  CXX    unittests/memory-map-selftests.o
  CXX    unittests/memrange-selftests.o
  CXX    unittests/mkdir-recursive-selftests.o
  CXX    unittests/observable-selftests.o
  CXX    unittests/offset-type-selftests.o
  CXX    unittests/optional-selftests.o
  CXX    unittests/parse-connection-spec-selftests.o
  CXX    unittests/ptid-selftests.o
  CXX    unittests/rsp-low-selftests.o
  CXX    unittests/scoped_fd-selftests.o
  CXX    unittests/scoped_mmap-selftests.o
  CXX    unittests/scoped_restore-selftests.o
  CXX    unittests/search-memory-selftests.o
  CXX    unittests/string_view-selftests.o
  CXX    unittests/style-selftests.o
  CXX    unittests/tracepoint-selftests.o
  CXX    unittests/tui-selftests.o
  CXX    unittests/unpack-selftests.o
  CXX    unittests/utils-selftests.o
  CXX    unittests/vec-utils-selftests.o
  CXX    unittests/xml-utils-selftests.o
  CXX    user-regs.o
  CXX    utils.o
  CXX    valarith.o
  CXX    valops.o
  CXX    valprint.o
  CXX    value.o
  CXX    varobj.o
  CXX    ada-exp.o
  CXX    c-exp.o
  CXX    version.o
  CXX    xml-builtin.o
  GEN    init.c
  CXX    init.o
In file included from /usr/include/python2.7/Python.h:88,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/varobj.c:38:
/usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  534 |     register PyObject *obj,     /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  553 |     register PyObject *obj      /* Object */
      |                        ^~~
/usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  575 |     register const wchar_t *w,  /* wchar_t buffer */
      |                             ^
/usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  593 |     register wchar_t *w,        /* wchar_t buffer */
      |                       ^
In file included from /usr/include/python2.7/Python.h:97,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/python/python-internal.h:86,
                 from ../../sourceware-mirror-binutils-gdb-0f8e278/gdb/varobj.c:38:
/usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  173 |     register PyObject *obj,     /* string or Unicode object */
      |                        ^~~
/usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  174 |     register char **s,          /* pointer to buffer variable */
      |                     ^
/usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  175 |     register Py_ssize_t *len    /* pointer to length variable or NULL
      |                          ^~~
  CXXLD  gdb
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: remote-sim.o: in function `gdbsim_target::memory_map()':
/tmp/sh/src/rsb/rtems/build/powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1/build/gdb/../../sourceware-mirror-binutils-gdb-0f8e278/gdb/remote-sim.c:1283: undefined reference to `sim_memory_map'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1881: gdb] Error 1
make[2]: Leaving directory '/tmp/sh/src/rsb/rtems/build/powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1/build/gdb'
make[1]: *** [Makefile:10065: all-gdb] Error 2
make[1]: Leaving directory '/tmp/sh/src/rsb/rtems/build/powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1/build'
make: *** [Makefile:853: all] Error 2
shell cmd failed: /bin/sh -ex  /tmp/sh/src/rsb/rtems/build/powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1/do-build
error: building powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1
  See error report: rsb-report-powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 7/rtems-powerpc
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
sizes: expat-2.1.0-x86_64-linux-gnu-1: 7.416MB (installed: 1.323MB)
cleaning: expat-2.1.0-x86_64-linux-gnu-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
config: devel/gmp-6.1.0.cfg
package: gmp-6.1.0-x86_64-linux-gnu-1
building: gmp-6.1.0-x86_64-linux-gnu-1
sizes: gmp-6.1.0-x86_64-linux-gnu-1: 33.786MB (installed: 4.354MB)
cleaning: gmp-6.1.0-x86_64-linux-gnu-1
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-head.cfg
package: powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1
building: powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1
error: building powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1.txt
error: building powerpc-rtems7-gdb-0f8e278-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan  8 00:37:36 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a6e2cff481ced841ba5ac7e77f773f9978dd78e0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target powerpc-rtems7 on host x86_64-linux-gnu
 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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 LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/rtems/7/share/info  --disable-shared
  make -j 48 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> Fri Jan  8 00:37:36 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a6e2cff481ced841ba5ac7e77f773f9978dd78e0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target powerpc-rtems7 on host x86_64-linux-gnu
 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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 LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/rtems/7/share/info  --disable-shared
  make -j 48 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> Fri Jan  8 00:37:54 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a6e2cff481ced841ba5ac7e77f773f9978dd78e0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target powerpc-rtems7 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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 LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/rtems/7/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan  8 00:37:54 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a6e2cff481ced841ba5ac7e77f773f9978dd78e0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target powerpc-rtems7 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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 LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/rtems/7/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}




More information about the build mailing list