Build Linux: FAILED 6/rtems-microblaze on x86_64-linux-gnu (gmp-6.1.0-x86_64-linux-gnu-1)
joel at rtems.org
joel at rtems.org
Sun Nov 7 22:15:07 UTC 2021
RTEMS Source Builder - Set Builder, 6 (33d8196bcc2e modified)
Host: Linux-3.10.0-1160.41.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core
Linux devel.oarcorp.com 3.10.0-1160.41.1.el7.x86_64 #1 SMP Tue Aug 31
14:52:47 UTC 2021 x86_64 x86_64
Build Time: 0:00:11.354453
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: gmp-6.1.0-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rw-rw-r-- bodrato/bodrato 10069 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/coreinhm/redc_1.asm
-rw-rw-r-- bodrato/bodrato 3673 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/mulx/aorsmul_1.asm
drwxrwxr-x bodrato/bodrato 0 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/mulx/adx/
-rw-rw-r-- bodrato/bodrato 3344 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/mulx/mul_1.asm
-rw-rw-r-- bodrato/bodrato 3412 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/mulx/adx/addmul_1.asm
-rw-rw-r-- bodrato/bodrato 3743 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/aorsmul_1.asm
-rw-rw-r-- bodrato/bodrato 3432 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/mul_2.asm
-rw-rw-r-- bodrato/bodrato 1301 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/dive_1.asm
-rw-rw-r-- bodrato/bodrato 1291 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/copyi.asm
-rw-rw-r-- bodrato/bodrato 10466 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/redc_1.asm
-rw-rw-r-- bodrato/bodrato 3437 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/addmul_2.asm
-rw-rw-r-- bodrato/bodrato 1357 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/aors_n.asm
-rw-rw-r-- bodrato/bodrato 2590 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/lshift.asm
-rw-rw-r-- bodrato/bodrato 2526 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/rshift.asm
-rw-rw-r-- bodrato/bodrato 1238 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/popcount.asm
-rw-rw-r-- bodrato/bodrato 10240 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 4042 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/aorrlsh2_n.asm
-rw-rw-r-- bodrato/bodrato 5538 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/rsh1aors_n.asm
-rw-rw-r-- bodrato/bodrato 2657 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/lshiftc.asm
-rw-rw-r-- bodrato/bodrato 4847 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/sublsh1_n.asm
-rw-rw-r-- bodrato/bodrato 5102 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/aorrlsh1_n.asm
-rw-rw-r-- bodrato/bodrato 1291 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/copyd.asm
-rw-rw-r-- bodrato/bodrato 1291 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/com.asm
-rw-rw-r-- bodrato/bodrato 2966 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/atom/mul_1.asm
-rw-rw-r-- bodrato/bodrato 1299 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/nano/copyd.asm
-rw-rw-r-- bodrato/bodrato 3830 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/nano/dive_1.asm
-rw-rw-r-- bodrato/bodrato 1299 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/nano/copyi.asm
-rw-rw-r-- bodrato/bodrato 11861 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/nano/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 1238 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/nano/popcount.asm
-rw-rw-r-- bodrato/bodrato 1255 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/nano/gcd_1.asm
-rw-rw-r-- bodrato/bodrato 12816 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd2/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 11156 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/skylake/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 4141 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/com.asm
-rw-rw-r-- bodrato/bodrato 5762 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/copyd-palignr.asm
-rw-rw-r-- bodrato/bodrato 603 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/README
-rw-rw-r-- bodrato/bodrato 3929 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/copyd.asm
-rw-rw-r-- bodrato/bodrato 6768 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/copyi-palignr.asm
-rw-rw-r-- bodrato/bodrato 4656 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/lshiftc.asm
-rw-rw-r-- bodrato/bodrato 4520 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/sec_tabselect.asm
-rw-rw-r-- bodrato/bodrato 6834 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/com-palignr.asm
-rw-rw-r-- bodrato/bodrato 4524 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/lshiftc-movdqu2.asm
-rw-rw-r-- bodrato/bodrato 4368 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/lshift.asm
-rw-rw-r-- bodrato/bodrato 4561 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/rshift-movdqu2.asm
-rw-rw-r-- bodrato/bodrato 4335 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/lshift-movdqu2.asm
-rw-rw-r-- bodrato/bodrato 4392 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastsse/copyi.asm
-rw-rw-r-- bodrato/bodrato 3673 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastavx/copyi.asm
-rw-rw-r-- bodrato/bodrato 3795 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/fastavx/copyd.asm
-rw-rw-r-- bodrato/bodrato 9575 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/mulmid_basecase.asm
-rw-rw-r-- bodrato/bodrato 4602 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/div_qr_1n_pi1.asm
-rw-rw-r-- bodrato/bodrato 11524 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 4611 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/aorrlsh_n.asm
-rw-rw-r-- bodrato/bodrato 14488 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/sqr_basecase.asm
-rw-rw-r-- bodrato/bodrato 8007 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/mullo_basecase.asm
-rw-rw-r-- bodrato/bodrato 10545 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/redc_1.asm
-rw-rw-r-- bodrato/bodrato 8707 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/k8/mul_basecase.asm
-rw-rw-r-- bodrato/bodrato 1328 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/aorrlsh1_n.asm
-rw-rw-r-- bodrato/bodrato 1294 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/popcount.asm
-rw-rw-r-- bodrato/bodrato 11949 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 7587 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/mul_basecase.asm
-rw-rw-r-- bodrato/bodrato 3826 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/aorsmul_1.asm
-rw-rw-r-- bodrato/bodrato 3813 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/mul_1.asm
-rw-rw-r-- bodrato/bodrato 1288 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/copyd.asm
-rw-rw-r-- bodrato/bodrato 1280 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/sublsh1_n.asm
-rw-rw-r-- bodrato/bodrato 1291 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/hamdist.asm
-rw-rw-r-- bodrato/bodrato 1288 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/copyi.asm
-rw-rw-r-- bodrato/bodrato 1282 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/com.asm
-rw-rw-r-- bodrato/bodrato 3654 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/mul_2.asm
-rw-rw-r-- bodrato/bodrato 478 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/README
-rw-rw-r-- bodrato/bodrato 1255 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/gcd_1.asm
-rw-rw-r-- bodrato/bodrato 1288 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bd1/sec_tabselect.asm
-rw-rw-r-- bodrato/bodrato 3836 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/aorsmul_1.asm
-rw-rw-r-- bodrato/bodrato 8902 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/redc_1.asm
-rw-rw-r-- bodrato/bodrato 2101 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/copyd.asm
-rw-rw-r-- bodrato/bodrato 3928 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/mul_1.asm
-rw-rw-r-- bodrato/bodrato 10461 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/gmp-mparam.h
-rw-rw-r-- bodrato/bodrato 3283 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/aors_n.asm
-rw-rw-r-- bodrato/bodrato 2143 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/copyi.asm
-rw-rw-r-- bodrato/bodrato 9865 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/sqr_basecase.asm
-rw-rw-r-- bodrato/bodrato 8739 2015-11-01 09:19 gmp-6.1.0/mpn/x86_64/bobcat/mul_basecase.asm
-rw-rw-r-- bodrato/bodrato 1577 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/README
-rw-rw-r-- bodrato/bodrato 2928 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/add_n.s
-rw-rw-r-- bodrato/bodrato 4316 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/mul_1.s
-rw-rw-r-- bodrato/bodrato 2998 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/sub_n.s
drwxrwxr-x bodrato/bodrato 0 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/mc88110/
-rw-rw-r-- bodrato/bodrato 1823 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/mc88110/mul_1.s
-rw-rw-r-- bodrato/bodrato 1794 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/mc88110/addmul_1.s
-rw-rw-r-- bodrato/bodrato 6740 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/mc88110/sub_n.S
-rw-rw-r-- bodrato/bodrato 5059 2015-11-01 09:19 gmp-6.1.0/mpn/m88k/mc88110/add_n.S
-rw-rw-r-- bodrato/bodrato 1653 2015-11-01 09:19 gmp-6.1.0/mpn/sh/add_n.asm
-rw-rw-r-- bodrato/bodrato 1665 2015-11-01 09:19 gmp-6.1.0/mpn/sh/sub_n.asm
drwxrwxr-x bodrato/bodrato 0 2015-11-01 09:19 gmp-6.1.0/mpn/sh/sh2/
-rw-rw-r-- bodrato/bodrato 1796 2015-11-01 09:19 gmp-6.1.0/mpn/sh/sh2/submul_1.asm
-rw-rw-r-- bodrato/bodrato 1696 2015-11-01 09:19 gmp-6.1.0/mpn/sh/sh2/mul_1.asm
-rw-rw-r-- bodrato/bodrato 1789 2015-11-01 09:19 gmp-6.1.0/mpn/sh/sh2/addmul_1.asm
-rw-rw-r-- bodrato/bodrato 1309 2015-11-01 09:19 gmp-6.1.0/scanf/fscanf.c
-rw-rw-r-- bodrato/bodrato 1747 2015-11-01 09:19 gmp-6.1.0/scanf/fscanffuns.c
-rw-rw-r-- bodrato/bodrato 1822 2015-11-01 09:19 gmp-6.1.0/scanf/vsscanf.c
-rw-rw-r-- bodrato/bodrato 1236 2015-11-01 09:19 gmp-6.1.0/scanf/vfscanf.c
-rw-rw-r-- bodrato/bodrato 1441 2015-11-01 09:19 gmp-6.1.0/scanf/sscanf.c
-rw-rw-r-- bodrato/bodrato 2546 2015-11-01 09:19 gmp-6.1.0/scanf/sscanffuns.c
-rw-rw-r-- bodrato/bodrato 18681 2015-11-01 09:19 gmp-6.1.0/scanf/Makefile.in
-rw-rw-r-- bodrato/bodrato 20908 2015-11-01 09:19 gmp-6.1.0/scanf/doscan.c
-rw-rw-r-- bodrato/bodrato 1299 2015-11-01 09:19 gmp-6.1.0/scanf/scanf.c
-rw-rw-r-- bodrato/bodrato 1227 2015-11-01 09:19 gmp-6.1.0/scanf/vscanf.c
-rw-rw-r-- bodrato/bodrato 1321 2015-11-01 09:19 gmp-6.1.0/scanf/Makefile.am
-rw-rw-r-- bodrato/bodrato 9434 2015-11-01 09:19 gmp-6.1.0/rand/randlc2x.c
-rw-rw-r-- bodrato/bodrato 2975 2015-11-01 09:19 gmp-6.1.0/rand/randlc2s.c
-rw-rw-r-- bodrato/bodrato 2584 2015-11-01 09:19 gmp-6.1.0/rand/randmui.c
-rw-rw-r-- bodrato/bodrato 1380 2015-11-01 09:19 gmp-6.1.0/rand/Makefile.am
-rw-rw-r-- bodrato/bodrato 15761 2015-11-01 09:19 gmp-6.1.0/rand/randmt.c
-rw-rw-r-- bodrato/bodrato 1404 2015-11-01 09:19 gmp-6.1.0/rand/rands.c
-rw-rw-r-- bodrato/bodrato 1692 2015-11-01 09:19 gmp-6.1.0/rand/randbui.c
-rw-rw-r-- bodrato/bodrato 18793 2015-11-01 09:19 gmp-6.1.0/rand/Makefile.in
-rw-rw-r-- bodrato/bodrato 1261 2015-11-01 09:19 gmp-6.1.0/rand/randsd.c
-rw-rw-r-- bodrato/bodrato 1223 2015-11-01 09:19 gmp-6.1.0/rand/randclr.c
-rw-rw-r-- bodrato/bodrato 1498 2015-11-01 09:19 gmp-6.1.0/rand/rand.c
-rw-rw-r-- bodrato/bodrato 1199 2015-11-01 09:19 gmp-6.1.0/rand/randdef.c
-rw-rw-r-- bodrato/bodrato 1334 2015-11-01 09:19 gmp-6.1.0/rand/randsdui.c
-rw-rw-r-- bodrato/bodrato 4499 2015-11-01 09:19 gmp-6.1.0/rand/randmts.c
-rw-rw-r-- bodrato/bodrato 1250 2015-11-01 09:19 gmp-6.1.0/rand/randiset.c
-rw-rw-r-- bodrato/bodrato 1662 2015-11-01 09:19 gmp-6.1.0/rand/randmt.h
-rw-rw-r-- bodrato/bodrato 100 2015-11-01 09:20 gmp-6.1.0/doc/stamp-vti
-rw-rw-r-- bodrato/bodrato 13299 2015-11-01 09:19 gmp-6.1.0/doc/configuration
-rw-rw-r-- bodrato/bodrato 448954 2015-11-01 09:19 gmp-6.1.0/doc/gmp.texi
-rw-rw-r-- bodrato/bodrato 298669 2015-11-01 09:20 gmp-6.1.0/doc/gmp.info-1
-rw-rw-r-- bodrato/bodrato 5908 2015-11-01 09:20 gmp-6.1.0/doc/gmp.info
-rw-rw-r-- bodrato/bodrato 1235 2015-11-01 09:19 gmp-6.1.0/doc/Makefile.am
-rw-rw-r-- bodrato/bodrato 51799 2015-11-01 09:19 gmp-6.1.0/doc/tasks.html
-rw-rw-r-- bodrato/bodrato 23522 2015-11-01 09:19 gmp-6.1.0/doc/projects.html
-rwxr-xr-x bodrato/bodrato 6047 2015-09-05 14:09 gmp-6.1.0/doc/mdate-sh
-rw-rw-r-- bodrato/bodrato 212169 2015-11-01 09:20 gmp-6.1.0/doc/gmp.info-2
-rw-rw-r-- bodrato/bodrato 27251 2015-11-01 09:19 gmp-6.1.0/doc/Makefile.in
-rw-rw-r-- bodrato/bodrato 4945 2015-11-01 09:19 gmp-6.1.0/doc/isa_abi_headache
-rw-r--r-- bodrato/bodrato 323102 2015-09-05 14:09 gmp-6.1.0/doc/texinfo.tex
-rw-rw-r-- bodrato/bodrato 100 2015-11-01 09:20 gmp-6.1.0/doc/version.texi
-rw-rw-r-- bodrato/bodrato 23559 2015-11-01 09:19 gmp-6.1.0/doc/fdl-1.3.texi
+ tar_exit=0
+ cd gmp-6.1.0
+ /bin/chmod -R a+rX,g-w,o-w .
+ cd /home/joel/rtems-work/rtems-source-builder/rtems/build/gmp-6.1.0-x86_64-linux-gnu-1
==> clean %{buildroot}: /home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/gmp-6.1.0-x86_64-linux-gnu-1-1001
+ SB_CXC=no
+ echo '==> clean %{buildroot}: /home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/gmp-6.1.0-x86_64-linux-gnu-1-1001'
+ /bin/rm -rf /home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/gmp-6.1.0-x86_64-linux-gnu-1-1001
+ /bin/mkdir -p /home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/gmp-6.1.0-x86_64-linux-gnu-1-1001
==> %build:
+ echo '==> %build:'
++ pwd
+ build_top=/home/joel/rtems-work/rtems-source-builder/rtems/build/gmp-6.1.0-x86_64-linux-gnu-1
+ cd gmp-6.1.0
+ test x86_64-linux-gnu '!=' x86_64-linux-gnu
+ LDFLAGS=' -L/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/lib'
+ LDLIBS=
+ LIBS=
++ echo 'gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include'
++ sed -e 's,-std=gnu99 ,,'
+ CC='gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include'
++ echo 'g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include'
++ sed -e 's,-std=gnu99 ,,'
+ CXX='g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include'
+ CC_FOR_BUILD='gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include'
+ CXX_FOR_BUILD='g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include'
+ 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 --disable-shared
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -O2 -pedantic -fomit-frame-pointer -m64 ... yes
checking compiler gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=k8... yes
checking compiler gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=k8 -march=k8... yes
checking for x86_64-linux-gnu-gcc... gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include accepts -g... yes
checking for gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include option to accept ISO C89... none needed
checking whether gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include understands -c and -o together... yes
checking for gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include option to accept ISO C99... -std=gnu99
checking for gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 -E
checking build system compiler gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include... yes
checking for build system preprocessor... gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
using ABI="64"
CC="gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99"
CFLAGS="-O2 -pedantic -fomit-frame-pointer -m64 -mtune=k8 -march=k8"
CPPFLAGS=""
MPN_PATH=" x86_64/k8 x86_64 generic"
checking whether assembler supports --noexecstack option... yes
checking for x86_64-linux-gnu-ar... no
checking for ar... ar
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 static flag -static works... no
checking if gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 supports -c -o file.o... yes
checking if gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -E
checking whether the g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include option to produce PIC... -DPIC
checking if g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include PIC flag -DPIC works... yes
checking if g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include static flag works... yes
checking if g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include supports -c -o file.o... yes
checking if g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include supports -c -o file.o... (cached) yes
checking whether the g++ -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/home/joel/rtems-work/tools/6/include linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking invent.h usability... no
checking invent.h presence... no
checking for invent.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking sys/attributes.h usability... no
checking sys/attributes.h presence... no
checking for sys/attributes.h... no
checking sys/iograph.h usability... no
checking sys/iograph.h presence... no
checking for sys/iograph.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/syssgi.h usability... no
checking sys/syssgi.h presence... no
checking for sys/syssgi.h... no
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/resource.h... yes
checking for sys/sysctl.h... yes
checking for machine/hal_sysinfo.h... no
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
sed: can't read conftest.c: No such file or directory
checking whether vfprintf is declared... no
checking whether sys_errlist is declared... yes
checking whether sys_nerr is declared... yes
checking return type of signal handlers... void
checking for intmax_t... no
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... no
checking for quad_t... no
checking for uint_least32_t... no
checking for intptr_t... no
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking whether gcc hidden aliases work... yes
checking for inline... inline
configure: WARNING: gmp.h doesnt recognise compiler "inline", inlines will be unavailable
checking for cos in -lm... yes
checking for working alloca.h... yes
checking for alloca (via gmp-impl.h)... no
checking how to allocate temporary memory... malloc-reentrant
configure: WARNING: gmp.h doesnt recognise <stdio.h>, FILE prototypes will be unavailable
checking whether byte ordering is bigendian... no
checking format of `double' floating point... IEEE little endian
checking for alarm... yes
checking for attr_get... no
checking for clock... yes
checking for cputime... no
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getsysinfo... no
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for nl_langinfo... yes
checking for obstack_vprintf... yes
checking for popen... yes
checking for processor_info... no
checking for pstat_getprocessor... no
checking for raise... yes
checking for read_real_time... no
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for syssgi... no
checking for strchr... yes
checking for strerror... yes
checking for strnlen... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... no
checking for times... yes
checking for library containing clock_gettime... none required
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for struct pst_processor.psp_iticksperclktick... no
configure: error: no version of invert_limb_table found in path: x86_64/k8 x86_64 generic
shell cmd failed: /bin/sh -ex /home/joel/rtems-work/rtems-source-builder/rtems/build/gmp-6.1.0-x86_64-linux-gnu-1/do-build
error: building gmp-6.1.0-x86_64-linux-gnu-1
See error report: rsb-report-gmp-6.1.0-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 6/rtems-microblaze
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.636MB (installed: 1.417MB)
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
error: building gmp-6.1.0-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-gmp-6.1.0-x86_64-linux-gnu-1.txt
error: building gmp-6.1.0-x86_64-linux-gnu-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Nov 7 16:15:00 2021
==============================================================================
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: 33d8196bcc2efb182635514d411601bda3933aea
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 microblaze-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=/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 --disable-shared
make -j 8 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> Sun Nov 7 16:15:00 2021
==============================================================================
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: 33d8196bcc2efb182635514d411601bda3933aea
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 microblaze-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=/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 --disable-shared
make -j 8 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}
More information about the build
mailing list