No longer compiles on 5.4.76

Roman Mamedov rm at romanrm.net
Tue Nov 10 14:56:56 CET 2020


Hello,

Building kernel 5.4.76 with WireGuard v1.0.20200908 fails for me now with:

  AS [M]  net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.o
In file included from <command-line>:
././net/wireguard/compat/compat-asm.h:44: warning: "SYM_FUNC_START" redefined
 #define SYM_FUNC_START ENTRY
 
In file included from ././net/wireguard/compat/compat-asm.h:9,
                 from <command-line>:
./include/linux/linkage.h:218: note: this is the location of the previous definition
 #define SYM_FUNC_START(name)    \
 
In file included from <command-line>:
././net/wireguard/compat/compat-asm.h:45: warning: "SYM_FUNC_END" redefined
 #define SYM_FUNC_END ENDPROC
 
In file included from ././net/wireguard/compat/compat-asm.h:9,
                 from <command-line>:
./include/linux/linkage.h:265: note: this is the location of the previous definition
 #define SYM_FUNC_END(name)    \
 
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S: Assembler messages:
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:123: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:185: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:187: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:319: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:1016: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:1616: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:1620: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:1810: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:1812: Error: invalid character '(' in mnemonic
net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.S:1959: Error: invalid character '(' in mnemonic
  CC [M]  drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp10b.o
scripts/Makefile.build:348: recipe for target 'net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.o' failed
make[3]: *** [net/wireguard/crypto/zinc/chacha20/chacha20-x86_64.o] Error 1
scripts/Makefile.build:500: recipe for target 'net/wireguard' failed
make[2]: *** [net/wireguard] Error 2


-- 
With respect,
Roman


More information about the WireGuard mailing list