ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] memtest86-3.2-alt2: rebuild failed
Date: Thu, 12 Oct 2006 13:58:04 +0400
Message-ID: <679044850610120258q1a7c5fe5u286738c2e3d6f8bf@mail.gmail.com> (raw)
In-Reply-To: <20061012095113.GY11686@osdn.org.ua>

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

  reply	other threads:[~2006-10-12  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12  9:51   ` Michael Shigorin
2006-10-12  9:58     ` Damir Shayhutdinov [this message]
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

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=679044850610120258q1a7c5fe5u286738c2e3d6f8bf@mail.gmail.com \
    --to=damir@altlinux.org \
    --cc=devel@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 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