ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] libc on i586: WTF?
@ 2010-10-16  4:26 REAL
  2010-10-16 11:18 ` Dmitry V. Levin
  2010-10-16 11:40 ` Sergey Vlasov
  0 siblings, 2 replies; 8+ messages in thread
From: REAL @ 2010-10-16  4:26 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Привет!

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

$ 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 Евгений Ростовцев, программист ЦНИТ КемГУ


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

end of thread, other threads:[~2010-10-18  8:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-16  4:26 [devel] libc on i586: WTF? REAL
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

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