ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] сборка ядра
@ 2001-08-06 21:41 Sergey S. Skulachenko
  2001-08-07  6:59 ` [sisyphus] " Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey S. Skulachenko @ 2001-08-06 21:41 UTC (permalink / raw)
  To: Sisyphus

При сборке ядра 2.4.7 для платформы k6 происходит такая
остановка:

/usr/bin/kgcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include
-pipe -Wall -O2 -fexpensive-optimizations -march=k6 -mcpu=athlon
-fomit-frame-pointer -malign-loops=2 -malign-jumps=2
-malign-functions=2 -mpreferred-stack-boundary=2
-Wstrict-prototypes -fno-strict-aliasing  -c -o init/main.o
init/main.c
cc1: bad value (athlon) for -mcpu= switch
make: *** [init/main.o] Error 1
Неверный код возврата из /var/tmp/rpm-tmp.71907 (%build)

Как протолкнуть дальше?
--
С уважением,
С.С.Скулаченко



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [sisyphus] Re: [sisyphus] сборка ядра
  2001-08-06 21:41 [sisyphus] сборка ядра Sergey S. Skulachenko
@ 2001-08-07  6:59 ` Dmitry V. Levin
  2001-08-07 20:09   ` Sergey S. Skulachenko
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2001-08-07  6:59 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

On Tue, Aug 07, 2001 at 01:41:37AM +0400, Sergey S. Skulachenko wrote:
> При сборке ядра 2.4.7 для платформы k6 происходит такая
> остановка:
> 
> /usr/bin/kgcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include
> -pipe -Wall -O2 -fexpensive-optimizations -march=k6 -mcpu=athlon
> -fomit-frame-pointer -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -mpreferred-stack-boundary=2
> -Wstrict-prototypes -fno-strict-aliasing  -c -o init/main.o
> init/main.c
> cc1: bad value (athlon) for -mcpu= switch
> make: *** [init/main.o] Error 1
> Неверный код возврата из /var/tmp/rpm-tmp.71907 (%build)
> 
> Как протолкнуть дальше?

Компилятор kgcc не умеет собирать для -mcpu=athlon.
Возможные варианты:
+ собирать компилятором gcc (для ядер 2.4.x это, в принципе, возможно);
+ собирать для другой архитектуры.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [sisyphus] Re: [sisyphus] сборка ядра
  2001-08-07  6:59 ` [sisyphus] " Dmitry V. Levin
@ 2001-08-07 20:09   ` Sergey S. Skulachenko
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey S. Skulachenko @ 2001-08-07 20:09 UTC (permalink / raw)
  To: sisyphus

On Tue, 7 Aug 2001 10:59:57 +0400
"Dmitry V. Levin" <ldv@alt-linux.org> wrote:

> Компилятор kgcc не умеет собирать для -mcpu=athlon. Возможные
> варианты: + собирать компилятором gcc (для ядер 2.4.x это, в
> принципе, возможно);

Удалось. Спасибо.
--
С уважением,
С.С.Скулаченко



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-07 20:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-06 21:41 [sisyphus] сборка ядра Sergey S. Skulachenko
2001-08-07  6:59 ` [sisyphus] " Dmitry V. Levin
2001-08-07 20:09   ` Sergey S. Skulachenko

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git