ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] memtest86-3.2-alt2: rebuild failed
  @ 2006-10-12  9:51   ` Michael Shigorin
  2006-10-12  9:58     ` Damir Shayhutdinov
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Shigorin @ 2006-10-12  9:51 UTC (permalink / raw)
  To: devel

On Thu, Oct 12, 2006 at 01:35:55PM +0400, QA Team Robot wrote:
> Package: memtest86-3.2-alt2
> Packager: Michael Shigorin <mike@altlinux>
...
> gcc -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC extra.c
> ld --warn-constructors --warn-common -static -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o && \
> 	ld -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o
> lib.o: In function `.L152':
> lib.c:(.text+0x916): undefined reference to `__stack_chk_fail_local'
> make: *** [memtest_shared] Error 1
> make: Leaving directory `/usr/src/RPM/BUILD/memtest86-3.2'

On Thu, Oct 12, 2006 at 01:35:54PM +0400, QA Team Robot wrote:
> Package: memtest86+-1.65-alt2
> Packager: Serge Pavlovsky <pal@altlinux>
...
> ld --warn-constructors --warn-common -static -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o extra.o random.o  && \
> 	ld -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o extra.o random.o 
> lib.o: In function `.L162':
> lib.c:(.text+0x98a): undefined reference to `__stack_chk_fail_local'
> make: *** [memtest_shared] Error 1
> make: Leaving directory `/usr/src/RPM/BUILD/memtest86+-1.65'

Похоже, чинится это одинаково.  Как?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [devel] memtest86-3.2-alt2: rebuild failed
  2006-10-12  9:51   ` [devel] memtest86-3.2-alt2: rebuild failed Michael Shigorin
@ 2006-10-12  9:58     ` Damir Shayhutdinov
  2006-10-12 10:00       ` Damir Shayhutdinov
  2006-10-13  4:25       ` [devel] memtest86-3.2-alt2: rebuild failed Ildar Mulyukov
  0 siblings, 2 replies; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-12  9:58 UTC (permalink / raw)
  To: ALT Devel discussion list

12.10.06, Michael Shigorin<mike@> написал(а):
> On Thu, Oct 12, 2006 at 01:35:55PM +0400, QA Team Robot wrote:
> > Package: memtest86-3.2-alt2
> > Packager: Michael Shigorin <mike@altlinux>
> ...
> > gcc -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC extra.c
> > ld --warn-constructors --warn-common -static -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o && \
> >       ld -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o
> > lib.o: In function `.L152':
> > lib.c:(.text+0x916): undefined reference to `__stack_chk_fail_local'
> > make: *** [memtest_shared] Error 1
> > make: Leaving directory `/usr/src/RPM/BUILD/memtest86-3.2'
>
> On Thu, Oct 12, 2006 at 01:35:54PM +0400, QA Team Robot wrote:
> > Package: memtest86+-1.65-alt2
> > Packager: Serge Pavlovsky <pal@altlinux>
> ...
> > ld --warn-constructors --warn-common -static -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o extra.o random.o  && \
> >       ld -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o extra.o random.o
> > lib.o: In function `.L162':
> > lib.c:(.text+0x98a): undefined reference to `__stack_chk_fail_local'
> > make: *** [memtest_shared] Error 1
> > make: Leaving directory `/usr/src/RPM/BUILD/memtest86+-1.65'
>
> Похоже, чинится это одинаково.  Как?

Похоже надо либо линковать через gcc (там включается
-fstack-protector), либо к строчке линковки через ld добавить -lssp

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

* Re: [devel] memtest86-3.2-alt2: rebuild failed
  2006-10-12  9:58     ` Damir Shayhutdinov
@ 2006-10-12 10:00       ` Damir Shayhutdinov
  2006-10-12 10:20         ` Konstantin A. Lepikhov
  2006-10-14 18:35         ` [devel] memtest86-3.2-alt2: rebuild fixed Michael Shigorin
  2006-10-13  4:25       ` [devel] memtest86-3.2-alt2: rebuild failed Ildar Mulyukov
  1 sibling, 2 replies; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-12 10:00 UTC (permalink / raw)
  To: ALT Devel discussion list

> Похоже надо либо линковать через gcc (там включается
> -fstack-protector), либо к строчке линковки через ld добавить -lssp
Либо отключать -fstack-protector (-fno-stack-protector в %optflags)

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

* Re: [devel] memtest86-3.2-alt2: rebuild failed
  2006-10-12 10:00       ` Damir Shayhutdinov
@ 2006-10-12 10:20         ` Konstantin A. Lepikhov
  2006-10-14 18:35         ` [devel] memtest86-3.2-alt2: rebuild fixed Michael Shigorin
  1 sibling, 0 replies; 6+ messages in thread
From: Konstantin A. Lepikhov @ 2006-10-12 10:20 UTC (permalink / raw)
  To: ALT Devel discussion list

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

Hi Damir!

Thursday 12, at 02:00:01 PM you wrote:

> > Похоже надо либо линковать через gcc (там включается
> > -fstack-protector), либо к строчке линковки через ld добавить -lssp
> Либо отключать -fstack-protector (-fno-stack-protector в %optflags)
кстати, ядра надо фиксить, точнее фиксить -fix-build.

-- 
WBR et al.

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

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

* Re: [devel] memtest86-3.2-alt2: rebuild failed
  2006-10-12  9:58     ` Damir Shayhutdinov
  2006-10-12 10:00       ` Damir Shayhutdinov
@ 2006-10-13  4:25       ` Ildar Mulyukov
  1 sibling, 0 replies; 6+ messages in thread
From: Ildar Mulyukov @ 2006-10-13  4:25 UTC (permalink / raw)
  To: devel

On 12.10.2006 15:58:04, Damir Shayhutdinov wrote:
> > Похоже, чинится это одинаково.  Как?
> 
> Похоже надо либо линковать через gcc (там включается
> -fstack-protector), либо к строчке линковки через ld добавить -lssp

ИМХО таким пакетам, как memtest, и некоторым другим никакие protector-ы  
в принципе не нужны. Поотключать их - и делов-то...
Ильдар
--
Ildar  Mulyukov,
   free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================


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

* Re: [devel] memtest86-3.2-alt2: rebuild fixed
  2006-10-12 10:00       ` Damir Shayhutdinov
  2006-10-12 10:20         ` Konstantin A. Lepikhov
@ 2006-10-14 18:35         ` Michael Shigorin
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2006-10-14 18:35 UTC (permalink / raw)
  To: ALT Devel discussion list

On Thu, Oct 12, 2006 at 02:00:01PM +0400, Damir Shayhutdinov wrote:
> > Похоже надо либо линковать через gcc (там включается
> > -fstack-protector), либо к строчке линковки через ld добавить -lssp
> Либо отключать -fstack-protector (-fno-stack-protector в %optflags)

Точнее, в Makefile, а вообще спасибо -- fxed.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2006-10-14 18:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12  9:51   ` [devel] memtest86-3.2-alt2: rebuild failed Michael Shigorin
2006-10-12  9:58     ` Damir Shayhutdinov
2006-10-12 10:00       ` Damir Shayhutdinov
2006-10-12 10:20         ` Konstantin A. Lepikhov
2006-10-14 18:35         ` [devel] memtest86-3.2-alt2: rebuild fixed Michael Shigorin
2006-10-13  4:25       ` [devel] memtest86-3.2-alt2: rebuild failed Ildar Mulyukov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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