Build Linux: FAILED 7/rtems-lm32 on x86_64-linux-gnu (lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Thu Mar 17 10:56:42 UTC 2022
RTEMS Source Builder - Set Builder, 6 (a81efea00e6d)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
Host: Linux-5.3.18-150300.59.54-default-x86_64-with-glibc2.3.4
Linux lupus 5.3.18-150300.59.54-default #1 SMP Sat Mar 5 10:00:50 UTC
2022 (1d0fa95) x86_64 x86_64
Build Time: 0:01:14.570206
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
checking for struct ptrace_lwpinfo.pl_syscall_code... no
checking for long long support in compiler... yes
checking for decfloat support in printf... no
checking for long double support in compiler... yes
checking for long double support in printf... yes
checking for long double support in scanf... yes
checking for the dynamic export flag... -rdynamic
checking whether execinfo.h backtrace is available... yes
checking whether <thread_db.h> has TD_NOTALLOC... yes
checking whether <thread_db.h> has TD_VERSION... yes
checking whether <thread_db.h> has TD_NOTLS... yes
checking the compiler type... gcc
checking compiler warning flags... -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral
checking for cygwin... no
checking for ELF support in BFD... yes
checking for library containing dlopen... (cached) none required
checking for Mach-O support in BFD... no
checking whether to use lzma... auto
checking for liblzma... yes
checking how to link with liblzma... -llzma
checking for X... libraries , headers
enable_sim = yes
enableval = yes
checking whether to use babeltrace... auto
checking for libbabeltrace... no
configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
checking for libxxhash... no
checking whether to use xxhash... no
checking for xsltproc... /usr/bin/xsltproc
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating jit-reader.h
config.status: creating gcore
config.status: creating Makefile
config.status: creating gdb-gdb.gdb
config.status: creating gdb-gdb.py
config.status: creating doc/Makefile
config.status: creating data-directory/Makefile
config.status: creating config.h
config.status: executing depdir commands
mkdir -p -- .deps
=== configuring in testsuite (/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/build/gdb/testsuite)
configure: running /bin/sh ../../../sourceware-mirror-binutils-gdb-4417601/gdb/testsuite/configure --disable-option-checking '--prefix=/opt/rtems/7' '--verbose' '--disable-nls' '--disable-gas' '--disable-binutils' '--disable-ld' '--disable-gold' '--disable-gprof' '--without-included-gettext' '--disable-win32-registry' '--disable-werror' '--enable-sim' '--without-zlib' '--with-expat' '--with-guile=no' '--with-python=/usr/bin/python2' '--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' '--program-transform-name=s&^&lm32-rtems7-&' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--target=lm32-rtems7' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'target_alias=lm32-rtems7' 'CC=gcc -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/include' 'CFLAGS=-g -O2 ' 'LDFLAGS= -L
/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/lib' 'LIBS=' 'CXX=g++ -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/include' 'CXXFLAGS=-g -O2 ' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=../../../sourceware-mirror-binutils-gdb-4417601/gdb/testsuite
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-pc-linux-gnu
checking target system type... (cached) lm32-unknown-rtems7
checking for x86_64-linux-gnu-gcc... (cached) gcc -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/include
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/include accepts -g... (cached) yes
checking for gcc -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/include option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/7/rtems-lm32/opt/rtems/7/include -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating lib/pdtrace
config.status: creating Makefile
make[2]: Entering directory '/tmp/sh/b-rsb/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/build/gdb'
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs arch/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs cli/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs dwarf2/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs mi/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs compile/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs tui/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs unittests/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs guile/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs python/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs target/.deps
/bin/sh ../../sourceware-mirror-binutils-gdb-4417601/gdb/../mkinstalldirs nat/.deps
mkdir -p -- arch/.deps
mkdir -p -- cli/.deps
mkdir -p -- dwarf2/.deps
mkdir -p -- mi/.deps
LEX ada-lex.c
mkdir -p -- compile/.deps
YACC ada-exp.c
mkdir -p -- tui/.deps
mkdir -p -- unittests/.deps
mkdir -p -- guile/.deps
mkdir -p -- target/.deps
mkdir -p -- python/.deps
YACC c-exp.c
mkdir -p -- nat/.deps
YACC cp-name-parser.c
YACC d-exp.c
YACC f-exp.c
YACC go-exp.c
YACC m2-exp.c
YACC p-exp.c
GEN stamp-version
GEN xml-builtin.c
GEN init.c
CXX gdb.o
CXX ada-lang.o
CXX ada-tasks.o
CXX ada-typeprint.o
CXX ada-valprint.o
CXX addrmap.o
CXX ada-varobj.o
CXX agent.o
CXX alloc.o
CXX annotate.o
CXX arch-utils.o
CXX async-event.o
CXX auto-load.o
/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/build/gdb/../../sourceware-mirror-binutils-gdb-4417601/gdb/c-exp.y: warning: 60 shift/reduce conflicts [-Wconflicts-sr]
/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/build/gdb/../../sourceware-mirror-binutils-gdb-4417601/gdb/c-exp.y: warning: 69 reduce/reduce conflicts [-Wconflicts-rr]
CXX auxv.o
CXX ax-gdb.o
CXX ax-general.o
CXX bcache.o
CXX bfd-target.o
CXX block.o
CXX blockframe.o
CXX break-catch-exec.o
CXX break-catch-fork.o
CXX break-catch-sig.o
CXX break-catch-syscall.o
CXX break-catch-throw.o
CXX breakpoint.o
CXX bt-utils.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 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-head.o
CXX dwarf2/cu.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 elf-none-tdep.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-elf.o
CXX gcore.o
CXX gdb-demangle.o
CXX gdb_bfd.o
CXX gdbarch-selftests.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 lm32-tdep.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-valprint.o
CXX p-typeprint.o
CXX parse.o
CXX posix-hdep.o
CXX printcmd.o
CXX probe.o
CXX process-stratum-target.o
CXX producer.o
CXX progspace-and-thread.o
CXX progspace.o
CXX prologue-value.o
CXX psymtab.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-connection.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-membuf.o
CXX python/py-micmd.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 record-btrace.o
CXX record-full.o
CXX record.o
../../sourceware-mirror-binutils-gdb-4417601/gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)':
../../sourceware-mirror-binutils-gdb-4417601/gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope
PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
^~~~~~~~~~~~~~~~~~~~~~~
CXX regcache-dump.o
../../sourceware-mirror-binutils-gdb-4417601/gdb/python/py-micmd.c:430:20: note: suggested alternative: '_PyDict_GetItemWithError'
PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
^~~~~~~~~~~~~~~~~~~~~~~
_PyDict_GetItemWithError
../../sourceware-mirror-binutils-gdb-4417601/gdb/python/py-micmd.c: In function 'int micmdpy_install_command(micmdpy_object*)':
../../sourceware-mirror-binutils-gdb-4417601/gdb/python/py-micmd.c:479:20: error: 'PyDict_GetItemWithError' was not declared in this scope
PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
^~~~~~~~~~~~~~~~~~~~~~~
../../sourceware-mirror-binutils-gdb-4417601/gdb/python/py-micmd.c:479:20: note: suggested alternative: '_PyDict_GetItemWithError'
PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
^~~~~~~~~~~~~~~~~~~~~~~
_PyDict_GetItemWithError
CXX regcache.o
CXX reggroups.o
CXX registry.o
make[2]: *** [Makefile:1657: python/py-micmd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/sh/b-rsb/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/build/gdb'
make[1]: *** [Makefile:11810: all-gdb] Error 2
make[1]: Leaving directory '/tmp/sh/b-rsb/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/build'
make: *** [Makefile:1000: all] Error 2
shell cmd failed: /bin/sh -ex /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1/do-build
error: building lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1
See error report: rsb-report-lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 7/rtems-lm32
config: devel/dtc-1.6.1-1.cfg
package: dtc-1.6.1-x86_64-linux-gnu-1
building: dtc-1.6.1-x86_64-linux-gnu-1
sizes: dtc-1.6.1-x86_64-linux-gnu-1: 3.831MB (installed: 1.022MB)
cleaning: dtc-1.6.1-x86_64-linux-gnu-1
reporting: devel/dtc-1.6.1-1.cfg -> dtc-1.6.1-x86_64-linux-gnu-1.txt
reporting: devel/dtc-1.6.1-1.cfg -> dtc-1.6.1-x86_64-linux-gnu-1.xml
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.093MB (installed: 1.250MB)
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: 35.301MB (installed: 4.867MB)
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: lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1
building: lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1
error: building lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1.txt
error: building lm32-rtems7-gdb-4417601-x86_64-linux-gnu-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 11:55:32 2022
==============================================================================
Report: devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.6.1-x86_64-linux-gnu-1
Config: devel/dtc-1.6.1-1.cfg
Summary:
Device Tree Compiler v1.6.1 for target lm32-rtems7 on host x86_64-linux-gnu
URL:
https://www.devicetree.org/
Version:
1.6.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
sha256: 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
Patches: 0
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.6.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.6.1
# Build and build flags means force build == host
# gcc is not ready to be compiled with -std=gnu99
LDFLAGS="${SB_HOST_LDFLAGS}"
LIBS="${SB_HOST_LIBS}"
CC=$(echo "gcc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
make PREFIX=/opt/rtems/7
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.6.1
make DESTDIR=$SB_BUILD_ROOT PREFIX=/opt/rtems/7 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 11:55:32 2022
==============================================================================
Report: devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.6.1-x86_64-linux-gnu-1
Config: devel/dtc-1.6.1-1.cfg
Summary:
Device Tree Compiler v1.6.1 for target lm32-rtems7 on host x86_64-linux-gnu
URL:
https://www.devicetree.org/
Version:
1.6.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
sha256: 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
Patches: 0
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.6.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.6.1
# Build and build flags means force build == host
# gcc is not ready to be compiled with -std=gnu99
LDFLAGS="${SB_HOST_LDFLAGS}"
LIBS="${SB_HOST_LIBS}"
CC=$(echo "gcc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
make PREFIX=/opt/rtems/7
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.6.1
make DESTDIR=$SB_BUILD_ROOT PREFIX=/opt/rtems/7 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 11:55:37 2022
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 lm32-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> Thu Mar 17 11:55:37 2022
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 lm32-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> Thu Mar 17 11:55:54 2022
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 lm32-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> Thu Mar 17 11:55:54 2022
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 lm32-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