WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* commit 99895f27f3d63d2e92a5c1c411205ae70f2a5ca breaks build on arm64
@ 2019-06-15 16:10 Andriy Perev Ortkin
  2019-06-18 16:24 ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Andriy Perev Ortkin @ 2019-06-15 16:10 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

commit https://git.zx2c4.com/WireGuard/commit/?id=799895f27f3d63d2e92a5c1c411205ae70f2a5ca
breaks out of tree module build on arm64 , kernel 5.1.10
strangely when building x86_64 everything is fine

  CC [M]  /home/asavah/kross/src/WireGuard/src/main.o
In file included from /home/asavah/kross/src/WireGuard/src/compat/compat.h:824,
                 from <command-line>:
./include/linux/timekeeping.h:67:8: error: unknown type name ‘ktime_t’
   67 | extern ktime_t ktime_get(void);
      |        ^~~~~~~

The following patch fixes the issue, however I have no idea why x86_64
builds fine and arm64 does not,
neither I'm sure that the patch is right, it fixed the issue for me tho.

[-- Attachment #2: 001-ktime.patch --]
[-- Type: application/octet-stream, Size: 427 bytes --]

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: commit 99895f27f3d63d2e92a5c1c411205ae70f2a5ca breaks build on arm64
  2019-06-15 16:10 commit 99895f27f3d63d2e92a5c1c411205ae70f2a5ca breaks build on arm64 Andriy Perev Ortkin
@ 2019-06-18 16:24 ` Jason A. Donenfeld
  2019-06-18 19:03   ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Jason A. Donenfeld @ 2019-06-18 16:24 UTC (permalink / raw)
  To: Andriy Perev Ortkin; +Cc: WireGuard mailing list

Thanks. I'll fix this.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: commit 99895f27f3d63d2e92a5c1c411205ae70f2a5ca breaks build on arm64
  2019-06-18 16:24 ` Jason A. Donenfeld
@ 2019-06-18 19:03   ` Jason A. Donenfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2019-06-18 19:03 UTC (permalink / raw)
  To: Andriy Perev Ortkin; +Cc: WireGuard mailing list

Let me know if the latest master branch works for you.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-15 16:10 commit 99895f27f3d63d2e92a5c1c411205ae70f2a5ca breaks build on arm64 Andriy Perev Ortkin
2019-06-18 16:24 ` Jason A. Donenfeld
2019-06-18 19:03   ` Jason A. Donenfeld

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