* [gentoo-soc] Fwd: [GSoC 2017 - week 01] Report summary
[not found] <CANWzcUrReZhOwG19Xm5Q7HUR4QzQCcLJtHyJ8iDeZ1GmQswZow@mail.gmail.com>
@ 2017-06-12 19:26 ` Alice Ferrazzi
0 siblings, 0 replies; only message in thread
From: Alice Ferrazzi @ 2017-06-12 19:26 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 2809 bytes --]
---------- Forwarded message ----------
From: Alice Ferrazzi <alice.ferrazzi@gmail.com>
Date: Sun, Jun 4, 2017 at 10:20 AM
Subject: [GSoC 2017 - week 01] Report summary
To: gentoo-soc@lists.gentoo.org
Cc: Mike Pagano <mpagano@gentoo.org>, Gokturk Yuksek <gokturk@gentoo.org>
day 01:
I made the git repository on github and committed the first draft of kpatch.
I will go on working on it in the next days. and starting to think the
design of service.
https://github.com/aliceinwire/kernel-live-patch
I got into this kpatch problem: https://github.com/dynup/kpatch/issues/675
day 02:
I could fix the problem of the kpatch issue https://github.com/dynup/
kpatch/issues/675 .
Unfortunately as now, i could fix it only with a workaround.
The workaround is forcing -O1 in src_prepare with replace-flags -O? -O1
But now I'm in a new make problem.
------------------------
make[2]: Entering directory '/var/tmp/portage/sys-kernel/
kpatch-0.4.0/work/kpatch-0.4.0/kmod/core'
make -C /lib/modules/4.4.44-gentoo/build M=/var/tmp/portage/sys-kernel/
kpatch-0.4.0/work/kpatch-0.4.0/kmod/core kpatch.ko
make[3]: Entering directory '/usr/src/linux-4.4.44-gentoo'
Makefile:617: arch/amd64/Makefile: No such file or directory
make[3]: *** No rule to make target 'arch/amd64/Makefile'. Stop.
make[3]: Leaving directory '/usr/src/linux-4.4.44-gentoo'
Makefile:13: recipe for target 'kpatch.ko' failed
make[2]: *** [kpatch.ko] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-kernel/
kpatch-0.4.0/work/kpatch-0.4.0/kmod/core'
Makefile:7: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-kernel/
kpatch-0.4.0/work/kpatch-0.4.0/kmod'
Makefile:14: recipe for target 'build-kmod' failed
make: *** [build-kmod] Error 2
---------------------------------
I will go on fixing this tomorrow
I commited the first kpatch version here https://github.com/
aliceinwire/kernel-live-patch
and updated the kpatch bug https://github.com/dynup/kpatch/issues/675
day 03:
Fixed the problem of the other day. The kpatch Makefile is calling
the /usr/src/linux/ Makefile and because is presetting arch=amd64
it fail to build the package.
I have unset it before making the package so it can build the package
without errors.
I had sended a pull request for review (please review it):
https://github.com/gentoo/gentoo/pull/4844
--
アリス フェッラッツィ
Alice Ferrazzi
Gentoo Kernel Project Leader
Mail: Alice Ferrazzi <alice.ferrazzi@gmail.com>
PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A
--
アリス フェッラッツィ
Alice Ferrazzi
Gentoo Kernel Project Leader
Mail: Alice Ferrazzi <alicef@gentoo.org>
PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A
[-- Attachment #2: Type: text/html, Size: 7634 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-12 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CANWzcUrReZhOwG19Xm5Q7HUR4QzQCcLJtHyJ8iDeZ1GmQswZow@mail.gmail.com>
2017-06-12 19:26 ` [gentoo-soc] Fwd: [GSoC 2017 - week 01] Report summary Alice Ferrazzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox