Build error
Hi,
For last several days when I build arm64/defconfig even against next-20170125, I
get the following error. arch/arm64/crypto/crc32-arm64.c:1:0: error: unknown feature modifier ?crc?
/*
^
make[1]: *** [arch/arm64/crypto/crc32-arm64.o] Error 1
make: *** [arch/arm64/crypto] Error 2
Regards,
Amit Kumar
Quoted 10 lines · Amit Kumar
Hi,
For last several days when I build arm64/defconfig even against next-20170125, I
get the following error.arch/arm64/crypto/crc32-arm64.c:1:0: error: unknown feature modifier ?crc?
/*
^
make[1]: *** [arch/arm64/crypto/crc32-arm64.o] Error 1
make: *** [arch/arm64/crypto] Error 2
Have you tried asking on the linux arm mailing list?
Quoted 12 lines · Greg KH
Quoted 10 lines · Amit Kumar
Hi,
For last several days when I build arm64/defconfig even against next-20170125, I
get the following error.arch/arm64/crypto/crc32-arm64.c:1:0: error: unknown feature modifier ?crc?
/*
^
make[1]: *** [arch/arm64/crypto/crc32-arm64.o] Error 1
make: *** [arch/arm64/crypto] Error 2
Quoted 2 lines
Have you tried asking on the linux arm mailing list?
Thank you for your reply.
I'm a newbie and not competent enough to sort out this problem, so I have
sent mail to kernelnewbies to bring this issue to the Linux Kernel
Community. I think that mailing list is more suitable if I were able create
a patch. I am learning kernel development and very soon I'll start
contributing to Linux Kernel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170129/aee00bd9/attachment.html
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170129/aab01efc/attachment.html
Quoted 56 lines · Ozgur Karatas
29.01.2017, 10:05, "Amit Kumar" <[email protected]>:
On Thu, Jan 26, 2017 at 12:31 PM Greg KH <[email protected]> wrote:
Quoted 10 lines · Amit Kumar
Hi,
For last several days when I build arm64/defconfig even against next-20170125, I
get the following error.arch/arm64/crypto/crc32-arm64.c:1:0: error: unknown feature modifier ?crc?
/*
^
make[1]: *** [arch/arm64/crypto/crc32-arm64.o] Error 1
make: *** [arch/arm64/crypto] Error 2Have you tried asking on the linux arm mailing list?
Thank you for your reply.
I'm a newbie and not competent enough to sort out this problem, so I have sent mail to kernelnewbies to bring this issue to the Linux Kernel Community. I think that mailing list is more suitable if I were able create a patch. I am learning kernel development and very soon I'll start contributing to Linux KernelHello,
you are welcome firstly and of course you will contribute to the development and thanks. Please find and understand to how to debug C code? What happens when a kernel module fails? How to fix to compilation errors?
The error in the example is obvious, should be examine to
crc32-arm64.ccode, The kernel can't initialize to crc32-arm64.o module and it may be a feature errors.Please review
crc32-arm64.c
checkpatch.pl check tocrc32-arm64.crun make:
$ make M=arch/arm64/crypto/ LD arch/arm64/crypto//built-in.o Building modules, stage 2. MODPOST 0 modulesModule created! Good!
Check module,
Quoted 10 lines
$ make arch/arm64/crypto/crc32-arm64.o CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CC arch/arm64/crypto/crc32-arm64.o
Thank you for your reply. I think these steps will be helpful in debugging in future.
Quoted 6 lines
Regards,
~Ozgur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170129/1ba35230/attachment.html