Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed compile 6.6.y compile #139

Open
AiraYumi opened this issue Jul 14, 2024 · 1 comment
Open

failed compile 6.6.y compile #139

AiraYumi opened this issue Jul 14, 2024 · 1 comment

Comments

@AiraYumi
Copy link

Compilation errors with gcc 11

  CALL    scripts/checksyscalls.sh
  CC      drivers/devfreq/devfreq.o
  CC      drivers/rpmsg/rpmsg_core.o
  CC      drivers/iio/industrialio-core.o
  CC      drivers/perf/riscv_pmu.o
make[7]: *** .NOTINTERMEDIATE and .SECONDARY are mutually exclusive.  Stop.
make[6]: *** [scripts/Makefile.build:480: drivers/gpu/drm/img/img-rogue] error 2
make[5]: *** [scripts/Makefile.build:480: drivers/gpu/drm/img] error 2
@Auk7F7
Copy link

Auk7F7 commented Aug 11, 2024

make[7]: *** .NOTINTERMEDIATE and .SECONDARY are mutually exclusive. Stop.

I encountered the same issue, and I'm using gcc 12. I found a solution to this problem on Rvspace:

Comment out the last few lines in /usr/src/linux/scripts/Kbuild.include
to disable the .NOTINTERMEDIATE and .SECONDARY

Relevant discussion on RVspace: http://forum.rvspace.org/t/experimental-gentoo-image/1807/99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants