Build Linux: FAILED 6/rtems-aarch64 on x86_64-linux-gnu (aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Thu Mar 17 09:30:26 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:03:59.546164
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CC libc/stdio/libc_a-fwprintf.o
CC libc/posix/libc_a-readdir_r.o
CC libc/stdio/libc_a-fwrite_u.o
CC libc/posix/libc_a-regcomp.o
CC libc/stdio/libc_a-fwscanf.o
CC libc/stdio/libc_a-getwc.o
CC libc/stdio/libc_a-getwc_u.o
CC libc/stdio/libc_a-getwchar.o
CC libc/stdio/libc_a-getwchar_u.o
CC libc/stdio/libc_a-open_memstream.o
CC libc/stdio/libc_a-putwc.o
CC libc/stdio/libc_a-putwc_u.o
CC libc/stdio/libc_a-putwchar.o
CC libc/stdio/libc_a-putwchar_u.o
CC libc/posix/libc_a-regerror.o
CC libc/posix/libc_a-regexec.o
CC libc/posix/libc_a-regfree.o
CC libc/stdio/libc_a-stdio_ext.o
CC libc/stdio/libc_a-swprintf.o
CC libc/stdio/libc_a-swscanf.o
CC libc/posix/libc_a-rewinddir.o
CC libc/stdio/libc_a-ungetwc.o
CC libc/posix/libc_a-sleep.o
CC libc/stdio/libc_a-vasnprintf.o
CC libc/stdio/libc_a-vswprintf.o
CC libc/posix/libc_a-usleep.o
CC libc/posix/libc_a-telldir.o
CC libc/stdio/libc_a-vswscanf.o
CC libc/stdio/libc_a-vwprintf.o
CC libc/stdio/libc_a-vwscanf.o
CC libc/posix/libc_a-ftw.o
CC libc/stdio/libc_a-wprintf.o
CC libc/stdio/libc_a-wscanf.o
CC libc/stdio/libc_a-asniprintf.o
CC libc/posix/libc_a-nftw.o
CC libc/stdio/libc_a-diprintf.o
CC libc/posix/libc_a-scandir.o
CC libc/stdio/libc_a-vasniprintf.o
CC libc/posix/libc_a-seekdir.o
CC libc/string/libc_a-bcopy.o
CC libc/string/libc_a-bzero.o
CC libc/string/libc_a-explicit_bzero.o
CC libc/posix/libc_a-execl.o
CC libc/posix/libc_a-execle.o
CC libc/string/libc_a-ffsl.o
CC libc/posix/libc_a-execlp.o
CC libc/posix/libc_a-execv.o
CC libc/posix/libc_a-execve.o
CC libc/posix/libc_a-execvp.o
CC libc/posix/libc_a-wordexp.o
CC libc/posix/libc_a-wordfree.o
CC libc/string/libc_a-ffsll.o
CC libc/posix/libc_a-popen.o
CC libc/string/libc_a-fls.o
CC libc/string/libc_a-flsl.o
CC libc/string/libc_a-flsll.o
CC libc/posix/libc_a-posix_spawn.o
CC libc/iconv/lib/libc_a-aliasesi.o
CC libc/string/libc_a-index.o
CC libc/string/libc_a-memchr.o
CC libc/string/libc_a-memcmp.o
CC libc/string/libc_a-memcpy.o
CC libc/string/libc_a-memmove.o
CC libc/string/libc_a-memset.o
CC libc/string/libc_a-rindex.o
CC libc/string/libc_a-strcasecmp.o
CC libc/iconv/lib/libc_a-ucsconv.o
CC libc/iconv/lib/libc_a-nullconv.o
CC libc/string/libc_a-strcat.o
CC libc/iconv/lib/libc_a-iconv.o
CC libc/iconv/lib/libc_a-aliasesbi.o
CC libc/iconv/lib/libc_a-iconvnls.o
CC libc/string/libc_a-strchr.o
CC libc/ssp/libc_a-stack_protector.o
CC libc/ssp/libc_a-chk_fail.o
CC libc/ssp/libc_a-memcpy_chk.o
CC libc/string/libc_a-strcmp.o
CC libc/string/libc_a-strcoll.o
CC libc/ssp/libc_a-memmove_chk.o
CC libc/ssp/libc_a-mempcpy_chk.o
CC libc/string/libc_a-strcpy.o
CC libc/ssp/libc_a-memset_chk.o
CC libc/ssp/libc_a-stpcpy_chk.o
CC libc/ssp/libc_a-stpncpy_chk.o
CC libc/ssp/libc_a-strcat_chk.o
CC libc/string/libc_a-strcspn.o
CC libc/string/libc_a-strdup.o
CC libc/ssp/libc_a-strcpy_chk.o
CC libc/string/libc_a-strdup_r.o
CC libc/string/libc_a-strerror.o
CC libc/ssp/libc_a-strncat_chk.o
CC libc/string/libc_a-strerror_r.o
CC libc/string/libc_a-strlcat.o
CC libc/string/libc_a-strlcpy.o
CC libc/ssp/libc_a-strncpy_chk.o
CC libc/string/libc_a-strlen.o
CC libc/ssp/libc_a-gets_chk.o
CC libc/ssp/libc_a-snprintf_chk.o
CC libc/string/libc_a-strlwr.o
CC libc/ssp/libc_a-sprintf_chk.o
CC libc/string/libc_a-strncasecmp.o
CC libc/ssp/libc_a-vsnprintf_chk.o
CC libc/ssp/libc_a-vsprintf_chk.o
CC libc/string/libc_a-strncat.o
CC libc/string/libc_a-strncmp.o
CC libc/string/libc_a-strncpy.o
CC libc/sys/rtems/libc_a-dummysys.o
CC libc/string/libc_a-strnlen.o
CC libc/sys/rtems/libc_a-cpusetalloc.o
CC libc/string/libc_a-strnstr.o
CC libc/sys/rtems/libc_a-cpusetfree.o
CC libc/string/libc_a-strpbrk.o
CC libc/string/libc_a-strrchr.o
CC libc/machine/aarch64/libc_a-memchr-stub.o
CPPAS libc/machine/aarch64/libc_a-memchr.o
CC libc/machine/aarch64/libc_a-memcmp-stub.o
CPPAS libc/machine/aarch64/libc_a-memcmp.o
CC libc/machine/aarch64/libc_a-memcpy-stub.o
CC libc/string/libc_a-strsep.o
CC libc/string/libc_a-strsignal.o
CC libc/string/libc_a-strspn.o
CPPAS libc/machine/aarch64/libc_a-memcpy.o
CC libc/string/libc_a-strtok.o
CC libc/machine/aarch64/libc_a-memmove-stub.o
CPPAS libc/machine/aarch64/libc_a-memmove.o
CC libc/machine/aarch64/libc_a-memset-stub.o
CC libc/string/libc_a-strupr.o
CC libc/string/libc_a-strtok_r.o
CPPAS libc/machine/aarch64/libc_a-memset.o
CC libc/string/libc_a-strxfrm.o
CC libc/string/libc_a-strstr.o
CC libc/string/libc_a-swab.o
CPPAS libc/machine/aarch64/libc_a-rawmemchr.o
CC libc/machine/aarch64/libc_a-rawmemchr-stub.o
CPPAS libc/machine/aarch64/libc_a-setjmp.o
CC libc/machine/aarch64/libc_a-stpcpy-stub.o
CPPAS libc/machine/aarch64/libc_a-stpcpy.o
CC libc/machine/aarch64/libc_a-strchr-stub.o
CC libc/string/libc_a-timingsafe_bcmp.o
CPPAS libc/machine/aarch64/libc_a-strchr.o
CC libc/machine/aarch64/libc_a-strchrnul-stub.o
CPPAS libc/machine/aarch64/libc_a-strchrnul.o
CC libc/string/libc_a-u_strerr.o
CC libc/string/libc_a-timingsafe_memcmp.o
CC libc/machine/aarch64/libc_a-strcmp-stub.o
CC libc/string/libc_a-wcscat.o
CC libc/string/libc_a-wcschr.o
CC libc/string/libc_a-wcscmp.o
../../../gnu-mirror-gcc-0f001dd/newlib/libc/machine/aarch64/setjmp.S:29:10: fatal error: ../asmdefs.h: No such file or directory
29 | #include <../asmdefs.h>
| ^~~~~~~~~~~~~~
compilation terminated.
CC libc/string/libc_a-wcscoll.o
CC libc/string/libc_a-wcscpy.o
CPPAS libc/machine/aarch64/libc_a-strcmp.o
make[3]: *** [Makefile:9956: libc/machine/aarch64/libc_a-setjmp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC libc/machine/aarch64/libc_a-strcpy-stub.o
CC libc/string/libc_a-wcscspn.o
CPPAS libc/machine/aarch64/libc_a-strcpy.o
CC libc/string/libc_a-wcslcat.o
CC libc/string/libc_a-wcslcpy.o
CC libc/string/libc_a-wcslen.o
CC libc/string/libc_a-wcsncat.o
CC libc/string/libc_a-wcsncmp.o
CC libc/string/libc_a-wcsncpy.o
CC libc/string/libc_a-wcsnlen.o
CC libc/string/libc_a-wcspbrk.o
CC libc/string/libc_a-wcsspn.o
CC libc/string/libc_a-wcsrchr.o
CC libc/string/libc_a-wcsstr.o
CC libc/string/libc_a-wcstok.o
CC libc/string/libc_a-wcswidth.o
CC libc/string/libc_a-wcsxfrm.o
CC libc/string/libc_a-wcwidth.o
CC libc/string/libc_a-wmemchr.o
CC libc/string/libc_a-wmemcmp.o
CC libc/string/libc_a-wmemcpy.o
CC libc/string/libc_a-wmemmove.o
CC libc/string/libc_a-wmemset.o
CC libc/string/libc_a-xpg_strerror_r.o
CC libc/string/libc_a-bcmp.o
CC libc/string/libc_a-memccpy.o
CC libc/string/libc_a-mempcpy.o
CC libc/string/libc_a-stpcpy.o
CC libc/string/libc_a-stpncpy.o
CC libc/string/libc_a-strndup.o
CC libc/string/libc_a-strcasestr.o
CC libc/string/libc_a-strchrnul.o
CC libc/string/libc_a-strndup_r.o
CC libc/string/libc_a-wcpncpy.o
CC libc/string/libc_a-wcpcpy.o
CC libc/string/libc_a-wcsdup.o
CC libc/string/libc_a-gnu_basename.o
CC libc/string/libc_a-memmem.o
CC libc/string/libc_a-memrchr.o
CC libc/string/libc_a-rawmemchr.o
CC libc/string/libc_a-strcasecmp_l.o
CC libc/string/libc_a-strcoll_l.o
CC libc/string/libc_a-strncasecmp_l.o
CC libc/string/libc_a-strverscmp.o
CC libc/string/libc_a-strxfrm_l.o
CC libc/string/libc_a-wcscasecmp.o
CC libc/string/libc_a-wcscasecmp_l.o
CC libc/string/libc_a-wcscoll_l.o
CC libc/string/libc_a-wcsncasecmp.o
CC libc/string/libc_a-wcsncasecmp_l.o
CC libc/string/libc_a-wcsxfrm_l.o
CC libc/string/libc_a-wmempcpy.o
CC libc/signal/libc_a-psignal.o
CC libc/signal/libc_a-raise.o
CC libc/signal/libc_a-signal.o
CC libc/signal/libc_a-sig2str.o
CC libc/time/libc_a-asctime.o
CC libc/time/libc_a-asctime_r.o
CC libc/time/libc_a-clock.o
CC libc/time/libc_a-ctime.o
CC libc/time/libc_a-ctime_r.o
CC libc/time/libc_a-difftime.o
CC libc/time/libc_a-gettzinfo.o
CC libc/time/libc_a-gmtime.o
CC libc/time/libc_a-gmtime_r.o
CC libc/time/libc_a-lcltime.o
CC libc/time/libc_a-lcltime_r.o
CC libc/time/libc_a-month_lengths.o
CC libc/time/libc_a-strftime.o
CC libc/time/libc_a-mktime.o
CC libc/time/libc_a-strptime.o
CC libc/time/libc_a-time.o
CC libc/time/libc_a-tzcalc_limits.o
CC libc/time/libc_a-tzlock.o
CC libc/time/libc_a-tzset.o
CC libc/time/libc_a-tzset_r.o
CC libc/time/libc_a-wcsftime.o
CC libc/locale/libc_a-locale.o
CC libc/locale/libc_a-localeconv.o
CC libc/locale/libc_a-duplocale.o
CC libc/locale/libc_a-freelocale.o
CC libc/locale/libc_a-lctype.o
CC libc/locale/libc_a-lmessages.o
CC libc/time/libc_a-tzvars.o
CC libc/locale/libc_a-lnumeric.o
CC libc/locale/libc_a-lmonetary.o
CC libc/locale/libc_a-newlocale.o
CC libc/locale/libc_a-nl_langinfo.o
CC libc/locale/libc_a-timelocal.o
CC libc/locale/libc_a-uselocale.o
CC libc/reent/libc_a-closer.o
CC libc/reent/libc_a-reent.o
CC libc/reent/libc_a-impure.o
CC libc/reent/libc_a-fstatr.o
CC libc/reent/libc_a-fcntlr.o
CC libc/reent/libc_a-getreent.o
CC libc/reent/libc_a-gettimeofdayr.o
CC libc/reent/libc_a-isattyr.o
CC libc/reent/libc_a-linkr.o
CC libc/reent/libc_a-lseekr.o
CC libc/reent/libc_a-mkdirr.o
CC libc/reent/libc_a-openr.o
CC libc/reent/libc_a-readr.o
CC libc/reent/libc_a-renamer.o
CC libc/reent/libc_a-signalr.o
CC libc/reent/libc_a-signgam.o
CC libc/reent/libc_a-sbrkr.o
CC libc/reent/libc_a-statr.o
CC libc/reent/libc_a-unlinkr.o
CC libc/reent/libc_a-timesr.o
CC libc/reent/libc_a-writer.o
CC libc/reent/libc_a-execr.o
CC libc/errno/libc_a-errno.o
CC libc/misc/libc_a-unctrl.o
CC libc/misc/libc_a-ffs.o
CC libc/misc/libc_a-init.o
CC libc/misc/libc_a-__dprintf.o
CC libc/misc/libc_a-fini.o
CC libc/unix/libc_a-getcwd.o
CC libc/unix/libc_a-pread.o
CC libc/unix/libc_a-sigset.o
CC libc/unix/libc_a-pwrite.o
CC libc/unix/libc_a-ttyname.o
CC libc/unix/libc_a-ttyname_r.o
CC libc/unix/libc_a-basename.o
CC libc/unix/libc_a-dirname.o
CC libc/unix/libc_a-getlogin.o
CC libc/unix/libc_a-getpass.o
CC libc/unix/libc_a-getpwent.o
CC libc/unix/libc_a-getut.o
CC libc/posix/libc_a-closedir.o
CC libc/posix/libc_a-collate.o
CC libc/posix/libc_a-collcmp.o
CC libc/posix/libc_a-creat.o
CC libc/posix/libc_a-dirfd.o
CC libc/posix/libc_a-glob.o
CC libc/posix/libc_a-fnmatch.o
CC libc/posix/libc_a-_isatty.o
CC libc/posix/libc_a-isatty.o
CC libc/posix/libc_a-opendir.o
CC libc/posix/libc_a-readdir_r.o
CC libc/posix/libc_a-readdir.o
CC libc/posix/libc_a-regcomp.o
CC libc/posix/libc_a-regerror.o
CC libc/posix/libc_a-regfree.o
CC libc/posix/libc_a-regexec.o
CC libc/posix/libc_a-rewinddir.o
CC libc/posix/libc_a-sleep.o
CC libc/posix/libc_a-usleep.o
CC libc/posix/libc_a-telldir.o
CC libc/posix/libc_a-ftw.o
CC libc/posix/libc_a-nftw.o
CC libc/posix/libc_a-scandir.o
CC libc/posix/libc_a-seekdir.o
CC libc/posix/libc_a-execle.o
CC libc/posix/libc_a-execl.o
CC libc/posix/libc_a-execlp.o
CC libc/posix/libc_a-execv.o
CC libc/posix/libc_a-execve.o
CC libc/posix/libc_a-execvp.o
CC libc/posix/libc_a-wordexp.o
CC libc/posix/libc_a-wordfree.o
CC libc/posix/libc_a-popen.o
CC libc/posix/libc_a-posix_spawn.o
CC libc/iconv/lib/libc_a-aliasesi.o
CC libc/iconv/lib/libc_a-ucsconv.o
CC libc/iconv/lib/libc_a-nullconv.o
CC libc/iconv/lib/libc_a-iconv.o
CC libc/iconv/lib/libc_a-aliasesbi.o
CC libc/iconv/lib/libc_a-iconvnls.o
CC libc/ssp/libc_a-chk_fail.o
CC libc/ssp/libc_a-stack_protector.o
CC libc/ssp/libc_a-memcpy_chk.o
CC libc/ssp/libc_a-memmove_chk.o
CC libc/ssp/libc_a-mempcpy_chk.o
CC libc/ssp/libc_a-memset_chk.o
CC libc/ssp/libc_a-stpcpy_chk.o
CC libc/ssp/libc_a-stpncpy_chk.o
CC libc/ssp/libc_a-strcat_chk.o
CC libc/ssp/libc_a-strcpy_chk.o
CC libc/ssp/libc_a-strncat_chk.o
CC libc/ssp/libc_a-strncpy_chk.o
CC libc/ssp/libc_a-gets_chk.o
CC libc/ssp/libc_a-snprintf_chk.o
CC libc/ssp/libc_a-sprintf_chk.o
CC libc/ssp/libc_a-vsnprintf_chk.o
CC libc/sys/rtems/libc_a-dummysys.o
CC libc/ssp/libc_a-vsprintf_chk.o
CC libc/sys/rtems/libc_a-cpusetalloc.o
CC libc/sys/rtems/libc_a-cpusetfree.o
CC libc/machine/aarch64/libc_a-memchr-stub.o
CPPAS libc/machine/aarch64/libc_a-memchr.o
CC libc/machine/aarch64/libc_a-memcmp-stub.o
CPPAS libc/machine/aarch64/libc_a-memcmp.o
CC libc/machine/aarch64/libc_a-memcpy-stub.o
CPPAS libc/machine/aarch64/libc_a-memcpy.o
CC libc/machine/aarch64/libc_a-memmove-stub.o
CPPAS libc/machine/aarch64/libc_a-memmove.o
CC libc/machine/aarch64/libc_a-memset-stub.o
CPPAS libc/machine/aarch64/libc_a-memset.o
CPPAS libc/machine/aarch64/libc_a-rawmemchr.o
CC libc/machine/aarch64/libc_a-rawmemchr-stub.o
CPPAS libc/machine/aarch64/libc_a-setjmp.o
CC libc/machine/aarch64/libc_a-stpcpy-stub.o
CPPAS libc/machine/aarch64/libc_a-stpcpy.o
CPPAS libc/machine/aarch64/libc_a-strchr.o
CC libc/machine/aarch64/libc_a-strchr-stub.o
CC libc/machine/aarch64/libc_a-strchrnul-stub.o
CPPAS libc/machine/aarch64/libc_a-strchrnul.o
CC libc/machine/aarch64/libc_a-strcmp-stub.o
CPPAS libc/machine/aarch64/libc_a-strcmp.o
CC libc/machine/aarch64/libc_a-strcpy-stub.o
CPPAS libc/machine/aarch64/libc_a-strcpy.o
CC libc/machine/aarch64/libc_a-strlen-stub.o
CPPAS libc/machine/aarch64/libc_a-strlen.o
CPPAS libc/machine/aarch64/libc_a-strncmp.o
../../../../gnu-mirror-gcc-0f001dd/newlib/libc/machine/aarch64/setjmp.S:29:10: fatal error: ../asmdefs.h: No such file or directory
29 | #include <../asmdefs.h>
| ^~~~~~~~~~~~~~
CC libc/machine/aarch64/libc_a-strncmp-stub.o
compilation terminated.
CPPAS libc/machine/aarch64/libc_a-strnlen.o
CC libc/machine/aarch64/libc_a-strnlen-stub.o
CC libc/machine/aarch64/libc_a-strrchr-stub.o
make[6]: *** [Makefile:9956: libc/machine/aarch64/libc_a-setjmp.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CPPAS libc/machine/aarch64/libc_a-strrchr.o
CC libc/sys/rtems/crt0.o
make[6]: Leaving directory '/tmp/sh/b-rsb/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/build/aarch64-rtems6/ilp32/newlib'
make[5]: *** [Makefile:5015: all] Error 2
make[5]: Leaving directory '/tmp/sh/b-rsb/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/build/aarch64-rtems6/ilp32/newlib'
make[4]: *** [Makefile:24447: multi-do] Error 1
make[4]: Leaving directory '/tmp/sh/b-rsb/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/build/aarch64-rtems6/newlib'
make[3]: *** [Makefile:24241: all-multi] Error 2
make[3]: Leaving directory '/tmp/sh/b-rsb/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/build/aarch64-rtems6/newlib'
make[2]: *** [Makefile:5015: all] Error 2
make[2]: Leaving directory '/tmp/sh/b-rsb/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/build/aarch64-rtems6/newlib'
make[1]: *** [Makefile:13863: all-target-newlib] Error 2
make[1]: Leaving directory '/tmp/sh/b-rsb/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/build'
make: *** [Makefile:965: all] Error 2
shell cmd failed: /bin/sh -ex /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1/do-build
error: building aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1
See error report: rsb-report-aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 6/rtems-aarch64
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: 4.118MB (installed: 1.152MB)
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.412MB (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.438MB (installed: 4.265MB)
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-11.2.cfg
package: aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1
building: aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1
sizes: aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1: 880.299MB (installed: 177.475MB)
cleaning: aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-11.2.cfg -> aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-11.2.cfg -> aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-2.38.cfg
package: aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1
building: aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1
sizes: aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1: 681.686MB (installed: 210.680MB)
cleaning: aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-2.38.cfg -> aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-2.38.cfg -> aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-10-newlib-head.cfg
package: aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1
building: aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1
error: building aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1.txt
error: building aarch64-rtems6-gcc-0f001dd-newlib-461a28a-x86_64-linux-gnu-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 10:26:31 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 aarch64-rtems6 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/6
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/6 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 10:26:31 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 aarch64-rtems6 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/6
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/6 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 10:26:36 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 aarch64-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 Mar 17 10:26:36 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 aarch64-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 Mar 17 10:26:53 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 aarch64-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 Mar 17 10:26: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 aarch64-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 Mar 17 10:27:49 2022
==============================================================================
Report: tools/rtems-gdb-11.2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-11.2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-11.2.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1
Config: tools/rtems-gdb-11.2.cfg
Summary:
GDB v11.2 for target aarch64-rtems6 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
11.2
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-11.2.tar.xz
sha512: 07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source="gdb-11.2"
source_dir_gdb=${gdb_source}
%setup source gdb -q -n ${gdb_source}
%setup patch gdb -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "aarch64-rtems6" -o "x86_64-linux-gnu" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} LIBS=${GDB_LIBS} ../${source_dir_gdb}/configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-rtems6 --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 --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
make -j 48 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/rtems/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 10:27:49 2022
==============================================================================
Report: tools/rtems-gdb-11.2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-11.2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-11.2.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gdb-11.2-x86_64-linux-gnu-1
Config: tools/rtems-gdb-11.2.cfg
Summary:
GDB v11.2 for target aarch64-rtems6 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
11.2
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-11.2.tar.xz
sha512: 07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source="gdb-11.2"
source_dir_gdb=${gdb_source}
%setup source gdb -q -n ${gdb_source}
%setup patch gdb -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "aarch64-rtems6" -o "x86_64-linux-gnu" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} LIBS=${GDB_LIBS} ../${source_dir_gdb}/configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-rtems6 --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 --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
make -j 48 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/rtems/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 10:28:23 2022
==============================================================================
Report: tools/rtems-binutils-2.38.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.38.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.38.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1
Config: tools/rtems-binutils-2.38.cfg
Summary:
Binutils v2.38 for target aarch64-rtems6 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
2.38
Release:
1
Sources: 1
1: https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.bz2
sha512: 7690b4158bd6587a85c6b98903980b9ac6f16b47f7fd1e60986b0a70388bedcfdc05d75597aa49c81fec1609ce24bed6c26583f76fd2471a9d63394fd9798afc
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.38"
source_dir_binutils=${binutils_source}
%setup source binutils -q -n ${binutils_source}
%setup patch binutils -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "aarch64-rtems6" -o "x86_64-linux-gnu" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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
../${source_dir_binutils}/configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-rtems6 --verbose --disable-nls --disable-gdb --disable-libdecnumber --disable-readline --disable-sim --enable-deterministic-archives --enable-64-bit-bfd --disable-lto --without-included-gettext --disable-win32-registry --disable-werror --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
make -j 48 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/rtems/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
mkdir -p $SB_BUILD_ROOT/opt/rtems/6/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 17 10:28:23 2022
==============================================================================
Report: tools/rtems-binutils-2.38.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: a81efea00e6d62f2cb313f000297ab036a757f08
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.38.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.38.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-binutils-2.38-x86_64-linux-gnu-1
Config: tools/rtems-binutils-2.38.cfg
Summary:
Binutils v2.38 for target aarch64-rtems6 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
2.38
Release:
1
Sources: 1
1: https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.bz2
sha512: 7690b4158bd6587a85c6b98903980b9ac6f16b47f7fd1e60986b0a70388bedcfdc05d75597aa49c81fec1609ce24bed6c26583f76fd2471a9d63394fd9798afc
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.38"
source_dir_binutils=${binutils_source}
%setup source binutils -q -n ${binutils_source}
%setup patch binutils -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "aarch64-rtems6" -o "x86_64-linux-gnu" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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
../${source_dir_binutils}/configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-rtems6 --verbose --disable-nls --disable-gdb --disable-libdecnumber --disable-readline --disable-sim --enable-deterministic-archives --enable-64-bit-bfd --disable-lto --without-included-gettext --disable-win32-registry --disable-werror --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
make -j 48 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/opt/rtems/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
mkdir -p $SB_BUILD_ROOT/opt/rtems/6/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/aarch64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/aarch64-rtems6-windmc*
fi
cd ${build_top}
More information about the build
mailing list