Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
building 64bit lint on i386 fails
My build systems is an i386 Xen DOMU. (it is a i386 because many
years ago, amd64 had an issue cross building for many NetBSD
architectures. Probably in the NetBSD 4.0 timeframe. :D)
Recently (in the last month or so), attempting to build the
toolchain for 64 bit systems (alpha, amd64, sparc64) has started
failing when building on i386/7.1_STABLE, circa 2017-07-20.
The error is:
# compile lint1/scan.lo
cc -O -I/work/eric/NetBSD-current/tools.i386/include/compat -I/work/eric/NetBSD-current/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1 -I. -DPASS=\"lint1.h\" -I/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../arch/x86_64 -I/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common -c -o scan.lo.o scan.c
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/scan.l: In function 'icon':
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/scan.l:562:2: error: unknown type name '__uint128_t'
__uint128_t uq = 0;
^
In file included from /work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../arch/x86_64/targparam.h:38:0,
from /work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common/param.h:62,
from /work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common/lint.h:46,
from /work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/lint1.h:35,
from /work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/scan.l:49:
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common/lp64.h:70:28: error: '__int128_t' undeclared (first use in this function)
#define TARG_INT128_MAX ((__int128_t) (((__uint128_t) -1) >> 1))
^
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/scan.l:692:12: note: in expansion of macro 'TARG_INT128_MAX'
if (uq > TARG_INT128_MAX && !tflag) {
^
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common/lp64.h:70:28: note: each undeclared identifier is reported only once for each function it appears in
#define TARG_INT128_MAX ((__int128_t) (((__uint128_t) -1) >> 1))
^
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/scan.l:692:12: note: in expansion of macro 'TARG_INT128_MAX'
if (uq > TARG_INT128_MAX && !tflag) {
^
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common/lp64.h:70:43: error: '__uint128_t' undeclared (first use in this function)
#define TARG_INT128_MAX ((__int128_t) (((__uint128_t) -1) >> 1))
^
/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/scan.l:692:12: note: in expansion of macro 'TARG_INT128_MAX'
if (uq > TARG_INT128_MAX && !tflag) {
^
*** Failed target: scan.lo
*** Failed command: cc -O -I/work/eric/NetBSD-current/tools.i386/include/compat -I/work/eric/NetBSD-current/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1 -I. -DPASS=\"lint1.h\" -I/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../arch/x86_64 -I/work/eric/NetBSD-current/src/tools/lint1/../../usr.bin/xlint/lint1/../common -c -o scan.lo.o scan.c
*** Error code 1
Stop.
nbmake[3]: stopped in /work/eric/NetBSD-current/src/tools/lint1
The entire build log is at
ftp://ftp.cirr.com/pub/eric/current.20181002.tools.amd64
Thank you,
Eric
--
Eric Schnoebelen eric%cirr.com@localhost http://www.cirr.com
"Microsoft asks you where you want to go. UNIX gets you there."
-- david%mono.org@localhost
Home |
Main Index |
Thread Index |
Old Index