From: Aleksey Novodvorsky <aen@logic.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] Re: [mdk-re] Сборка ядра из srpmдля Duron Date: Sun May 20 22:25:01 2001 Message-ID: <3B07D7F7.BB065C87@logic.ru> (raw) In-Reply-To: <20010520034300.71d233a0._troggy_@mtu-net.ru> Pavel Marakhovsky wrote: > On Sat, 19 May 2001 18:32:55 +0400 > Yura Zotov <yznews@hotbox.ru> wrote: > > > On Sat, May 19, 2001 at 05:44:42PM +0400, Pavel Marakhovsky wrote: > > > Привет! > > > > > > Пытаюсь собрать ядро и чего-то не получается. > > > > > > Сначала ругань шла на то что нет конфига для athlon. Свой готовый кофиг я ему переименовал в > > > kernel-2.2.18-athlon-custom.config и kernel-2.2.18-athlon-up.config (на всякий случай:)) и подсунул ему. > > > Дальше он ругался на отсутствие конфига для smp ядра (с чего вдруг?). Потом просто вытащил все > > > из srpm в ~/RPM/SOURCES и изменил в начале spec файла BUILD_CUSTOM на 1, а остальный поставил 0. > > > Он почти собрался, на при окончательно сборке ядра выдал: > > > > > > + echo 'Building the custom kernel' > > > Building the custom kernel > > > + '[' -n '' ']' > > > + NPROCS=0 > > > + '[' -n 0 -a 0 -gt 0 ']' > > > + NPROCS=1 > > > + make -j1 bzImage > > > gcc -pipe -Wall -O2 -fexpensive-optimizations -march=athlon -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 -Wstrict-prototypes -o scripts/split-include scripts/split-include.c > > > scripts/split-include include/linux/autoconf.h include/config > > > /usr/bin/kgcc -D__KERNEL__ -I/home/unatine/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -pipe -Wall -O2 -fexpensive-optimizations -march=athlon -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o init/main.o init/main.c > > > cc1: bad value (athlon) for -march= switch > > > make: *** [init/main.o] Error 1 > > > Неверный код возврата из /var/tmp/rpm-tmp.47247 (%build) > > > > > > Т.е. на сколько я понял, ему не нравится что у меня Duron и он не хочет собираться, Хотя из > > > kernel-sources*.rpm все нормально собирается. > > > > > > > Так и должно быть. gcc-2.95.3 не знает про -march=athlon > > Но если собирать не из srpm то все нормально. И как быть тогда? Дело в том, что при самосборке Вы не указали компиляцию при помощи kgcc, которая указана в spec. Сборка gcc-2.96 (на самом деле -- 3.0pre) не рекомендуется, но по нашим тестам, -- уже работает. Так что можете рискнуть. На ядре 2.4.x Rgrds, AEN >
next prev parent reply other threads:[~2001-05-20 22:25 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-05-19 17:41 [mdk-re] Сборка ядра из srpm для Duron Pavel Marakhovsky 2001-05-19 18:27 ` [mdk-re] " Yura Zotov 2001-05-20 3:45 ` Pavel Marakhovsky 2001-05-20 6:02 ` [mdk-re] " Yura Zotov 2001-05-20 6:52 ` Pavel Marakhovsky 2001-05-20 22:25 ` Aleksey Novodvorsky [this message] 2001-05-21 3:33 ` [mdk-re] Re: [mdk-re] Сборка ядра из srpmдля Duron Pavel Marakhovsky
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=3B07D7F7.BB065C87@logic.ru \ --to=aen@logic.ru \ --cc=mandrake-russian@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git