linux-next: build failure after merge of the mm tree

From: Stephen Rothwell
Date: Tue Jul 09 2024 - 04:42:19 EST


Hi all,

After merging the mm tree, today's linux-next build (i386 defconfig)
failed like this:

lib/math/div64.c: In function 'mul_u64_u64_div_u64':
lib/math/div64.c:211:2: error: #error "unknown endianness"
211 | #error "unknown endianness"
| ^~~~~
lib/math/div64.c:219:21: error: 'union <anonymous>' has no member named 'l'
219 | X.v = (u64)A.l * B.l;
| ^
lib/math/div64.c:219:27: error: 'union <anonymous>' has no member named 'l'
219 | X.v = (u64)A.l * B.l;
| ^
lib/math/div64.c:220:21: error: 'union <anonymous>' has no member named 'l'
220 | Y.v = (u64)A.l * B.h + X.h;
| ^
lib/math/div64.c:220:27: error: 'union <anonymous>' has no member named 'h'
220 | Y.v = (u64)A.l * B.h + X.h;
| ^
lib/math/div64.c:220:33: error: 'union <anonymous>' has no member named 'h'
220 | Y.v = (u64)A.l * B.h + X.h;
| ^
lib/math/div64.c:221:21: error: 'union <anonymous>' has no member named 'h'
221 | Z.v = (u64)A.h * B.h + Y.h;
| ^
lib/math/div64.c:221:27: error: 'union <anonymous>' has no member named 'h'
221 | Z.v = (u64)A.h * B.h + Y.h;
| ^
lib/math/div64.c:221:33: error: 'union <anonymous>' has no member named 'h'
221 | Z.v = (u64)A.h * B.h + Y.h;
| ^
lib/math/div64.c:222:21: error: 'union <anonymous>' has no member named 'h'
222 | Y.v = (u64)A.h * B.l + Y.l;
| ^
lib/math/div64.c:222:27: error: 'union <anonymous>' has no member named 'l'
222 | Y.v = (u64)A.h * B.l + Y.l;
| ^
lib/math/div64.c:222:33: error: 'union <anonymous>' has no member named 'l'
222 | Y.v = (u64)A.h * B.l + Y.l;
| ^
lib/math/div64.c:223:10: error: 'union <anonymous>' has no member named 'h'
223 | X.h = Y.l;
| ^
lib/math/div64.c:223:16: error: 'union <anonymous>' has no member named 'l'
223 | X.h = Y.l;
| ^
lib/math/div64.c:224:17: error: 'union <anonymous>' has no member named 'h'
224 | Z.v += Y.h;
| ^

Caused by commit

7a3c42cc4fc3 ("mul_u64_u64_div_u64: make it precise always")

from the mm-nonmm-unstable branch of the mm tree.

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpN9HnpaXf_d.pgp
Description: OpenPGP digital signature