From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] Q: Проблема со сборкой kernel-modules-drbd-xen-domU для i586
Date: Mon, 11 Feb 2008 19:00:17 +0300
Message-ID: <47B07111.2020800@solin.spb.ru> (raw)
In-Reply-To: <20080211144041.GA10320@lks.home>
[-- Attachment #1: Type: text/plain, Size: 2203 bytes --]
Konstantin A. Lepikhov пишет:
> Hi Aleksey!
>
> Monday 11, at 05:04:03 PM you wrote:
>
>> Aleksey Avdeev пишет:
>>> Aleksey Avdeev пишет:
>>>> Sergey Vlasov пишет:
>>>>> On Mon, Feb 11, 2008 at 02:35:06PM +0300, Aleksey Avdeev wrote:
>>>>>> Что-то не получается у меня собрать kernel-modules-drbd-xen-domU для
>>>>>> i586 (для x86_64 -- всё собирается и работает). Проблема в следующем:
>>>>>>
>>>>>> + make CC=gcc-4.1 KDIR=/usr/src/linux-2.6.18-xen-domU/
>>>>>> make: Entering directory `/usr/src/RPM/BUILD/kernel-source-drbd-0.7.22'
>>>>>>
>>>>>> Calling toplevel makefile of kernel source tree, which I believe is in
>>>>>> KDIR=/usr/src/linux-2.6.18-xen-domU/
>>>>>>
>>>>>> test -f ../scripts/adjust_drbd_config_h.sh && \
>>>>>> KDIR=/usr/src/linux-2.6.18-xen-domU/ /bin/sh
>>>>>> ../scripts/adjust_drbd_config_h.sh
>>>>>> make: [kbuild] Error 1 (ignored)
>>>>>> make -C /usr/src/linux-2.6.18-xen-domU/
>>>>>> SUBDIRS=/usr/src/RPM/BUILD/kernel-source-drbd-0.7.22 modules
>>>>>> make[1]: Entering directory `/usr/src/linux-2.6.18-xen-domU-alt4.2'
>>>>>> Makefile:486:
>>>>>> /usr/src/linux-2.6.18-xen-domU-alt4.2/arch/x86_64/Makefile: No such file
>>>>>> ^^^^^^^^^^^
>>>>>> or directory
>>>>> А хост при этом всё-таки x86_64?
>>>> Да.
>>>>
>>>>> Можно попробовать явно передать
>>>>> ARCH=%base_arch (это уже делается, например, в nvidia).
>>>> OK, проверю.
>>> Спасибо, помогло.
>> Обновил шаблон до 0.7.22-alt3.1 (см.
>> <http://git.altlinux.org/people/solo/packages/?p=kernel-modules.git;a=commit;h=8cd0c8e9a96a8ee59bbd96af6871fc893b7aff8c>).
> А у вас это в hasher воспроизводится?
Именно там и поймал (i586 hasher в x86_64 системе).
С правленым шаблоном -- всё нормально:
[solo@vsolo64 kernel-build-scripts]$ ./buildmodules -k xen-domU --hasher
--target=i586
--hsh-options="--apt-config=$HOME/.hsh/apt-sisyphus.i586-local.conf"
--hsh-workdir=/home/solo/hasher.i586 -f drbd
* Kernel: 2.6.18-xen-domU-alt4.2
* Package 1 of 1: kernel-modules-drbd-xen-domU: Ok
Finished: 1 ok, 0 failed, 0 skipped
PS: Могу выслать настройки/логи.
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 544 bytes --]
next prev parent reply other threads:[~2008-02-11 16:00 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 11:35 Aleksey Avdeev
2008-02-11 11:44 ` Konstantin A. Lepikhov
2008-02-11 11:53 ` Sergey Vlasov
2008-02-11 12:26 ` Aleksey Avdeev
2008-02-11 12:43 ` Aleksey Avdeev
2008-02-11 14:04 ` Aleksey Avdeev
2008-02-11 14:40 ` Konstantin A. Lepikhov
2008-02-11 16:00 ` Aleksey Avdeev [this message]
2008-02-11 18:10 ` Konstantin A. Lepikhov
2008-02-11 18:47 ` Aleksey Avdeev
2008-02-11 18:54 ` Konstantin A. Lepikhov
2008-02-11 19:25 ` Aleksey Avdeev
2008-02-11 20:02 ` Михаил Якушин
2008-02-11 20:11 ` Aleksey Avdeev
2008-02-11 20:18 ` Михаил Якушин
2008-02-11 20:23 ` Aleksey Avdeev
2008-02-11 20:03 ` Konstantin A. Lepikhov
2008-02-12 16:05 ` Vitaly Ostanin
2008-02-12 16:07 ` Михаил Якушин
2008-02-12 17:19 ` [d-kernel] xen kernels (was: Q: Проблема со сборкой kernel-modules-drbd-xen-domU для i586) Vitaly Ostanin
2008-02-12 18:16 ` Sergey Vlasov
2008-02-12 20:28 ` [d-kernel] xen kernels Михаил Якушин
2008-02-12 20:57 ` Konstantin A. Lepikhov
2008-02-12 21:00 ` Михаил Якушин
2008-02-12 21:21 ` Aleksey Avdeev
2008-02-12 23:59 ` Aleksey Avdeev
2008-02-13 7:56 ` Михаил Якушин
2008-02-13 7:58 ` Vitaly Ostanin
2008-02-13 8:00 ` Михаил Якушин
2008-02-13 8:07 ` Vitaly Ostanin
2008-02-13 8:59 ` Aleksey Avdeev
2008-02-12 23:33 ` Konstantin A. Lepikhov
2008-02-13 0:12 ` Aleksey Avdeev
2008-02-13 13:06 ` Vitaly Ostanin
2008-02-13 16:45 ` Vitaly Ostanin
2008-02-13 16:54 ` Aleksey Avdeev
2008-02-13 20:38 ` Михаил Якушин
2008-02-13 21:34 ` Aleksey Avdeev
2008-02-14 4:29 ` Михаил Якушин
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B07111.2020800@solin.spb.ru \
--to=solo@solin.spb.ru \
--cc=devel-kernel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git