ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
  @ 2012-05-20 11:27 ` REAL
  2012-05-20 14:51   ` Gleb Fotengauer-Malinovskiy
  0 siblings, 1 reply; 6+ messages in thread
From: REAL @ 2012-05-20 11:27 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

привет!

а что это такое сломало так много пакетов? верните, как было, 
пожалуйста. например:

-------- Исходное сообщение --------
Тема: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
Дата: Sat, 19 May 2012 17:06:09 +0400 (MSK)
От: ALT beekeeper <hiver@altlinux.org>
Отвечать: devel@lists.altlinux.org
Кому: real@altlinux.org,qa@packages.altlinux.org
Копия: hiver@altlinux.org

Package: scotch-5.1.12b-alt1.svn20110910
[...]
gcc -g -g -pipe -O3 -Wall -fPIC -DPIC -Drestrict=__restrict 
-DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED 
-DSCOTCH_PTHREAD -DSCOTCH_RENAME -fno-strict-aliasing -I../libscotch 
-I../../include gout_c.c gout_o.c -o gout -L../../lib -lscotch 
-lscotcherrexit -lz -lm -lrt
/usr/bin/ld: ../../lib/libscotch.a(common_file_compress.o): undefined 
reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO 
/lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation



[-- Attachment #2: Часть вложенного сообщения --]
[-- Type: text/plain, Size: 0 bytes --]



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

* Re: [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
  2012-05-20 11:27 ` [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed REAL
@ 2012-05-20 14:51   ` Gleb Fotengauer-Malinovskiy
  2012-05-20 15:08     ` REAL
  2012-05-20 17:46     ` led
  0 siblings, 2 replies; 6+ messages in thread
From: Gleb Fotengauer-Malinovskiy @ 2012-05-20 14:51 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

20.05.2012 15:27, REAL пишет:
> привет!
>
> а что это такое сломало так много пакетов? верните, как было, 
> пожалуйста. например:
>
Привет!

Не знаю, на сколько полезно для нас это изменение, но отсюда понятно, 
для чего это всё: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

А scotch чинится довольно просто (патч в аттаче). Возможно, полезнее их 
всех починить, а не вернуть как было, не так уж их много.
Собственно scotch и compiz починились очень быстро.

> -------- Исходное сообщение --------
> Тема: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild 
> failed
> Дата: Sat, 19 May 2012 17:06:09 +0400 (MSK)
> От: ALT beekeeper <hiver@altlinux.org>
> Отвечать: devel@lists.altlinux.org
> Кому: real@altlinux.org,qa@packages.altlinux.org
> Копия: hiver@altlinux.org
>
> Package: scotch-5.1.12b-alt1.svn20110910
> [...]
> gcc -g -g -pipe -O3 -Wall -fPIC -DPIC -Drestrict=__restrict 
> -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED 
> -DSCOTCH_PTHREAD -DSCOTCH_RENAME -fno-strict-aliasing -I../libscotch 
> -I../../include gout_c.c gout_o.c -o gout -L../../lib -lscotch 
> -lscotcherrexit -lz -lm -lrt
> /usr/bin/ld: ../../lib/libscotch.a(common_file_compress.o): undefined 
> reference to symbol 'pthread_create@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO 
> /lib64/libpthread.so.0 so try adding it to the linker command line
> /lib64/libpthread.so.0: could not read symbols: Invalid operation
>

[-- Attachment #2: 0001-fix-DSO-linking.patch --]
[-- Type: text/x-patch, Size: 1425 bytes --]

>From 9cc1540d66a0efd892322c0fd28117f8ecdddf89 Mon Sep 17 00:00:00 2001
From: Gleb F-Malinovskiy <glebfm@altlinux.org>
Date: Sun, 20 May 2012 18:35:50 +0400
Subject: [PATCH] fix DSO linking

---
 scotch_5.1/src/scotch/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scotch_5.1/src/scotch/Makefile b/scotch_5.1/src/scotch/Makefile
index 41a56a1..7030a85 100644
--- a/scotch_5.1/src/scotch/Makefile
+++ b/scotch_5.1/src/scotch/Makefile
@@ -315,7 +315,7 @@ gout$(EXE)			:	gout_c.c				\
 					gout_o.c				\
 					$(includedir)/scotch.h			\
 					$(libdir)/libscotch$(LIB)
-					$(CC) $(CFLAGS) -I../libscotch -I$(includedir) gout_c.c gout_o.c -o $(@) -L$(libdir) -lscotch -lscotcherrexit $(LDFLAGS)
+					$(CC) $(CFLAGS) -I../libscotch -I$(includedir) gout_c.c gout_o.c -o $(@) -L$(libdir) -lscotch -lscotcherrexit -lpthread $(LDFLAGS)
 
 gpart$(EXE)			:	gmap.c					\
 					../libscotch/module.h			\
@@ -324,7 +324,7 @@ gpart$(EXE)			:	gmap.c					\
 					$(libdir)/libscotch$(LIB)		\
 					$(libdir)/libscotcherrexit$(LIB)	\
 					gmap.h
-			 		$(CC) $(CFLAGS) -I$(includedir) -I../libscotch $(<) -DSCOTCH_COMPILE_PART -o $(@) -L$(libdir) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit $(LDFLAGS)
+					$(CC) $(CFLAGS) -I$(includedir) -I../libscotch $(<) -DSCOTCH_COMPILE_PART -o $(@) -L$(libdir) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit -lpthread $(LDFLAGS)
 
 
 gscat$(EXE)			:	gscat.c					\
-- 
1.7.9.6


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

* Re: [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
  2012-05-20 14:51   ` Gleb Fotengauer-Malinovskiy
@ 2012-05-20 15:08     ` REAL
  2012-05-20 20:07       ` Dmitry V. Levin
  2012-05-20 17:46     ` led
  1 sibling, 1 reply; 6+ messages in thread
From: REAL @ 2012-05-20 15:08 UTC (permalink / raw)
  To: ALT Linux Team development discussions

20.05.2012 21:51, Gleb Fotengauer-Malinovskiy пишет:
> А scotch чинится довольно просто (патч в аттаче). Возможно, полезнее
> их всех починить, а не вернуть как было, не так уж их много.

за патч спасибо, но всё-таки я не уверен в полезности таких нововведений.

-- 

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



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

* Re: [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
  2012-05-20 14:51   ` Gleb Fotengauer-Malinovskiy
  2012-05-20 15:08     ` REAL
@ 2012-05-20 17:46     ` led
  2012-05-20 20:09       ` Dmitry V. Levin
  1 sibling, 1 reply; 6+ messages in thread
From: led @ 2012-05-20 17:46 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sunday 20 May 2012 17:51:53 Gleb Fotengauer-Malinovskiy wrote:
> 20.05.2012 15:27, REAL пишет:
> > привет!
> >
> > а что это такое сломало так много пакетов? верните, как было,
> > пожалуйста. например:
>
> Привет!
>
> Не знаю, на сколько полезно для нас это изменение, но отсюда понятно,
> для чего это всё: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
>
> А scotch чинится довольно просто (патч в аттаче). Возможно, полезнее их
> всех починить, а не вернуть как было, не так уж их много.

363 NEW error logs

Дествительно, "не так уж много":)

-- 
Led

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

* Re: [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
  2012-05-20 15:08     ` REAL
@ 2012-05-20 20:07       ` Dmitry V. Levin
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2012-05-20 20:07 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Sun, May 20, 2012 at 10:08:56PM +0700, REAL wrote:
> 20.05.2012 21:51, Gleb Fotengauer-Malinovskiy пишет:
> >А scotch чинится довольно просто (патч в 
> >аттаче). Возможно, полезнее
> >их всех починить, а не вернуть как было, 
> >не так уж их много.
> 
> за патч спасибо, но всё-таки я не уверен в 
> полезности таких нововведений.

Эта тема обсуждалась 2 года назад.  Изменение умолчания было неизбежным,
вопрос был только в том, когда это произойдет.  После того, как апстримный
ld поменял поведение, откладывать это изменение в Сизифе дальше выглядит
нецелесообразным.


-- 
ldv

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

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

* Re: [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed
  2012-05-20 17:46     ` led
@ 2012-05-20 20:09       ` Dmitry V. Levin
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2012-05-20 20:09 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Sun, May 20, 2012 at 08:46:51PM +0300, led@altlinux.ru wrote:
> On Sunday 20 May 2012 17:51:53 Gleb Fotengauer-Malinovskiy wrote:
> > 20.05.2012 15:27, REAL пишет:
> > > привет!
> > >
> > > а что это такое сломало так много пакетов? верните, как было,
> > > пожалуйста. например:
> >
> > Привет!
> >
> > Не знаю, на сколько полезно для нас это изменение, но отсюда понятно,
> > для чего это всё: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
> >
> > А scotch чинится довольно просто (патч в аттаче). Возможно, полезнее их
> > всех починить, а не вернуть как было, не так уж их много.
> 
> 363 NEW error logs

Из них большая часть (около 354) из-за ld --no-copy-dt-needed-entries.

> Дествительно, "не так уж много":)

Это много, но я надеюсь, что мы справимся.


-- 
ldv

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

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

end of thread, other threads:[~2012-05-20 20:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-20 11:27 ` [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed REAL
2012-05-20 14:51   ` Gleb Fotengauer-Malinovskiy
2012-05-20 15:08     ` REAL
2012-05-20 20:07       ` Dmitry V. Levin
2012-05-20 17:46     ` led
2012-05-20 20:09       ` Dmitry V. Levin

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