ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: REAL <root@mmedia2.kemsu.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] libc on i586: WTF?
Date: Sat, 16 Oct 2010 12:26:18 +0800
Message-ID: <4CB9296A.2000406@mmedia2.kemsu.ru> (raw)

Привет!

Что-то загадочное произошло на вчерашнем срезе сизифа (может быть и 
раньше так было, только не замечал):

$ gfortran -O2 -c ilaenv.f
$ nm ilaenv.o|grep stack_chk_fail
                  U __stack_chk_fail

НО:
$ gfortran -fPIC -O2 -c ilaenv.f
$ nm ilaenv.o|grep stack_chk_fail
                  U __stack_chk_fail_local

Проявляется на i586, на x86_64 всё в порядке.

Символ __stack_chk_fail_local присутствует только в libc.a, не в libc.so:

$ nm /usr/lib/libc.a|grep stack_chk_fail
stack_chk_fail.o:
0000000000000000 T __stack_chk_fail
stack_chk_fail_local.o:
                  U __stack_chk_fail
0000000000000000 T __stack_chk_fail_local

$ nm -D /lib/libc.so.6|grep stack_chk_fail
00000000000e09a0 T __stack_chk_fail

Как дальше жидь?

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ


             reply	other threads:[~2010-10-16  4:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16  4:26 REAL [this message]
2010-10-16 11:18 ` Dmitry V. Levin
2010-10-18  3:32   ` REAL
2010-10-18  8:19     ` Dmitry V. Levin
2010-10-16 11:40 ` Sergey Vlasov
2010-10-18  3:37   ` REAL
2010-10-18  8:20     ` Dmitry V. Levin
2010-10-18  7:33       ` REAL

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=4CB9296A.2000406@mmedia2.kemsu.ru \
    --to=root@mmedia2.kemsu.ru \
    --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