I do get:
CC /usr/src/linux-4.x/tools/objtool/libstring.o HOSTLLD -shared scripts/gcc-plugins/latent_entropy_plugin.so HOSTCXX -fPIC scripts/gcc-plugins/randomize_layout_plugin.o CC /usr/src/linux-4.x/tools/objtool/str_error_r.o LD /usr/src/linux-4.x/tools/objtool/objtool-in.o HOSTLLD -shared scripts/gcc-plugins/structleak_plugin.so make[2]: execvp: ./sync-check.sh: Permission denied make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1629: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... HOSTLLD -shared scripts/gcc-plugins/randomize_layout_plugin.so t
On Wed, Dec 27, 2017 at 07:52:11PM +0100, Toralf Förster wrote:
I do get:
CC /usr/src/linux-4.x/tools/objtool/libstring.o HOSTLLD -shared scripts/gcc-plugins/latent_entropy_plugin.so HOSTCXX -fPIC scripts/gcc-plugins/randomize_layout_plugin.o CC /usr/src/linux-4.x/tools/objtool/str_error_r.o LD /usr/src/linux-4.x/tools/objtool/objtool-in.o HOSTLLD -shared scripts/gcc-plugins/structleak_plugin.so make[2]: execvp: ./sync-check.sh: Permission denied make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1629: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... HOSTLLD -shared scripts/gcc-plugins/randomize_layout_plugin.so t
Use 'git quiltimport' to import the patches, that should give you an executable that works.
thanks,
greg k-h
On 12/27/2017 08:53 PM, Greg KH wrote:
Use 'git quiltimport' to import the patches, that should give you an executable that works.
Well, I never needed quilt before, so I just made a chmod a+x after applying the content of the patch file to the kernel sources.
On Thu, Dec 28, 2017 at 08:25:32PM +0100, Toralf Förster wrote:
On 12/27/2017 08:53 PM, Greg KH wrote:
Use 'git quiltimport' to import the patches, that should give you an executable that works.
Well, I never needed quilt before, so I just made a chmod a+x after applying the content of the patch file to the kernel sources.
I am saying to use git, not quilt, for the patches. You will only see the permissions error if you only use quilt, right?
thanks,
greg k-h
On Fri, Dec 29, 2017 at 10:51:56AM +0100, Toralf Förster wrote:
On 12/29/2017 10:15 AM, Greg KH wrote:
I am saying to use git, not quilt, for the patches. You will only see the permissions error if you only use quilt, right?
nope, I do just use Git.
And how do you apply the patches? Or are you using the linux-stable-rc kernel tree?
thanks,
greg k-h
On 12/29/2017 05:40 PM, Greg KH wrote:
And how do you apply the patches? Or are you using the linux-stable-rc kernel tree?
thanks,
I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
as common user:
cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
and as root: cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
and this yields into:
LD /usr/src/linux-4.x/tools/objtool/objtool-in.o make[2]: execvp: ./sync-check.sh: Permission denied make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1629: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh
What helped is a :
chmod u+x ./tools/objtool/sync-check.sh
On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf Förster wrote:
On 12/29/2017 05:40 PM, Greg KH wrote:
And how do you apply the patches? Or are you using the linux-stable-rc kernel tree?
thanks,
I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
Which exact repo of "mine" did you use here?
as common user:
cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
There was no 4.14.10 in my repo at the time, so how did this get created?
and as root: cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
and this yields into:
LD /usr/src/linux-4.x/tools/objtool/objtool-in.o make[2]: execvp: ./sync-check.sh: Permission denied make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1629: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh
What helped is a :
chmod u+x ./tools/objtool/sync-check.sh
Odd, oh well, 4.14.10 is now out, hopefully you do not have to do this by hand anymore.
thanks,
greg k-h
On 12/29/2017 06:26 PM, Greg KH wrote:
On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf Förster wrote:
On 12/29/2017 05:40 PM, Greg KH wrote:
And how do you apply the patches? Or are you using the linux-stable-rc kernel tree?
thanks,
I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
Which exact repo of "mine" did you use here?
~/devel/linux $ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [remote "stable"] url = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git fetch = +refs/heads/*:refs/remotes/stable/*
as common user:
cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
There was no 4.14.10 in my repo at the time, so how did this get created?
Sure, I started with 3.x, the command line above is from today few minutes after you pushed out the tag
and as root: cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
and this yields into:
LD /usr/src/linux-4.x/tools/objtool/objtool-in.o make[2]: execvp: ./sync-check.sh: Permission denied make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1629: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh
What helped is a :
chmod u+x ./tools/objtool/sync-check.sh
Odd, oh well, 4.14.10 is now out, hopefully you do not have to do this by hand anymore.
it *happened* with the pushed out version - FFWIW the procedrue abve I do use since 3 years her at my desktop and since over 1 year at my server.
thanks,
greg k-h
On Fri, Dec 29, 2017 at 06:32:26PM +0100, Toralf Förster wrote:
On 12/29/2017 06:26 PM, Greg KH wrote:
On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf Förster wrote:
On 12/29/2017 05:40 PM, Greg KH wrote:
And how do you apply the patches? Or are you using the linux-stable-rc kernel tree?
thanks,
I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
Which exact repo of "mine" did you use here?
~/devel/linux $ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [remote "stable"] url = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git fetch = +refs/heads/*:refs/remotes/stable/*
This did not have the 4.14.10-rc tree in it, but now, yes, that will show up.
as common user:
cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
There was no 4.14.10 in my repo at the time, so how did this get created?
Sure, I started with 3.x, the command line above is from today few minutes after you pushed out the tag
Be careful with 'patch', odds are it is not keeping the permissions that git is telling it to use.
good luck!
greg k-h
linux-stable-mirror@lists.linaro.org