ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] etherboot-5.4.2-alt0.2: rebuild failed
Date: Sat, 14 Oct 2006 22:10:11 +0300
Message-ID: <20061014191009.GC9758@osdn.org.ua> (raw)
In-Reply-To: <20061012111722.GA2814@basalt.office.altlinux.org>

On Thu, Oct 12, 2006 at 03:17:22PM +0400, Dmitry V. Levin wrote:
> > > ld  -N -r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a  -o bin/undi.rt.o
> > > bin/undi.rt.o: In function `vsprintf':
> > > vsprintf.c:(.text+0x5f9e): undefined reference to `__stack_chk_fail'
> > > make: *** [bin/undi.dsk.rt] Error 1
> > О, ещё один.
> Линкуются как попало (без помощи gcc), а потом удивляются...

Гм.  Кто-нить просветит, как тогда линковаться с помощью gcc?
Почитав (чуточку, чтоб не стать вдруг гуру в сишной сборке :)
info ld invocation options, нарисовал такое и тоже обломался:

[builder@hasher32 src]$ gcc -Wl,-N -Wl,-r bin/start32.o bin/linuxbios.o bin/bios.o bin/console.o bin/memsizes.o bin/basemem.o bin/hidemem.o bin/e820mangler.o bin/realmode.o bin/realmode_asm.o bin/callbacks.o bin/pxe_callbacks.o bin/config.o bin/undi.o bin/bootlib.a  -o bin/undi.rt.o
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

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


  parent reply	other threads:[~2006-10-14 19:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12  9:52 ` Michael Shigorin
2006-10-12 11:17   ` Dmitry V. Levin
2006-10-12 20:18     ` [devel] etherboot-5.4.2-alt0.2: rebuild failed + grub2 Hihin Ruslan
2006-10-14 19:10     ` Michael Shigorin [this message]
2006-10-14 19:13       ` [devel] etherboot-5.4.2-alt0.2: rebuild failed Dmitry V. Levin
2006-10-14 19:28         ` Michael Shigorin
2006-10-14 19:39           ` Dmitry V. Levin

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=20061014191009.GC9758@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --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