<div dir="auto">Does it have to do with macros.S having a capital S extension?<br><br><div data-smartmail="gmail_signature">Thanks,<br>Tushar Pankaj</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 1, 2018, 17:24 Laszlo KERTESZ <<a href="mailto:laszlo.kertesz@gmail.com">laszlo.kertesz@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi,<br></div><div>It builds with 4.19.x. What happened to 4.20? <br></div><div>On the Fedore bug tracker there is something related:</div><div><br></div><div><a href="https://src.fedoraproject.org/cgit/rpms/kernel.git/commit/?id=6904e708917a12819d1fe0d329f605030d6e4b0d" target="_blank" rel="noreferrer">https://src.fedoraproject.org/cgit/rpms/kernel.git/commit/?id=6904e708917a12819d1fe0d329f605030d6e4b0d</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 1, 2018 at 11:03 PM QINGWEI ZHANG <<a href="mailto:qzhang.canada@gmail.com" target="_blank" rel="noreferrer">qzhang.canada@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="background-color:rgb(255,255,255);background-image:initial;line-height:initial"><div id="m_-1194933585637765609m_5093046255808516082response_container_BBPPID" style="outline:none" dir="auto"> <div name="BB10" id="m_-1194933585637765609m_5093046255808516082BB10_response_div_BBPPID" dir="auto" style="width:100%"> This kernel is the latest one, could you try with 4.19?</div>                                                                                                                                      <div name="BB10" id="m_-1194933585637765609m_5093046255808516082response_div_spacer_BBPPID" dir="auto" style="width:100%"> <br style="display:initial"></div>                            <div id="m_-1194933585637765609m_5093046255808516082blackberry_signature_BBPPID" name="BB10" dir="auto">     <div id="m_-1194933585637765609m_5093046255808516082_signaturePlaceholder_BBPPID" name="BB10" dir="auto">Sent via the <a href="http://play.google.com/store/apps/details?id=com.blackberry.hub" target="_blank" rel="noreferrer">BlackBerry Hub for Android</a></div> </div></div><div id="m_-1194933585637765609m_5093046255808516082_original_msg_header_BBPPID" dir="auto">                                                                                                                                             <table width="100%" style="background-color:white;border-spacing:0px;display:table;outline:none"><tbody><tr><td colspan="2" style="padding:initial;font-size:initial;text-align:initial;background-color:rgb(255,255,255)">                           <div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in;font-family:Tahoma,"BB Alpha Sans","Slate Pro";font-size:10pt">  <div id="m_-1194933585637765609m_5093046255808516082from"><b>From:</b> <a href="mailto:laszlo.kertesz@gmail.com" target="_blank" rel="noreferrer">laszlo.kertesz@gmail.com</a></div><div id="m_-1194933585637765609m_5093046255808516082sent"><b>Sent:</b> December 1, 2018 15:58</div><div id="m_-1194933585637765609m_5093046255808516082to"><b>To:</b> <a href="mailto:wireguard@lists.zx2c4.com" target="_blank" rel="noreferrer">wireguard@lists.zx2c4.com</a></div><div id="m_-1194933585637765609m_5093046255808516082subject"><b>Subject:</b> Build fails on Debian, kernel 4.20.0-rc4</div></div></td></tr></tbody></table> <br> </div><div name="BB10" dir="auto" style="background-image:initial;line-height:initial;outline:none"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div>The wireguard module (0.0.20181119 from Debian Unstable) fails to build on my machine using kernel 4.20 rc4. <br></div><div><br></div><div>I get the following errors:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div># cat /var/lib/dkms/wireguard/0.0.20181119/build/<a href="http://make.log" target="_blank" rel="noreferrer">make.log</a><br>DKMS <a href="http://make.log" target="_blank" rel="noreferrer">make.log</a> for wireguard-0.0.20181119 for kernel 4.20.0-rc4 (x86_64)<br>Sat Dec  1 22:51:18 EET 2018<br>make: Entering directory '/usr/src/linux-headers-4.20.0-rc4'<br>  CC [M]  /var/lib/dkms/wireguard/0.0.20181119/build/main.o<br>  CC [M]  /var/lib/dkms/wireguard/0.0.20181119/build/noise.o<br>  CC [M]  /var/lib/dkms/wireguard/0.0.20181119/build/device.o<br>  CC [M]  /var/lib/dkms/wireguard/0.0.20181119/build/peer.o<br>Assembler messages:<br>Error: can't open arch/x86/kernel/macros.s for reading: No such file or directory<br>make[1]: *** [scripts/<a href="http://Makefile.build:293" target="_blank" rel="noreferrer">Makefile.build:293</a>: /var/lib/dkms/wireguard/0.0.20181119/build/main.o] Error 1<br>make[1]: *** Waiting for unfinished jobs....<br>Assembler messages:<br>Error: can't open arch/x86/kernel/macros.s for reading: No such file or directory<br>./arch/x86/include/asm/atomic64_64.h:160: Error: no such instruction: `lock_prefix xaddq %rax,peer_counter(%rip)'<br>./arch/x86/include/asm/bitops.h:76: Error: no such instruction: `lock_prefix orb $32,1592(%rbx)'<br>./arch/x86/include/asm/bitops.h:114: Error: no such instruction: `lock_prefix andb $-2,1592(%rbx)'<br>./arch/x86/include/asm/bitops.h:114: Error: no such instruction: `lock_prefix andb $-9,1592(%rbx)'<br>./arch/x86/include/asm/jump_label.h:23: Error: no such instruction: `static_branch_nop l_yes=".L15"key="descriptor.66338+40"branch="0"'<br>./include/linux/netdevice.h:515: Error: no such instruction: `asm_bug ins=".byte 0x0f, 0x0b"file=.LC0 line=515 flags=0 size=12'<br>./include/linux/netdevice.h:515: Error: no such instruction: `annotate_unreachable counter=80'<br>./arch/x86/include/asm/atomic.h:200: Error: no such instruction: `lock_prefix cmpxchgl %ecx,(%rdx)'<br>./arch/x86/include/asm/refcount.h:109: Error: no such instruction: `refcount_error counter="(%rdx)"'<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 1528(%rbx)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="1528(%rbx)"'<br>./arch/x86/include/asm/jump_label.h:23: Error: no such instruction: `static_branch_nop l_yes=".L61"key="descriptor.66372+40"branch="0"'<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 1528(%rdi)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="1528(%rdi)"'<br>./arch/x86/include/asm/jump_label.h:23: Error: no such instruction: `static_branch_nop l_yes=".L80"key="descriptor.66372+40"branch="0"'<br>Assembler messages:<br>Error: can't open arch/x86/kernel/macros.s for reading: No such file or directory<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 4(%rdi)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="4(%rdi)"'<br>./arch/x86/include/asm/jump_label.h:23: Error: no such instruction: `static_branch_nop l_yes=".L6"key="descriptor.67356+40"branch="0"'<br>./arch/x86/include/asm/jump_label.h:23: Error: no such instruction: `static_branch_nop l_yes=".L32"key="descriptor.67420+40"branch="0"'<br>./arch/x86/include/asm/refcount.h:65: Error: no such instruction: `lock_prefix incl 4(%rdi)'<br>./arch/x86/include/asm/refcount.h:66: Error: no such instruction: `refcount_check_lt_zero counter="4(%rdi)"'<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 4(%rdi)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="4(%rdi)"'<br>/var/lib/dkms/wireguard/0.0.20181119/build/device.c:404: Error: no such instruction: `asm_bug ins=".byte 0x0f, 0x0b"file=.LC7 line=404 flags=2305 size=12'<br>/var/lib/dkms/wireguard/0.0.20181119/build/device.c:404: Error: no such instruction: `annotate_reachable counter=163'<br>./arch/x86/include/asm/bitops.h:76: Error: no such instruction: `lock_prefix orb $32,328(%rax)'<br>make[1]: *** [scripts/<a href="http://Makefile.build:293" target="_blank" rel="noreferrer">Makefile.build:293</a>: /var/lib/dkms/wireguard/0.0.20181119/build/peer.o] Error 1<br>make[1]: *** [scripts/<a href="http://Makefile.build:293" target="_blank" rel="noreferrer">Makefile.build:293</a>: /var/lib/dkms/wireguard/0.0.20181119/build/device.o] Error 1<br>Assembler messages:<br>Error: can't open arch/x86/kernel/macros.s for reading: No such file or directory<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 680(%rbx)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="680(%rbx)"'<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 680(%rbx)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="680(%rbx)"'<br>./arch/x86/include/asm/atomic.h:200: Error: no such instruction: `lock_prefix cmpxchgl %ecx,(%rdx)'<br>./arch/x86/include/asm/refcount.h:109: Error: no such instruction: `refcount_error counter="(%rdx)"'<br>./arch/x86/include/asm/refcount.h:90: Error: no such instruction: `lock_prefix decl 680(%rbx)'<br>./arch/x86/include/asm/refcount.h:91: Error: no such instruction: `refcount_check_lt_zero counter="680(%rbx)"'<br>./arch/x86/include/asm/atomic64_64.h:160: Error: no such instruction: `lock_prefix xaddq %rax,keypair_counter(%rip)'<br>make[1]: *** [scripts/<a href="http://Makefile.build:293" target="_blank" rel="noreferrer">Makefile.build:293</a>: /var/lib/dkms/wireguard/0.0.20181119/build/noise.o] Error 1<br>make: *** [Makefile:1565: _module_/var/lib/dkms/wireguard/0.0.20181119/build] Error 2<br>make: Leaving directory '/usr/src/linux-headers-4.20.0-rc4'<br><br></div></blockquote><div><br></div><div><br></div></div></div></div>
</div></div></blockquote></div>
_______________________________________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com" target="_blank" rel="noreferrer">WireGuard@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><br>
</blockquote></div>