Hi,have you solved the question? I have encountered the same issue. The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: aarch64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 CC [M] /home/roy-zhuang/igh/ethercat/examples/mini/mini.o aarch64-linux-gnu-gcc-12: error: unrecognized command-line option ‘-mrecord-mcount’
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2043384 Title: Kernel module cross-compile: unrecognized command-line option ‘-mrecord-mcount’ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-12-cross/+bug/2043384/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
