ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [Sisyphus-cybertalk] I: Sisyphus-20061012 beehive_status: +266 -260 (385)
  @ 2006-10-12 12:22 ` Sergey Vlasov
  2006-10-12 12:46   ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Vlasov @ 2006-10-12 12:22 UTC (permalink / raw)
  To: devel

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

On Thu, Oct 12, 2006 at 04:08:46PM +0400, QA Team Robot wrote:

> dietlibc-0.30-alt1.1
> 	strip -R .comment -R .note bin-i386/diet-i
> 	bin-i386/diet gcc -pipe -nostdinc -Os -fomit-frame-pointer -falign-functions=1
> 	-falign-jumps=1 -falign-loops=1 -mpreferred-stack-boundary=2 -Wall -Wextra
> 	-Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused
> 	-Wredundant-decls -o bin-i386/elftrunc contrib/elftrunc.c
> 	make: *** [bin-i386/elftrunc] Segmentation fault

Что это было?

> 	make: Leaving directory `/usr/src/RPM/BUILD/dietlibc-0.30'
> 	error: Bad exit status from /usr/src/tmp/rpm-tmp.18947 (%build)
> 	RPM build errors:
> 	Bad exit status from /usr/src/tmp/rpm-tmp.18947 (%build)
> 	23.18user 8.07system 0:30.80elapsed 101%CPU (0avgtext+0avgdata 0maxresident)k
> 	0inputs+0outputs (0major+2609829minor)pagefaults 0swaps
> 	rebuild: rebuild of `dietlibc-0.30-alt1.1.src.rpm' failed.

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

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

* Re: [devel] [Sisyphus-cybertalk] I: Sisyphus-20061012 beehive_status: +266 -260 (385)
  2006-10-12 12:22 ` [devel] [Sisyphus-cybertalk] I: Sisyphus-20061012 beehive_status: +266 -260 (385) Sergey Vlasov
@ 2006-10-12 12:46   ` Dmitry V. Levin
  2006-10-12 14:37     ` Sergey Vlasov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2006-10-12 12:46 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Thu, Oct 12, 2006 at 04:22:46PM +0400, Sergey Vlasov wrote:
> On Thu, Oct 12, 2006 at 04:08:46PM +0400, QA Team Robot wrote:
> 
> > dietlibc-0.30-alt1.1
> > 	strip -R .comment -R .note bin-i386/diet-i
> > 	bin-i386/diet gcc -pipe -nostdinc -Os -fomit-frame-pointer -falign-functions=1
> > 	-falign-jumps=1 -falign-loops=1 -mpreferred-stack-boundary=2 -Wall -Wextra
> > 	-Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused
> > 	-Wredundant-decls -o bin-i386/elftrunc contrib/elftrunc.c
> > 	make: *** [bin-i386/elftrunc] Segmentation fault
> 
> Что это было?

bin-i386/diet падает, не сделав ни одного системного вызова.
Это, скорее всего, результат сочетания -fstack-protector с -nostdlib.


-- 
ldv

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

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

* Re: [devel] [Sisyphus-cybertalk] I: Sisyphus-20061012 beehive_status: +266 -260 (385)
  2006-10-12 12:46   ` Dmitry V. Levin
@ 2006-10-12 14:37     ` Sergey Vlasov
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2006-10-12 14:37 UTC (permalink / raw)
  To: L. A. Kostis; +Cc: ALT Devel discussion list

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

On Thu, Oct 12, 2006 at 04:46:02PM +0400, Dmitry V. Levin wrote:
> On Thu, Oct 12, 2006 at 04:22:46PM +0400, Sergey Vlasov wrote:
> > On Thu, Oct 12, 2006 at 04:08:46PM +0400, QA Team Robot wrote:
> > 
> > > dietlibc-0.30-alt1.1
> > > 	strip -R .comment -R .note bin-i386/diet-i
> > > 	bin-i386/diet gcc -pipe -nostdinc -Os -fomit-frame-pointer -falign-functions=1
> > > 	-falign-jumps=1 -falign-loops=1 -mpreferred-stack-boundary=2 -Wall -Wextra
> > > 	-Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused
> > > 	-Wredundant-decls -o bin-i386/elftrunc contrib/elftrunc.c
> > > 	make: *** [bin-i386/elftrunc] Segmentation fault
> > 
> > Что это было?
> 
> bin-i386/diet падает, не сделав ни одного системного вызова.
> Это, скорее всего, результат сочетания -fstack-protector с -nostdlib.

Похоже на то:

 8049aa6:       65 a1 14 00 00 00       mov    %gs:0x14,%eax

Похоже, придётся собирать dietlibc и всё, что её использует, с
-fno-stack-protector (там внутри якобы заявлена поддержка SSP, но
только в варианте с глобальной переменной __stack_chk_guard).

Или есть способ заставить gcc использовать __stack_chk_guard вместо
TLS?  Я не нашёл такой опции.

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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 12:22 ` [devel] [Sisyphus-cybertalk] I: Sisyphus-20061012 beehive_status: +266 -260 (385) Sergey Vlasov
2006-10-12 12:46   ` Dmitry V. Levin
2006-10-12 14:37     ` Sergey Vlasov

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