WireGuard Archive on lore.kernel.org
 help / Atom feed
* Implicit declaration of function 'read_cpuid_part', asm/simd.h: No such file or directory with 0.0.20180925 on arm kernel 3.10.107
@ 2018-09-27  6:54 Philipp Richter
  2018-09-27  7:10 ` Philipp Richter
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Richter @ 2018-09-27  6:54 UTC (permalink / raw)
  To: wireguard

Hello,

it's me again with my super ancient kernel *sigh*

I'm getting these errors with the 0.0.20180925 snapshot :

DKMS make.log for wireguard-0.0.20180925 for kernel 3.10.107-2-ARCH (armv7l)
Thu Sep 27 08:44:18 CEST 2018
make: Entering directory '/usr/src/linux-3.10.107-2-ARCH'
 LD      /var/lib/dkms/wireguard/0.0.20180925/build/built-in.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/main.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/noise.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/device.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/peer.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/timers.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/queueing.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/send.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/receive.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/socket.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/hashtables.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/allowedips.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/ratelimiter.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/cookie.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/netlink.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20.o
 AS [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20-arm.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/poly1305/poly1305.o
 AS [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/poly1305/poly1305-arm.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20poly1305.o
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/blake2s/blake2s.o
In file included from
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20.c:20:
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20-arm-glue.h:
In function ‘chacha20_fpu_init’:
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20-arm-glue.h:30:10:
error: implicit declaration of function ‘read_cpuid_part’; did you
mean ‘read_cpuid_ext’? [-Werror=implicit-function-declaration]
 switch (read_cpuid_part()) {
         ^~~~~~~~~~~~~~~
         read_cpuid_ext
 CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519.o
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:309:
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519.c:25:
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519-arm-glue.h:8:10:
fatal error: asm/simd.h: No such file or directory
#include <asm/simd.h>
         ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:308:
/var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519.o]
Error 1
make: *** [Makefile:1233:
_module_/var/lib/dkms/wireguard/0.0.20180925/build] Error 2
make: Leaving directory '/usr/src/linux-3.10.107-2-ARCH'


I understand if it's just no possible anymore to support such ancient
software. Instead of collecting dust it serves as a nice wireguard
endpoint :)

Wireguard has been amazing so far, thanks for such great software.

Best Regards,
Philipp Richter
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Implicit declaration of function 'read_cpuid_part', asm/simd.h: No such file or directory with 0.0.20180925 on arm kernel 3.10.107
  2018-09-27  6:54 Implicit declaration of function 'read_cpuid_part', asm/simd.h: No such file or directory with 0.0.20180925 on arm kernel 3.10.107 Philipp Richter
@ 2018-09-27  7:10 ` Philipp Richter
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Richter @ 2018-09-27  7:10 UTC (permalink / raw)
  To: wireguard

I tested the latest commit 6f094dca17038a48f3f01931c6b80d6511a86967

And with that it complains only about missing asm/simd.h

Regards,
Philipp Richter
On Thu, 27 Sep 2018 at 08:54, Philipp Richter
<richterphilipp.pops@gmail.com> wrote:
>
> Hello,
>
> it's me again with my super ancient kernel *sigh*
>
> I'm getting these errors with the 0.0.20180925 snapshot :
>
> DKMS make.log for wireguard-0.0.20180925 for kernel 3.10.107-2-ARCH (armv7l)
> Thu Sep 27 08:44:18 CEST 2018
> make: Entering directory '/usr/src/linux-3.10.107-2-ARCH'
>  LD      /var/lib/dkms/wireguard/0.0.20180925/build/built-in.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/main.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/noise.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/device.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/peer.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/timers.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/queueing.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/send.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/receive.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/socket.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/hashtables.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/allowedips.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/ratelimiter.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/cookie.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/netlink.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20.o
>  AS [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20-arm.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/poly1305/poly1305.o
>  AS [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/poly1305/poly1305-arm.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20poly1305.o
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/blake2s/blake2s.o
> In file included from
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20.c:20:
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20-arm-glue.h:
> In function ‘chacha20_fpu_init’:
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20-arm-glue.h:30:10:
> error: implicit declaration of function ‘read_cpuid_part’; did you
> mean ‘read_cpuid_ext’? [-Werror=implicit-function-declaration]
>  switch (read_cpuid_part()) {
>          ^~~~~~~~~~~~~~~
>          read_cpuid_ext
>  CC [M]  /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519.o
> cc1: some warnings being treated as errors
> make[1]: *** [scripts/Makefile.build:309:
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/chacha20/chacha20.o]
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519.c:25:
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519-arm-glue.h:8:10:
> fatal error: asm/simd.h: No such file or directory
> #include <asm/simd.h>
>          ^~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:308:
> /var/lib/dkms/wireguard/0.0.20180925/build/crypto/zinc/curve25519/curve25519.o]
> Error 1
> make: *** [Makefile:1233:
> _module_/var/lib/dkms/wireguard/0.0.20180925/build] Error 2
> make: Leaving directory '/usr/src/linux-3.10.107-2-ARCH'
>
>
> I understand if it's just no possible anymore to support such ancient
> software. Instead of collecting dust it serves as a nice wireguard
> endpoint :)
>
> Wireguard has been amazing so far, thanks for such great software.
>
> Best Regards,
> Philipp Richter
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27  6:54 Implicit declaration of function 'read_cpuid_part', asm/simd.h: No such file or directory with 0.0.20180925 on arm kernel 3.10.107 Philipp Richter
2018-09-27  7:10 ` Philipp Richter

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox