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

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Thu Jan 7 20:34:11 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:36.969104

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  YACC   go-exp.c
  YACC   m2-exp.c
  YACC   p-exp.c
  YACC   rust-exp.c
  GEN    stamp-version
  CXX    xml-support.o
  GEN    xml-builtin.c
  CXX    xml-syscall.o
  CXX    xml-tdesc.o
/tmp/sh/src/rsb/rtems/build/powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1/build/gdb/../../sourceware-mirror-binutils-gdb-0f8e278/gdb/c-exp.y: warning: 153 shift/reduce conflicts [-Wconflicts-sr]
/tmp/sh/src/rsb/rtems/build/powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1/build/gdb/../../sourceware-mirror-binutils-gdb-0f8e278/gdb/c-exp.y: warning: 70 reduce/reduce conflicts [-Wconflicts-rr]
  CXX    gdb.o
  CXX    ada-lang.o
  CXX    ada-tasks.o
  CXX    ada-valprint.o
  CXX    ada-typeprint.o
  CXX    addrmap.o
  CXX    ada-varobj.o
  CXX    agent.o
  CXX    alloc.o
  CXX    annotate.o
  CXX    arch-utils.o
  CXX    auto-load.o
  CXX    async-event.o
  CXX    auxv.o
  CXX    ax-gdb.o
  CXX    bcache.o
  CXX    ax-general.o
  CXX    block.o
  CXX    bfd-target.o
  CXX    blockframe.o
  CXX    break-catch-syscall.o
  CXX    break-catch-sig.o
  CXX    break-catch-throw.o
  CXX    breakpoint.o
  CXX    btrace.o
  CXX    build-id.o
  CXX    buildsym-legacy.o
  CXX    buildsym.o
  CXX    c-lang.o
  CXX    c-typeprint.o
  CXX    c-valprint.o
  CXX    c-varobj.o
  CXX    charset.o
  CXX    cli-out.o
  CXX    cli/cli-cmds.o
  CXX    cli/cli-decode.o
  CXX    cli/cli-dump.o
  CXX    cli/cli-interp.o
  CXX    cli/cli-logging.o
  CXX    cli/cli-option.o
  CXX    cli/cli-script.o
  CXX    cli/cli-setshow.o
  CXX    cli/cli-style.o
  CXX    cli/cli-utils.o
  CXX    coff-pe-read.o
  CXX    coffread.o
  CXX    compile/compile-c-support.o
  CXX    compile/compile-c-symbols.o
  CXX    compile/compile-c-types.o
  CXX    compile/compile-cplus-symbols.o
  CXX    compile/compile-cplus-types.o
  CXX    compile/compile-loc2c.o
  CXX    compile/compile-object-load.o
  CXX    compile/compile-object-run.o
  CXX    compile/compile.o
  CXX    complaints.o
  CXX    completer.o
  CXX    continuations.o
  CXX    copying.o
  CXX    corefile.o
  CXX    corelow.o
  CXX    cp-abi.o
  CXX    cp-name-parser.o
  CXX    cp-namespace.o
  CXX    cp-support.o
  CXX    cp-valprint.o
  CXX    ctfread.o
  CXX    d-exp.o
  CXX    d-lang.o
  CXX    d-namespace.o
  CXX    d-valprint.o
  CXX    dbxread.o
  CXX    dcache.o
  CXX    debug.o
  CXX    debuginfod-support.o
  CXX    dictionary.o
  CXX    disasm-selftests.o
  CXX    disasm.o
  CXX    displaced-stepping.o
  CXX    dtrace-probe.o
  CXX    dummy-frame.o
  CXX    dwarf2/abbrev.o
  CXX    dwarf2/attribute.o
  CXX    dwarf2/comp-unit.o
  CXX    dwarf2/dwz.o
  CXX    dwarf2/expr.o
  CXX    dwarf2/frame-tailcall.o
  CXX    dwarf2/frame.o
  CXX    dwarf2/index-cache.o
  CXX    dwarf2/index-common.o
  CXX    dwarf2/index-write.o
  CXX    dwarf2/leb.o
  CXX    dwarf2/line-header.o
  CXX    dwarf2/loc.o
  CXX    dwarf2/macro.o
  CXX    dwarf2/read.o
  CXX    dwarf2/section.o
  CXX    dwarf2/stringify.o
  CXX    elfread.o
  CXX    eval.o
  CXX    event-top.o
  CXX    exceptions.o
  CXX    exec.o
  CXX    expprint.o
  CXX    extension.o
  CXX    f-exp.o
  CXX    f-lang.o
  CXX    f-typeprint.o
  CXX    f-valprint.o
  CXX    filename-seen-cache.o
  CXX    filesystem.o
  CXX    findcmd.o
  CXX    findvar.o
  CXX    frame-base.o
  CXX    frame-unwind.o
  CXX    frame.o
  CXX    gcore.o
  CXX    gdb-demangle.o
  CXX    gdb_bfd.o
  CXX    gdb_obstack.o
  CXX    gdb_regex.o
  CXX    gdbarch-selftests.o
  CXX    gdbarch.o
  CXX    gdbtypes.o
  CXX    gmp-utils.o
  CXX    gnu-v2-abi.o
  CXX    gnu-v3-abi.o
  CXX    go-exp.o
  CXX    go-lang.o
  CXX    go-typeprint.o
  CXX    go-valprint.o
  CXX    guile/guile.o
  CXX    inf-child.o
  CXX    inf-loop.o
  CXX    infcall.o
  CXX    infcmd.o
  CXX    inferior.o
  CXX    inflow.o
  CXX    infrun.o
  CXX    inline-frame.o
  CXX    interps.o
  CXX    jit.o
  CXX    language.o
  CXX    linespec.o
  CXX    location.o
  CXX    m2-exp.o
  CXX    m2-lang.o
  CXX    m2-typeprint.o
  CXX    m2-valprint.o
  CXX    macrocmd.o
  CXX    macroexp.o
  CXX    macroscope.o
  CXX    macrotab.o
  CXX    main.o
  CXX    maint-test-options.o
  CXX    maint-test-settings.o
  CXX    maint.o
  CXX    mdebugread.o
  CXX    mem-break.o
  CXX    memattr.o
  CXX    memory-map.o
  CXX    memrange.o
  CXX    mi/mi-cmd-break.o
  CXX    mi/mi-cmd-catch.o
  CXX    mi/mi-cmd-disas.o
  CXX    mi/mi-cmd-env.o
  CXX    mi/mi-cmd-file.o
  CXX    mi/mi-cmd-info.o
  CXX    mi/mi-cmd-stack.o
  CXX    mi/mi-cmd-target.o
  CXX    mi/mi-cmd-var.o
  CXX    mi/mi-cmds.o
  CXX    mi/mi-common.o
  CXX    mi/mi-console.o
  CXX    mi/mi-getopt.o
  CXX    mi/mi-interp.o
  CXX    mi/mi-main.o
  CXX    mi/mi-out.o
  CXX    mi/mi-parse.o
  CXX    mi/mi-symbol-cmds.o
  CXX    minidebug.o
  CXX    minsyms.o
  CXX    mipsread.o
  CXX    namespace.o
  CXX    objc-lang.o
  CXX    objfiles.o
  CXX    observable.o
  CXX    opencl-lang.o
  CXX    osabi.o
  CXX    osdata.o
  CXX    p-exp.o
  CXX    p-lang.o
  CXX    p-typeprint.o
  CXX    p-valprint.o
  CXX    parse.o
  CXX    posix-hdep.o
  CXX    ppc-ravenscar-thread.o
  CXX    ppc-sysv-tdep.o
  CXX    printcmd.o
  CXX    probe.o
  CXX    process-stratum-target.o
  CXX    producer.o
  CXX    progspace-and-thread.o
  CXX    progspace.o
  CXX    psymtab.o
  CXX    prologue-value.o
  CXX    python/py-arch.o
  CXX    python/py-auto-load.o
  CXX    python/py-block.o
  CXX    python/py-bpevent.o
  CXX    python/py-breakpoint.o
  CXX    python/py-cmd.o
  CXX    python/py-continueevent.o
  CXX    python/py-event.o
  CXX    python/py-evtregistry.o
  CXX    python/py-evts.o
  CXX    python/py-exitedevent.o
  CXX    python/py-finishbreakpoint.o
  CXX    python/py-frame.o
  CXX    python/py-framefilter.o
  CXX    python/py-function.o
  CXX    python/py-gdb-readline.o
  CXX    python/py-inferior.o
  CXX    python/py-infevents.o
  CXX    python/py-infthread.o
  CXX    python/py-instruction.o
  CXX    python/py-lazy-string.o
  CXX    python/py-linetable.o
  CXX    python/py-newobjfileevent.o
  CXX    python/py-objfile.o
  CXX    python/py-param.o
  CXX    python/py-prettyprint.o
  CXX    python/py-progspace.o
  CXX    python/py-record-btrace.o
  CXX    python/py-record-full.o
  CXX    python/py-record.o
  CXX    python/py-registers.o
  CXX    python/py-signalevent.o
  CXX    python/py-stopevent.o
  CXX    python/py-symbol.o
  CXX    python/py-symtab.o
  CXX    python/py-threadevent.o
  CXX    python/py-tui.o
  CXX    python/py-type.o
  CXX    python/py-unwind.o
  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote-sim.o
  CXX    remote.o
  CXX    reverse.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  CXX    rust-exp.o
  CXX    rust-lang.o
  CXX    selftest-arch.o
  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
  CXX    serial.o
  CXX    skip.o
  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
  CXXLD  gdb
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: remote-sim.o: in function `gdbsim_target::memory_map()':
/tmp/sh/src/rsb/rtems/build/powerpc-rtems6-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-rtems6-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-rtems6-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-rtems6-gdb-0f8e278-x86_64-linux-gnu-1/do-build
error: building powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1
  See error report: rsb-report-powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 6/rtems-powerpc
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.491MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.084MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 8.084MB total: 3.067GB (sources: 3.067GB, patches: 26.662KB, installed 0.000B)
Build Set: Time 0:00:05.123145
Build Set: 6/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.510MB (installed: 3.020MB)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 10.348MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
staging: autoconf-2.69-x86_64-linux-gnu-1 -> /tmp/sh/src/rsb/rtems/build/tmp/sb-21112-staging
staging: automake-1.12.6-x86_64-linux-gnu-1 -> /tmp/sh/src/rsb/rtems/build/tmp/sb-21112-staging
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.795MB total: 3.072GB (sources: 3.067GB, patches: 26.662KB, installed 5.285MB)
Build Set: Time 0:00:08.271428
Build Set: Time 0:00:13.398164
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.412MB (installed: 1.325MB)
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.825MB (installed: 4.368MB)
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-rtems6-gdb-0f8e278-x86_64-linux-gnu-1
building: powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1
error: building powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1.txt
error: building powerpc-rtems6-gdb-0f8e278-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan  7 21:32:52 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-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Thu Jan  7 21:32:52 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-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Thu Jan  7 21:33:10 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-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Thu Jan  7 21:33:10 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-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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