You are not logged in.
I have a custom config for Linux-grsec that I use on my laptop.
I've built this kernel many times without issue. Somewhere in the last week of May or so, it stopped building.
Recently, however, it yields the following error:
install: cannot stat 'tools/gcc/*.so': No such file or directory
The PKGBUILD and all related files can be found in my github (the checksums are likely out of date, if you try to build, you'll need to run updpkgsums first.
The github can be found here: https://github.com/osteichthyes/linux-grsec
Has anyone else encountered a similar issue?
I've tried reinstalling make, abs, gcc, gcc-libs, binutils, and all other build related packages.
There is no tools/gcc in the source directory, so this isn't the issue: https://bbs.archlinux.org/viewtopic.php?id=193381
Offline
I now tried using the PKGBUILD used to build the linux-grsec package, this is maintained by nning. His github is here: https://github.com/nning/linux-grsec
The build failed with the same error.
Offline
Did you disable building the gcc plugin? I know nothing about this package, but this is the lines causing your issue:
# add vmlinux and gcc plugins
install -Dm644 vmlinux "$pkgdir/usr/src/linux-$_kernver/vmlinux"
mkdir -p "$pkgdir/usr/src/linux-$_kernver/tools/gcc"
install -m644 tools/gcc/*.so "$pkgdir/usr/src/linux-$_kernver/tools/gcc/"
Offline
I did not disable building the GCC plugin.
I figured that was the source of the error. I've honestly changed nothing since the last dozen times I've built it.
Is there a reason to disable the gcc plugin?
Offline
It would appear that I did turn them off. I'm not sure how or why I did. I need to try to rebuild. but if so, I'll mark solved.
What a boneheaded mistake!
Offline
I've now double checked, the GCC plugin is turned on in both my build, and one used to build the package on the repo. Neither will build. This isn't an error in my config or my pkgbuild. For some reason, it's not getting the GCC plugins.
Offline
I tried reinstalling gcc, then switched to gcc-multilib and all related packages. Still getting the same error.
I've tried building multiple different kernels, I'm running out of ideas. I can't seem to find any other examples or similar issues anywhere.
Last edited by osteichthyes (2016-06-10 07:12:26)
Offline