1 |
---------- Forwarded message ---------- |
2 |
From: Alice Ferrazzi <alice.ferrazzi@×××××.com> |
3 |
Date: Sun, Jun 4, 2017 at 10:20 AM |
4 |
Subject: [GSoC 2017 - week 01] Report summary |
5 |
To: gentoo-soc@l.g.o |
6 |
Cc: Mike Pagano <mpagano@g.o>, Gokturk Yuksek <gokturk@g.o> |
7 |
|
8 |
|
9 |
day 01: |
10 |
|
11 |
I made the git repository on github and committed the first draft of kpatch. |
12 |
I will go on working on it in the next days. and starting to think the |
13 |
design of service. |
14 |
https://github.com/aliceinwire/kernel-live-patch |
15 |
I got into this kpatch problem: https://github.com/dynup/kpatch/issues/675 |
16 |
|
17 |
|
18 |
day 02: |
19 |
|
20 |
I could fix the problem of the kpatch issue https://github.com/dynup/ |
21 |
kpatch/issues/675 . |
22 |
Unfortunately as now, i could fix it only with a workaround. |
23 |
The workaround is forcing -O1 in src_prepare with replace-flags -O? -O1 |
24 |
But now I'm in a new make problem. |
25 |
------------------------ |
26 |
|
27 |
make[2]: Entering directory '/var/tmp/portage/sys-kernel/ |
28 |
kpatch-0.4.0/work/kpatch-0.4.0/kmod/core' |
29 |
make -C /lib/modules/4.4.44-gentoo/build M=/var/tmp/portage/sys-kernel/ |
30 |
kpatch-0.4.0/work/kpatch-0.4.0/kmod/core kpatch.ko |
31 |
make[3]: Entering directory '/usr/src/linux-4.4.44-gentoo' |
32 |
Makefile:617: arch/amd64/Makefile: No such file or directory |
33 |
make[3]: *** No rule to make target 'arch/amd64/Makefile'. Stop. |
34 |
make[3]: Leaving directory '/usr/src/linux-4.4.44-gentoo' |
35 |
Makefile:13: recipe for target 'kpatch.ko' failed |
36 |
make[2]: *** [kpatch.ko] Error 2 |
37 |
make[2]: Leaving directory '/var/tmp/portage/sys-kernel/ |
38 |
kpatch-0.4.0/work/kpatch-0.4.0/kmod/core' |
39 |
Makefile:7: recipe for target 'all' failed |
40 |
make[1]: *** [all] Error 2 |
41 |
make[1]: Leaving directory '/var/tmp/portage/sys-kernel/ |
42 |
kpatch-0.4.0/work/kpatch-0.4.0/kmod' |
43 |
Makefile:14: recipe for target 'build-kmod' failed |
44 |
make: *** [build-kmod] Error 2 |
45 |
|
46 |
|
47 |
--------------------------------- |
48 |
I will go on fixing this tomorrow |
49 |
|
50 |
I commited the first kpatch version here https://github.com/ |
51 |
aliceinwire/kernel-live-patch |
52 |
and updated the kpatch bug https://github.com/dynup/kpatch/issues/675 |
53 |
|
54 |
|
55 |
day 03: |
56 |
|
57 |
Fixed the problem of the other day. The kpatch Makefile is calling |
58 |
the /usr/src/linux/ Makefile and because is presetting arch=amd64 |
59 |
it fail to build the package. |
60 |
I have unset it before making the package so it can build the package |
61 |
without errors. |
62 |
I had sended a pull request for review (please review it): |
63 |
https://github.com/gentoo/gentoo/pull/4844 |
64 |
|
65 |
|
66 |
-- |
67 |
アリス フェッラッツィ |
68 |
Alice Ferrazzi |
69 |
|
70 |
Gentoo Kernel Project Leader |
71 |
Mail: Alice Ferrazzi <alice.ferrazzi@×××××.com> |
72 |
PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A |
73 |
|
74 |
|
75 |
|
76 |
-- |
77 |
アリス フェッラッツィ |
78 |
Alice Ferrazzi |
79 |
|
80 |
Gentoo Kernel Project Leader |
81 |
Mail: Alice Ferrazzi <alicef@g.o> |
82 |
PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A |