=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for gap-4.3.5nb1 --- bin/x86_64-unknown-freebsd11-clang/configure --- if test ! -d bin; then mkdir bin; fi if test ! -d bin/x86_64-unknown-freebsd11-clang; then mkdir bin/x86_64-unknown-freebsd11-clang; fi cp cnf/configure.out bin/x86_64-unknown-freebsd11-clang/configure --- bin/x86_64-unknown-freebsd11-clang/Makefile --- ( cd bin/x86_64-unknown-freebsd11-clang ; CC="clang -O2" ./configure --target=x86_64-unknown-freebsd11 --prefix=/usr/pkg --build=x86_64-unknown-freebsd11 --host=x86_64-unknown-freebsd11 --mandir=/usr/pkg/man ) creating cache ./config.cache checking for gcc... clang -O2 checking whether the C compiler (clang -O2 -O2 -Wl,-R/usr/pkg/lib) works... yes checking whether the C compiler (clang -O2 -O2 -Wl,-R/usr/pkg/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether clang -O2 accepts -g... yes checking for working const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking size of void *... 8 checking for nm... nm checking whether symbols begin with an underscore... no checking host system type... x86_64-unknown-freebsd11 checking target system type... x86_64-unknown-freebsd11 checking build system type... x86_64-unknown-freebsd11 checking unaligned access... 1 checking C compiler default flags... -O checking Linker default flags... checking dynamic module compile options... UNSUPPORTED checking dynamic linker... echo checking dynamic module link flags... -Bshareable -x checking how to run the C preprocessor... clang -E checking for ANSI C header files... yes checking for termios.h... yes checking for termio.h... no checking for sgtty.h... no checking for signal.h... yes checking for stdio.h... yes checking for unistd.h... yes checking for libc.h... no checking for sys/stat.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for sys/types.h... yes checking for assert.h... yes checking for sys/sysmacros.h... no checking for stdlib.h... yes checking for string.h... yes checking for math.h... yes checking for getpseudotty... no checking for _getpty... no checking for getpt... no checking for ptsname_r... no checking for setpgid... yes checking for rld_load... no checking for library containing dlopen... none required checking whether clang -O2 accepts -export-dynamic... no checking for sys/times.h... yes checking for sys/param.h... yes checking for times... yes checking for getrusage... yes checking for vm_allocate... no checking for sbrk... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for fork... yes checking for popen... yes checking for waitpid... yes checking for wait4... yes checking for old non-posix union wait... checking union wait... 0 checking for signal... yes checking return type of signal handlers... void checking for ttyname... yes checking for strerror... yes checking for select... yes checking for access... yes checking for stat... yes checking for unlink... yes checking for mkdir... yes checking whether stat file-mode macros are broken... no checking for Cygwin environment... no updating cache ./config.cache creating ./config.status creating gac creating Makefile creating config.h --- compile --- ( cd bin/x86_64-unknown-freebsd11-clang ; /usr/pkg/bin/bmake CC="clang -O2" ) --- ariths.o --- --- blister.o --- --- bool.o --- --- ariths.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o ariths.o -c ../../src/ariths.c --- blister.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o blister.o -c ../../src/blister.c --- bool.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o bool.o -c ../../src/bool.c --- c_meths1.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o c_meths1.o -c ../../src/c_meths1.c --- c_type1.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o c_type1.o -c ../../src/c_type1.c --- c_oper1.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o c_oper1.o -c ../../src/c_oper1.c --- c_filt1.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o c_filt1.o -c ../../src/c_filt1.c --- c_random.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o c_random.o -c ../../src/c_random.c --- calls.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o calls.o -c ../../src/calls.c --- code.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o code.o -c ../../src/code.c --- compiler.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o compiler.o -c ../../src/compiler.c --- compstat.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o compstat.o -c ../../src/compstat.c --- costab.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o costab.o -c ../../src/costab.c ../../src/costab.c:361:33: warning: shifting a negative signed value is undefined [-Wshift-negative-value] gen[cos1] = INTOBJ_INT( -1 ); ^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/costab.c:497:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SET_ELM_PLIST( ptRel[lp], lc, INTOBJ_INT( -1 ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/plist.h:118:59: note: expanded from macro 'SET_ELM_PLIST' #define SET_ELM_PLIST(list, pos, val) do { Obj sep_Obj = (val); ADDR_OBJ(list)[pos] = sep_Obj; } while (0) ^~~ ../../src/costab.c:498:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SET_ELM_PLIST( ptRel[rp], rc, INTOBJ_INT( -1 ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/plist.h:118:59: note: expanded from macro 'SET_ELM_PLIST' #define SET_ELM_PLIST(list, pos, val) do { Obj sep_Obj = (val); ADDR_OBJ(list)[pos] = sep_Obj; } while (0) ^~~ ../../src/costab.c:547:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SET_ELM_PLIST( ptRel[lp], lc, INTOBJ_INT( -1 ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/plist.h:118:59: note: expanded from macro 'SET_ELM_PLIST' #define SET_ELM_PLIST(list, pos, val) do { Obj sep_Obj = (val); ADDR_OBJ(list)[pos] = sep_Obj; } while (0) ^~~ ../../src/costab.c:548:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SET_ELM_PLIST( ptRel[rp], rc, INTOBJ_INT( -1 ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/plist.h:118:59: note: expanded from macro 'SET_ELM_PLIST' #define SET_ELM_PLIST(list, pos, val) do { Obj sep_Obj = (val); ADDR_OBJ(list)[pos] = sep_Obj; } while (0) ^~~ 5 warnings generated. --- cyclotom.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o cyclotom.o -c ../../src/cyclotom.c ../../src/cyclotom.c:236:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( cfs[i]==INTOBJ_INT(-1) && exs[i]==0 ) ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:238:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( cfs[i]==INTOBJ_INT(-1) && exs[i]==1 ) ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:240:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( cfs[i]==INTOBJ_INT(-1) ) ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:688:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] || (cof == INTOBJ_INT(-(1L<<28))) ) { ^~~~~~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:885:49: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if ( ! IS_INTOBJ( cfs[i] ) || cfs[i] == INTOBJ_INT(-(1L<<28)) ) { ^~~~~~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:1042:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( opR == INTOBJ_INT(-1) ) { ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:1176:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( c == INTOBJ_INT(-1) ) { ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/cyclotom.c:1437:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ 8 warnings generated. --- dt.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o dt.o -c ../../src/dt.c --- dteval.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o dteval.o -c ../../src/dteval.c ../../src/dteval.c:377:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ProdInt(INTOBJ_INT(-1), n), dtpols ); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/dteval.c:465:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] m = ProdInt( INTOBJ_INT(-1), ELM_PLIST(x, j+1) ); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/dteval.c:482:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] m = ProdInt( INTOBJ_INT(-1), ELM_PLIST( x, j+1 ) ); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/dteval.c:536:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] m = ProdInt( INTOBJ_INT(-1), ELM_PLIST(xk, i) ); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/dteval.c:868:99: warning: shifting a negative signed value is undefined [-Wshift-negative-value] quo = INT_INTOBJ(mod) == 0? QuoInt(quo,potenz):SumInt(QuoInt(quo, potenz),INTOBJ_INT(-1)); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ --- exprs.o --- --- dteval.o --- 5 warnings generated. --- finfield.o --- --- exprs.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o exprs.o -c ../../src/exprs.c --- finfield.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o finfield.o -c ../../src/finfield.c --- funcs.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o funcs.o -c ../../src/funcs.c --- gap.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o gap.o -c ../../src/gap.c --- gasman.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o gasman.o -c ../../src/gasman.c --- gvars.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o gvars.o -c ../../src/gvars.c --- integer.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o integer.o -c ../../src/integer.c ../../src/integer.c:346:14: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] res = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/integer.c:976:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if ( op == INTOBJ_INT( -(1L<> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:2885:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG2_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:2944:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG1_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:2945:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG2_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:3028:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:3115:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:3210:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:3313:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:3422:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:3540:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:3675:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] prec = INTOBJ_INT(-1); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/opers.c:4380:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG1_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:4381:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG2_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:4435:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG1_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ ../../src/opers.c:4436:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'Bag' (aka 'unsigned long **') [-Wnon-literal-null-conversion] FLAG2_FILT(oper) = INT_INTOBJ(0); ^~~~~~~~~~~~~ ../../src/objects.h:77:5: note: expanded from macro 'INT_INTOBJ' ((Int)(o) >> 2) ^~~~~~~~~~~~~~~ --- permutat.o --- ../../src/permutat.c:1459:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] opR = ProdInt( INTOBJ_INT(-1), opR ); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/permutat.c:1720:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] opR = ProdInt( INTOBJ_INT(-1), opR ); ^~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/permutat.c:1770:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return POW( perm, INTOBJ_INT(-1) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/ariths.h:624:61: note: expanded from macro 'POW' #define POW(opL,opR) ((*PowFuncs[TNUM_OBJ(opL)][TNUM_OBJ(opR)])(opL,opR)) ~~~~~~~~~^~~~ ../../src/objects.h:368:37: note: expanded from macro 'TNUM_OBJ' #define TNUM_OBJ(obj) (IS_INTOBJ( obj ) ? T_INT : \ ~~~~~~~~~~~^~~~~ ../../src/objects.h:45:12: note: expanded from macro 'IS_INTOBJ' ((Int)(o) & 0x01) ^ ../../src/permutat.c:1770:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return POW( perm, INTOBJ_INT(-1) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/ariths.h:624:72: note: expanded from macro 'POW' #define POW(opL,opR) ((*PowFuncs[TNUM_OBJ(opL)][TNUM_OBJ(opR)])(opL,opR)) ^~~ --- plist.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o plist.o -c ../../src/plist.c --- permutat.o --- 4 warnings generated. --- precord.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o precord.o -c ../../src/precord.c --- range.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o range.o -c ../../src/range.c --- rational.o --- --- opers.o --- 22 warnings generated. --- read.o --- --- rational.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o rational.o -c ../../src/rational.c --- read.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o read.o -c ../../src/read.c --- rational.o --- ../../src/rational.c:568:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] numR = ProdInt( INTOBJ_INT( -1L ), numR ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:569:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] denR = ProdInt( INTOBJ_INT( -1L ), denR ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:639:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] opR = ProdInt( INTOBJ_INT( -1L ), opR ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:713:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pow = PowInt( DEN_RAT(opL), ProdInt( INTOBJ_INT(-1L), opR ) ); ^~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:717:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( NUM_RAT(opL) == INTOBJ_INT( -1L ) ) { ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:718:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pow = ProdInt(PowInt(NUM_RAT(opL),ProdInt(INTOBJ_INT(-1L),opR)), ^~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:719:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] PowInt(DEN_RAT(opL),ProdInt(INTOBJ_INT(-1L),opR))); ^~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:724:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] numP = PowInt( DEN_RAT(opL), ProdInt( INTOBJ_INT( -1L ), opR ) ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:725:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] denP = PowInt( NUM_RAT(opL), ProdInt( INTOBJ_INT( -1L ), opR ) ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:733:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] NUM_RAT(pow) = ProdInt( INTOBJ_INT( -1L ), numP ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ ../../src/rational.c:734:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DEN_RAT(pow) = ProdInt( INTOBJ_INT( -1L ), denP ); ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ --- records.o --- --- rational.o --- 11 warnings generated. --- records.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o records.o -c ../../src/records.c --- saveload.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o saveload.o -c ../../src/saveload.c --- scanner.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o scanner.o -c ../../src/scanner.c --- sctable.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o sctable.o -c ../../src/sctable.c --- set.o --- --- sctable.o --- ../../src/sctable.c:343:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( EQ( ELM_LIST( table, dim+1 ), INTOBJ_INT(-1) ) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/ariths.h:296:36: note: expanded from macro 'EQ' #define EQ(opL,opR) ((opL) == (opR) || \ ^~~ ../../src/sctable.c:343:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( EQ( ELM_LIST( table, dim+1 ), INTOBJ_INT(-1) ) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/ariths.h:297:44: note: expanded from macro 'EQ' (!ARE_INTOBJS(opL,opR) && \ ~~~~~~~~~~~~~~~~^~~~ ../../src/objects.h:57:24: note: expanded from macro 'ARE_INTOBJS' ((Int)(o1) & (Int)(o2) & 0x01) ^~ ../../src/sctable.c:343:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( EQ( ELM_LIST( table, dim+1 ), INTOBJ_INT(-1) ) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/ariths.h:298:61: note: expanded from macro 'EQ' (*EqFuncs[TNUM_OBJ(opL)][TNUM_OBJ(opR)])(opL,opR))) ~~~~~~~~~^~~~ ../../src/objects.h:368:37: note: expanded from macro 'TNUM_OBJ' #define TNUM_OBJ(obj) (IS_INTOBJ( obj ) ? T_INT : \ ~~~~~~~~~~~^~~~~ ../../src/objects.h:45:12: note: expanded from macro 'IS_INTOBJ' ((Int)(o) & 0x01) ^ --- set.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o set.o -c ../../src/set.c --- sctable.o --- ../../src/sctable.c:343:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( EQ( ELM_LIST( table, dim+1 ), INTOBJ_INT(-1) ) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ^ ../../src/ariths.h:298:72: note: expanded from macro 'EQ' (*EqFuncs[TNUM_OBJ(opL)][TNUM_OBJ(opR)])(opL,opR))) ^~~ --- stats.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o stats.o -c ../../src/stats.c --- sctable.o --- 4 warnings generated. --- streams.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o streams.o -c ../../src/streams.c --- string.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o string.o -c ../../src/string.c --- sysfiles.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o sysfiles.o -c ../../src/sysfiles.c ../../src/sysfiles.c:2947:5: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] syEchoch(ch,fid); ^ ../../src/sysfiles.c:3896:10: warning: implicit declaration of function 'syGetch' is invalid in C99 [-Wimplicit-function-declaration] ch = syGetch(fid); ^ ../../src/sysfiles.c:4284:11: warning: implicit declaration of function 'syGetch' is invalid in C99 [-Wimplicit-function-declaration] ret = syGetch(fid); ^ --- system.o --- --- sysfiles.o --- ../../src/sysfiles.c:4363:20: warning: implicit declaration of function 'syGetch' is invalid in C99 [-Wimplicit-function-declaration] ch = syGetch(fid); ^ ../../src/sysfiles.c:4589:27: warning: implicit declaration of function 'syGetch' is invalid in C99 [-Wimplicit-function-declaration] ch2 = syGetch(fid); ^ ../../src/sysfiles.c:4599:27: warning: implicit declaration of function 'syGetch' is invalid in C99 [-Wimplicit-function-declaration] ch2 = syGetch(fid); ^ ../../src/sysfiles.c:4630:17: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] syEchoch('\n',fid); ^ ../../src/sysfiles.c:4677:29: warning: implicit declaration of function 'syEchos' is invalid in C99 [-Wimplicit-function-declaration] syEchos( "\n ", fid ); ^ ../../src/sysfiles.c:4699:29: warning: implicit declaration of function 'syEchos' is invalid in C99 [-Wimplicit-function-declaration] syEchos("\n identifier has no completions\n", ^ ../../src/sysfiles.c:4738:37: warning: implicit declaration of function 'syEchos' is invalid in C99 [-Wimplicit-function-declaration] syEchos( "\n ", fid ); ^ ../../src/sysfiles.c:4741:33: warning: implicit declaration of function 'syEchos' is invalid in C99 [-Wimplicit-function-declaration] syEchos( "\n", fid ); ^ ../../src/sysfiles.c:4771:13: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] syEchoch('\r',fid); syEchoch('\n',fid); break; ^ --- system.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o system.o -c ../../src/system.c --- sysfiles.o --- ../../src/sysfiles.c:4802:36: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] while (oldc<(q-old)) { syEchoch(old[oldc],fid); ++oldc; } ^ ../../src/sysfiles.c:4803:36: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] while (oldc>(q-old)) { syEchoch('\b',fid); --oldc; } ^ ../../src/sysfiles.c:4804:23: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] *q = *r; syEchoch( *q, fid ); ++oldc; ^ ../../src/sysfiles.c:4806:33: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] while ( oldc < newc ) { syEchoch(old[oldc],fid); ++oldc; } ^ ../../src/sysfiles.c:4807:33: warning: implicit declaration of function 'syEchoch' is invalid in C99 [-Wimplicit-function-declaration] while ( oldc > newc ) { syEchoch('\b',fid); --oldc; } ^ --- tietze.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o tietze.o -c ../../src/tietze.c --- vars.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o vars.o -c ../../src/vars.c --- vecgf2.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o vecgf2.o -c ../../src/vecgf2.c --- sysfiles.o --- 17 warnings generated. --- vec8bit.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o vec8bit.o -c ../../src/vec8bit.c --- vector.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o vector.o -c ../../src/vector.c ../../src/vector.c:624:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if ( elmL == INTOBJ_INT( -1L ) ) { ^~~~~~~~~~~~~~~~~ ../../src/objects.h:67:22: note: expanded from macro 'INTOBJ_INT' ((Obj)(((Int)(i) << 2) + 0x01)) ~~~~~~~~ ^ 1 warning generated. --- vecffe.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o vecffe.o -c ../../src/vecffe.c --- weakptr.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o weakptr.o -c ../../src/weakptr.c --- iostream.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o iostream.o -c ../../src/iostream.c --- float.o --- clang -O2 -I. -I../.. -DCONFIG_H -O -o float.o -c ../../src/float.c --- gap --- clang -O2 -O -o gap ariths.o blister.o bool.o c_meths1.o c_type1.o c_oper1.o c_filt1.o c_random.o calls.o code.o compiler.o compstat.o costab.o cyclotom.o dt.o dteval.o exprs.o finfield.o funcs.o gap.o gasman.o gvars.o integer.o intrprtr.o listfunc.o listoper.o lists.o objcftl.o objects.o objfgelm.o objpcgel.o objscoll.o objccoll.o opers.o permutat.o plist.o precord.o range.o rational.o read.o records.o saveload.o scanner.o sctable.o set.o stats.o streams.o string.o sysfiles.o system.o tietze.o vars.o vecgf2.o vec8bit.o vector.o vecffe.o weakptr.o iostream.o float.o -lm sysfiles.o: In function `SyTmpname': sysfiles.c:(.text+0x50df): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() scanner.o: In function `PutLine2': scanner.c:(.text+0x1ada): undefined reference to `SyFputs' sysfiles.o: In function `SyEchoch': sysfiles.c:(.text+0x17c8): undefined reference to `syEchoch' sysfiles.o: In function `SyGetch': sysfiles.c:(.text+0x18ba): undefined reference to `syGetch' sysfiles.c:(.text+0x1914): undefined reference to `syGetch' sysfiles.o: In function `syFgetsNoEdit': sysfiles.c:(.text+0x2384): undefined reference to `syGetch' sysfiles.o: In function `syFgets': sysfiles.c:(.text+0x25e0): undefined reference to `syGetch' sysfiles.c:(.text+0x2db4): undefined reference to `syEchos' sysfiles.c:(.text+0x2ddd): undefined reference to `syEchoch' sysfiles.c:(.text+0x2e7b): undefined reference to `syEchos' sysfiles.c:(.text+0x2e8c): undefined reference to `syEchos' sysfiles.c:(.text+0x2ec5): undefined reference to `syEchos' sysfiles.c:(.text+0x2ee9): undefined reference to `syEchoch' sysfiles.c:(.text+0x2f45): undefined reference to `syEchoch' sysfiles.c:(.text+0x3120): undefined reference to `syEchos' sysfiles.c:(.text+0x3131): undefined reference to `syEchos' sysfiles.c:(.text+0x3165): undefined reference to `syEchos' sysfiles.c:(.text+0x318b): undefined reference to `syEchoch' sysfiles.c:(.text+0x31cb): undefined reference to `syEchoch' sysfiles.c:(.text+0x3a1e): undefined reference to `syGetch' sysfiles.c:(.text+0x3a95): undefined reference to `syGetch' sysfiles.c:(.text+0x3c3a): undefined reference to `syEchoch' sysfiles.c:(.text+0x3c69): undefined reference to `syEchoch' sysfiles.c:(.text+0x47ca): undefined reference to `syEchoch' sysfiles.c:(.text+0x480b): undefined reference to `syEchoch' sysfiles.c:(.text+0x482f): undefined reference to `syEchoch' sysfiles.o:sysfiles.c:(.text+0x488e): more undefined references to `syEchoch' follow system.o: In function `SyMsgsBags': system.c:(.text+0x468): undefined reference to `SyFputs' system.c:(.text+0x47d): undefined reference to `SyFputs' system.c:(.text+0x499): undefined reference to `SyFputs' system.c:(.text+0x4ae): undefined reference to `SyFputs' system.c:(.text+0x4bd): undefined reference to `SyFputs' system.o:system.c:(.text+0x4ec): more undefined references to `SyFputs' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [gap] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/math/gap/work/gap4r3/bin/x86_64-unknown-freebsd11-clang 1 error bmake[1]: stopped in /var/pkgsrc/work/math/gap/work/gap4r3/bin/x86_64-unknown-freebsd11-clang *** [compile] Error code 2 bmake: stopped in /var/pkgsrc/work/math/gap/work/gap4r3 1 error bmake: stopped in /var/pkgsrc/work/math/gap/work/gap4r3 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/math/gap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/math/gap