Build Linux: FAILED 5/rtems-epiphany on x86_64-linux-gnu (epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1)
joel at rtems.org
joel at rtems.org
Sat Jun 29 19:09:16 UTC 2024
RTEMS Source Builder - Set Builder, 5.not_released
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
Host: Linux-5.14.0-362.13.1.el9_3.x86_64-x86_64-with-glibc2.34
Linux localhost.localdomain 5.14.0-362.13.1.el9_3.x86_64 #1 SMP
PREEMPT_DYNAMIC Wed Dec 13 14:07:45 UTC 2023 x86_64 x86_64
Build Time: 0:04:13.934902
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for Minix Amsterdam compiler... no
checking for x86_64-linux-gnu-gcc... (cached) gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder-5/rtems/build/tmp/sb-1000/5/rtems-epiphany/home/joel/rtems-work/tools/6/include
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder-5/rtems/build/tmp/sb-1000/5/rtems-epiphany/home/joel/rtems-work/tools/6/include accepts -g... (cached) yes
checking for gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder-5/rtems/build/tmp/sb-1000/5/rtems-epiphany/home/joel/rtems-work/tools/6/include option to accept ISO C89... (cached) none needed
checking target system type... epiphany-unknown-rtems5
checking for working alloca.h... yes
checking for alloca... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for dirent.h... yes
checking for wctype.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... yes
checking for features.h... yes
checking for complete errno.h... yes
checking for mbstate_t... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... yes
checking for alarm... yes
checking for symlink... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for iswcntrl... yes
checking whether frexp() can be used without linking with libm... yes
checking whether long double and double are the same... no
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether imaxabs is declared without a macro... yes
checking whether imaxdiv is declared without a macro... yes
checking whether strtoimax is declared without a macro... yes
checking whether strtoumax is declared without a macro... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking where to find the exponent in a 'double'... word 1 bit 20
checking whether byte ordering is bigendian... no
checking for nl_langinfo and CODESET... yes
checking for working fcntl.h... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for a traditional japanese locale... ja_JP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for a traditional french locale... fr_FR
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking for C/C++ restrict keyword... __restrict
checking whether ffsl is declared without a macro... yes
checking whether ffsll is declared without a macro... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether strstr works... yes
checking whether stat file-mode macros are broken... no
checking for mode_t... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for pid_t... yes
checking for struct timespec in <time.h>... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for wint_t... yes
checking for alloca as a compiler built-in... yes
checking whether alphasort is declared without a macro... yes
checking whether closedir is declared without a macro... yes
checking whether dirfd is declared without a macro... yes
checking whether fdopendir is declared without a macro... yes
checking whether opendir is declared without a macro... yes
checking whether readdir is declared without a macro... yes
checking whether rewinddir is declared without a macro... yes
checking whether scandir is declared without a macro... yes
checking for dirfd... yes
checking whether dirfd is declared... (cached) yes
checking whether dirfd is a macro... no
checking whether conversion from 'int' to 'long double' works... yes
checking for working GNU fnmatch... yes
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... yes
checking whether frexpl works... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... no
checking where to find the exponent in a 'long double'... unknown
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether acosf is declared without a macro... yes
checking whether acosl is declared without a macro... yes
checking whether asinf is declared without a macro... yes
checking whether asinl is declared without a macro... yes
checking whether atanf is declared without a macro... yes
checking whether atanl is declared without a macro... yes
checking whether cbrt is declared without a macro... yes
checking whether cbrtf is declared without a macro... yes
checking whether cbrtl is declared without a macro... yes
checking whether ceilf is declared without a macro... yes
checking whether ceill is declared without a macro... yes
checking whether copysign is declared without a macro... yes
checking whether copysignf is declared without a macro... yes
checking whether copysignl is declared without a macro... yes
checking whether cosf is declared without a macro... yes
checking whether cosl is declared without a macro... yes
checking whether coshf is declared without a macro... yes
checking whether expf is declared without a macro... yes
checking whether expl is declared without a macro... yes
checking whether exp2 is declared without a macro... yes
checking whether exp2f is declared without a macro... yes
checking whether exp2l is declared without a macro... yes
checking whether expm1 is declared without a macro... yes
checking whether expm1f is declared without a macro... yes
checking whether expm1l is declared without a macro... yes
checking whether fabsf is declared without a macro... yes
checking whether fabsl is declared without a macro... yes
checking whether floorf is declared without a macro... yes
checking whether floorl is declared without a macro... yes
checking whether fma is declared without a macro... yes
checking whether fmaf is declared without a macro... yes
checking whether fmal is declared without a macro... yes
checking whether fmod is declared without a macro... yes
checking whether fmodf is declared without a macro... yes
checking whether fmodl is declared without a macro... yes
checking whether frexpf is declared without a macro... yes
checking whether frexpl is declared without a macro... yes
checking whether hypotf is declared without a macro... yes
checking whether hypotl is declared without a macro... yes
checking whether ilogb is declared without a macro... yes
checking whether ilogbf is declared without a macro... yes
checking whether ilogbl is declared without a macro... yes
checking whether ldexpf is declared without a macro... yes
checking whether ldexpl is declared without a macro... yes
checking whether log is declared without a macro... yes
checking whether logf is declared without a macro... yes
checking whether logl is declared without a macro... yes
checking whether log10 is declared without a macro... yes
checking whether log10f is declared without a macro... yes
checking whether log10l is declared without a macro... yes
checking whether log1p is declared without a macro... yes
checking whether log1pf is declared without a macro... yes
checking whether log1pl is declared without a macro... yes
checking whether log2 is declared without a macro... yes
checking whether log2f is declared without a macro... yes
checking whether log2l is declared without a macro... yes
checking whether logb is declared without a macro... yes
checking whether logbf is declared without a macro... yes
checking whether logbl is declared without a macro... yes
checking whether modf is declared without a macro... yes
checking whether modff is declared without a macro... yes
checking whether modfl is declared without a macro... yes
checking whether powf is declared without a macro... yes
checking whether remainder is declared without a macro... yes
checking whether remainderf is declared without a macro... yes
checking whether remainderl is declared without a macro... yes
checking whether rint is declared without a macro... yes
checking whether rintf is declared without a macro... yes
checking whether rintl is declared without a macro... yes
checking whether round is declared without a macro... yes
checking whether roundf is declared without a macro... yes
checking whether roundl is declared without a macro... yes
checking whether sinf is declared without a macro... yes
checking whether sinl is declared without a macro... yes
checking whether sinhf is declared without a macro... yes
checking whether sqrtf is declared without a macro... yes
checking whether sqrtl is declared without a macro... yes
checking whether tanf is declared without a macro... yes
checking whether tanl is declared without a macro... yes
checking whether tanhf is declared without a macro... yes
checking whether trunc is declared without a macro... yes
checking whether truncf is declared without a macro... yes
checking whether truncl is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbsrtowcs works... yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for ssize_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether strstr works in linear time... yes
checking whether strstr works... (cached) yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fdatasync is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether group_member is declared without a macro... yes
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... yes
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... yes
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... yes
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... yes
checking whether wcsncasecmp is declared without a macro... yes
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... yes
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth is declared without a macro... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder-5/rtems/build/tmp/sb-1000/5/rtems-epiphany/home/joel/rtems-work/tools/6/include... gcc3
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... ranlib
checking for x86_64-linux-gnu-ar... ar
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
checking whether NLS is requested... no
checking whether makeinfo --split-size=5000000 supports @click... yes
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... ranlib
checking for bison... bison -y
checking for x86_64-linux-gnu-ar... ar
checking for x86_64-linux-gnu-dlltool... dlltool
checking for x86_64-linux-gnu-windres... windres
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [Makefile:8639: configure-gdb] Error 1
make[1]: Leaving directory '/home/joel/rtems-work/rtems-source-builder-5/rtems/build/epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1/build'
make: *** [Makefile:832: all] Error 2
shell cmd failed: /bin/sh -ex /home/joel/rtems-work/rtems-source-builder-5/rtems/build/epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1/do-build
error: building epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1
See error report: rsb-report-epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 5/rtems-epiphany
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.498MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.092MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 8.092MB total: 315.934MB (sources: 315.908MB, patches: 26.983KB, installed 0.000B)
Build Set: Time 0:00:04.826523
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.514MB (installed: 3.019MB)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 10.354MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
staging: autoconf-2.69-x86_64-linux-gnu-1 -> /home/joel/rtems-work/rtems-source-builder-5/rtems/build/tmp/sb-1000-staging
staging: automake-1.12.6-x86_64-linux-gnu-1 -> /home/joel/rtems-work/rtems-source-builder-5/rtems/build/tmp/sb-1000-staging
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.797MB total: 321.217MB (sources: 315.908MB, patches: 26.983KB, installed 5.282MB)
Build Set: Time 0:00:07.763353
Build Set: Time 0:00:12.591374
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.377MB (installed: 1.397MB)
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: tools/rtems-binutils-2.34.cfg
package: epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1
building: epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1
sizes: epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1: 504.756MB (installed: 115.613MB)
cleaning: epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-2.34.cfg -> epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-2.34.cfg -> epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg
package: epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1
building: epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1
sizes: epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1: 2.170GB (installed: 478.911MB)
cleaning: epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1
reporting: tools/rtems-gcc-7.5.0-newlib-7947581.cfg -> epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gcc-7.5.0-newlib-7947581.cfg -> epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-7.8.1-1.cfg
package: epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1
building: epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1
error: building epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1.txt
error: building epiphany-rtems5-gdb-7.8.1-x86_64-linux-gnu-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 29 14:05:20 2024
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 7a6476f27a8d208b71ebce8df0944e45ab64f2fa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 epiphany-rtems5 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=/home/joel/rtems-work/tools/6 --bindir=/home/joel/rtems-work/tools/6/bin --exec-prefix=/home/joel/rtems-work/tools/6 --includedir=/home/joel/rtems-work/tools/6/include --libdir=/home/joel/rtems-work/tools/6/lib --mandir=/home/joel/rtems-work/tools/6/share/man --infodir=/home/joel/rtems-work/tools/6/share/info
make -j 28 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> Sat Jun 29 14:05:20 2024
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 7a6476f27a8d208b71ebce8df0944e45ab64f2fa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 epiphany-rtems5 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=/home/joel/rtems-work/tools/6 --bindir=/home/joel/rtems-work/tools/6/bin --exec-prefix=/home/joel/rtems-work/tools/6 --includedir=/home/joel/rtems-work/tools/6/include --libdir=/home/joel/rtems-work/tools/6/lib --mandir=/home/joel/rtems-work/tools/6/share/man --infodir=/home/joel/rtems-work/tools/6/share/info
make -j 28 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> Sat Jun 29 14:05:51 2024
==============================================================================
Report: tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 7a6476f27a8d208b71ebce8df0944e45ab64f2fa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.34.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1
Config: tools/rtems-binutils-2.34.cfg
Summary:
Binutils v2.34 for target epiphany-rtems5 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
2.34
Release:
1
Sources: 1
1: https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2
sha512: f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.34"
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 "epiphany-rtems5" -o "x86_64-linux-gnu" == "epiphany-rtems5" ; 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=epiphany-rtems5 --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=/home/joel/rtems-work/tools/6 --bindir=/home/joel/rtems-work/tools/6/bin --exec-prefix=/home/joel/rtems-work/tools/6 --includedir=/home/joel/rtems-work/tools/6/include --libdir=/home/joel/rtems-work/tools/6/lib --mandir=/home/joel/rtems-work/tools/6/share/man --infodir=/home/joel/rtems-work/tools/6/share/info
make -j 28 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/home/joel/rtems-work/tools/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 29 14:05:51 2024
==============================================================================
Report: tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 7a6476f27a8d208b71ebce8df0944e45ab64f2fa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.34.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-binutils-2.34-x86_64-linux-gnu-1
Config: tools/rtems-binutils-2.34.cfg
Summary:
Binutils v2.34 for target epiphany-rtems5 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
2.34
Release:
1
Sources: 1
1: https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2
sha512: f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.34"
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 "epiphany-rtems5" -o "x86_64-linux-gnu" == "epiphany-rtems5" ; 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=epiphany-rtems5 --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=/home/joel/rtems-work/tools/6 --bindir=/home/joel/rtems-work/tools/6/bin --exec-prefix=/home/joel/rtems-work/tools/6 --includedir=/home/joel/rtems-work/tools/6/include --libdir=/home/joel/rtems-work/tools/6/lib --mandir=/home/joel/rtems-work/tools/6/share/man --infodir=/home/joel/rtems-work/tools/6/share/info
make -j 28 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/home/joel/rtems-work/tools/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/share/man/man1/epiphany-rtems5-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 29 14:08:44 2024
==============================================================================
Report: tools/rtems-gcc-7.5.0-newlib-7947581.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 7a6476f27a8d208b71ebce8df0944e45ab64f2fa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-7.5.0-newlib-7947581.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-7.5.0-newlib-7947581.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1
Config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg
Summary:
GCC v7.5.0 and Newlib v7947581 for target epiphany-rtems5 on host x86_64-linux-gnu
URL:
http://gcc.gnu.org/
Version:
7.5.0
Release:
1
Sources: 6
1: --rsb-file=newlib-7947581.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/7947581
No checksum
2: https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz
sha512: fe716cc19f2e3255d3a8b1b8290777bf769c6d98e6e0b07b81a3d6ad43f8af74cb170dfa18b1555dbfcd3f55ae582b91a286ccef496b9b65c1579902f96a1f60
3: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
4: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
6: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
Patches: 1
1: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/0001-libc-include-newlib.h-Fix-C-compilation-issue.patch
No checksum
Preparation:
build_top=$(pwd)
gcc_source="gcc-7.5.0"
source_dir_gcc=${gcc_source}
%setup source gcc -q -n ${gcc_source}
%setup patch gcc -p1
cd ${build_top}
source_dir_newlib=sourceware-mirror-newlib-cygwin-7947581
%setup source newlib -q -D -n ${source_dir_newlib}
%setup patch newlib -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/newlib
ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
source_dir_isl="isl-0.16.1"
%setup source isl -q -D -n isl-0.16.1
%setup patch isl -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/isl
ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
source_dir_mpfr="mpfr-3.1.4"
%setup source mpfr -q -D -n mpfr-3.1.4
%setup patch mpfr -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpfr
ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
source_dir_mpc="mpc-1.0.3"
%setup source mpc -q -D -n mpc-1.0.3
%setup patch mpc -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpc
ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
source_dir_gmp="gmp-6.1.0"
%setup source gmp -q -D -n gmp-6.1.0
%setup patch gmp -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/gmp
ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
echo "RTEMS 5, RSB 5.not_released, Newlib 7947581" > ${source_dir_gcc}/gcc/DEV-PHASE
cd ${source_dir_gcc}
contrib/gcc_update --touch
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 "epiphany-rtems5" -o "x86_64-linux-gnu" == "epiphany-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
languages="c"
languages="$languages,c++"
languages="$languages,lto"
# 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_gcc}/configure --prefix=/home/joel/rtems-work/tools/6 --bindir=/home/joel/rtems-work/tools/6/bin --exec_prefix=/home/joel/rtems-work/tools/6 --includedir=/home/joel/rtems-work/tools/6/include --libdir=/home/joel/rtems-work/tools/6/lib --libexecdir=/home/joel/rtems-work/tools/6/libexec --mandir=/home/joel/rtems-work/tools/6/share/man --infodir=/home/joel/rtems-work/tools/6/share/info --datadir=/home/joel/rtems-work/tools/6/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=epiphany-rtems5 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls --without-included-gettext --disable-win32-registry --disable-werror --enable-version-specific-runtime-libs --enable-newlib-io-c99-formats --enable-newlib-iconv --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-languages="$languages"
if test "%_host" != "%_build" ; then
mkdir -p gcc/include
cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
fi
make -j 28 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/lib/libiberty.a
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-c++filt
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/info/dir
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/man/man3/*ffi*
/bin/rm -rf ${source_dir_gcc}/newlib
/bin/rm -rf ${source_dir_gcc}/mpfr
/bin/rm -rf ${source_dir_gcc}/mpc
/bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 29 14:08:44 2024
==============================================================================
Report: tools/rtems-gcc-7.5.0-newlib-7947581.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 7a6476f27a8d208b71ebce8df0944e45ab64f2fa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-7.5.0-newlib-7947581.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-7.5.0-newlib-7947581.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1
Config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg
Summary:
GCC v7.5.0 and Newlib v7947581 for target epiphany-rtems5 on host x86_64-linux-gnu
URL:
http://gcc.gnu.org/
Version:
7.5.0
Release:
1
Sources: 6
1: --rsb-file=newlib-7947581.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/7947581
No checksum
2: https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz
sha512: fe716cc19f2e3255d3a8b1b8290777bf769c6d98e6e0b07b81a3d6ad43f8af74cb170dfa18b1555dbfcd3f55ae582b91a286ccef496b9b65c1579902f96a1f60
3: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
4: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
6: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
Patches: 1
1: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/0001-libc-include-newlib.h-Fix-C-compilation-issue.patch
No checksum
Preparation:
build_top=$(pwd)
gcc_source="gcc-7.5.0"
source_dir_gcc=${gcc_source}
%setup source gcc -q -n ${gcc_source}
%setup patch gcc -p1
cd ${build_top}
source_dir_newlib=sourceware-mirror-newlib-cygwin-7947581
%setup source newlib -q -D -n ${source_dir_newlib}
%setup patch newlib -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/newlib
ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
source_dir_isl="isl-0.16.1"
%setup source isl -q -D -n isl-0.16.1
%setup patch isl -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/isl
ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
source_dir_mpfr="mpfr-3.1.4"
%setup source mpfr -q -D -n mpfr-3.1.4
%setup patch mpfr -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpfr
ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
source_dir_mpc="mpc-1.0.3"
%setup source mpc -q -D -n mpc-1.0.3
%setup patch mpc -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpc
ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
source_dir_gmp="gmp-6.1.0"
%setup source gmp -q -D -n gmp-6.1.0
%setup patch gmp -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/gmp
ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
echo "RTEMS 5, RSB 5.not_released, Newlib 7947581" > ${source_dir_gcc}/gcc/DEV-PHASE
cd ${source_dir_gcc}
contrib/gcc_update --touch
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 "epiphany-rtems5" -o "x86_64-linux-gnu" == "epiphany-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
languages="c"
languages="$languages,c++"
languages="$languages,lto"
# 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_gcc}/configure --prefix=/home/joel/rtems-work/tools/6 --bindir=/home/joel/rtems-work/tools/6/bin --exec_prefix=/home/joel/rtems-work/tools/6 --includedir=/home/joel/rtems-work/tools/6/include --libdir=/home/joel/rtems-work/tools/6/lib --libexecdir=/home/joel/rtems-work/tools/6/libexec --mandir=/home/joel/rtems-work/tools/6/share/man --infodir=/home/joel/rtems-work/tools/6/share/info --datadir=/home/joel/rtems-work/tools/6/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=epiphany-rtems5 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls --without-included-gettext --disable-win32-registry --disable-werror --enable-version-specific-runtime-libs --enable-newlib-io-c99-formats --enable-newlib-iconv --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-languages="$languages"
if test "%_host" != "%_build" ; then
mkdir -p gcc/include
cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
fi
make -j 28 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/6/lib/libiberty.a
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/bin/epiphany-rtems5-c++filt
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/info/dir
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/6/share/man/man3/*ffi*
/bin/rm -rf ${source_dir_gcc}/newlib
/bin/rm -rf ${source_dir_gcc}/mpfr
/bin/rm -rf ${source_dir_gcc}/mpc
/bin/rm -rf ${source_dir_gcc}/gmp
More information about the build
mailing list