[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-arm
Subject: Re: GENERIC64 cross-compilation error
From: Nick Hudson <nick.hudson () gmx ! co ! uk>
Date: 2021-01-21 12:31:06
Message-ID: 09fdde32-011a-74df-f5ec-fe2e41999fa7 () gmx ! co ! uk
[Download RAW message or body]
On 21/01/2021 11:03, nia wrote:
> has anyone seen this before / know how I can work around it?
>
> when I build NetBSD I usually do it natively but I figured this would
> be faster than building on an rpi3...
>
> $ ./build.sh -U -j2 -m evbarm64 kernel=GENERIC64
> [...]
> In file included from /home/nia/cvs/src/sys/crypto/adiantum/adiantum.c:39:
> /home/nia/cvs/src/sys/crypto/adiantum/adiantum.c: In function 'nh':
> /home/nia/cvs/src/sys/sys/cdefs.h:164:39: error: bit-field '__ctassert0' width not an integer constant
> 164 | #define __CTASSERT(x) __CTASSERT0(x, __ctassert, __COUNTER__)
> | ^~~~~~~~~~
> /home/nia/cvs/src/sys/sys/cdefs.h:173:16: note: in definition of macro '__CTASSERT1'
> 173 | unsigned int y ## z : /*CONSTCOND*/(x) ? 1 : -1; \
> | ^
> /home/nia/cvs/src/sys/sys/cdefs.h:164:24: note: in expansion of macro '__CTASSERT0'
> 164 | #define __CTASSERT(x) __CTASSERT0(x, __ctassert, __COUNTER__)
> | ^~~~~~~~~~~
> /home/nia/cvs/src/sys/lib/libkern/libkern.h:255:22: note: in expansion of macro '__CTASSERT'
> 255 | #define CTASSERT(x) __CTASSERT(x)
> | ^~~~~~~~~~
> /home/nia/cvs/src/sys/crypto/adiantum/adiantum.c:400:2: note: in expansion of macro 'CTASSERT'
> 400 | CTASSERT(r*w/8 == 16);
> | ^~~~~~~~
> [...]
> ERROR: Failed to make all in "/home/nia/cvs/src/sys/arch/evbarm/compile/obj/GENERIC64"
> *** BUILD ABORTED ***
>
Is your source clean? Or maybe the obj needs cleaning?
Nick
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic