Hi all, After merging the crypto tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: ld: warning: discarding dynamic section .glink ld: warning: discarding dynamic section .plt ld: linkage table error against `sm2_compute_z_digest' ld: stubs don't match calculated size ld: can not build stubs: bad value ld: crypto/asymmetric_keys/x509_public_key.o: in function `x509_get_sig_params': x509_public_key.c:(.text+0x474): undefined reference to `sm2_compute_z_digest' Possibly caused by commit e5221fa6a355 ("KEYS: asymmetric: Move sm2 code into x509_public_key") This looks like it may be a compiler bug? Maybe the deep ternary expressions may be contributing to that? (cc'ing the ppc guys in case they have any ideas.) I have reverted that commit (and the following one) for today. -- Cheers, Stephen Rothwell
Attachment:
pgpVLFPHe2TJ_.pgp
Description: OpenPGP digital signature