gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gm2-11.1.0-20210503 builds on NetBSD 9.1-sparc64


From: john o goyo
Subject: gm2-11.1.0-20210503 builds on NetBSD 9.1-sparc64
Date: Thu, 6 May 2021 09:18:08 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0

Gm2-20210503 built on NetBSD 9.1-sparc64.

------------------
 [~]=> uname -a
NetBSD [...] 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64


 ------------------
[~]=> cat bld/configure-gm2-11.1.0
#!/usr/pkg/bin/bash
# $Revision: 1.5 $
#
GM2DATE=20210503
GCCVER=11.1.0

rm -rf gm2-$GCCVER-$GM2DATE
mkdir gm2-$GCCVER-$GM2DATE
cd gm2-$GCCVER-$GM2DATE

CONFIG_SHELL=/usr/pkg/bin/bash \
../../src/gcc-$GCCVER+gm2-$GM2DATE/configure \
--prefix=$HOME/gm2/$GCCVER/$GM2DATE \
--with-mpc-include=/usr/pkg/include \
--with-mpc-lib=/usr/pkg/lib \
--with-gmp-include=/usr/pkg/include \
--with-gmp-lib=/usr/pkg/lib \
--enable-languages=c,c++,m2 \
--disable-bootstrap --enable-checking \
--enable-shared --disable-libitm \
--enable-threads=posix

echo
echo "Run export LD_LIBRARY_PATH=/usr/pkg/lib:/usr/local/lib"
echo
------------------

                === gm2 Summary ===

# of expected passes            8278
# of unexpected failures        3817
# of unresolved testcases       359
------------------

Several GNU packages were needed (such as bash, gmake, others) and some accomodations for building on NetBSD as opposed to Linux.  One interesting note is that gcc-11.1.0 builds concurrently (using gmake -j4) but gm2-11.1.0 does not.

Unlike the Solaris 10/sparc attempted builds post gcc-4.1.2, ShiftLeft() generated correct code.  No easy investigation possible as gcc stopped supporting Solaris 10/sparc at 10+ and only started supporting NetBSD "out of the box" at 10+.  (My Solaris 11/sparc box is in storage still, awaiting other tasks of higher priority.)

So Kudos to Gaius (and thanks to Brian for noting the unpatched tarballs).

Sincerely,
john



reply via email to

[Prev in Thread] Current Thread [Next in Thread]