From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4FB90509.8080001@altlinux.org> Date: Sun, 20 May 2012 18:51:53 +0400 From: Gleb Fotengauer-Malinovskiy Organization: ALT Linux User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120426 Thunderbird/10.0.3 MIME-Version: 1.0 To: ALT Linux Team development discussions References: <20120519130609.D366A4406132@ssh.git.altlinux.org> <4FB8D529.50205@kemsu.ru> In-Reply-To: <4FB8D529.50205@kemsu.ru> Content-Type: multipart/mixed; boundary="------------090405090000020308060009" Subject: Re: [devel] Fwd: scotch-5.1.12b-alt1.svn20110910: Sisyphus/x86_64 test rebuild failed X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2012 14:51:53 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------090405090000020308060009 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit 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 > Отвечать: 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 > --------------090405090000020308060009 Content-Type: text/x-patch; name="0001-fix-DSO-linking.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-fix-DSO-linking.patch" >>From 9cc1540d66a0efd892322c0fd28117f8ecdddf89 Mon Sep 17 00:00:00 2001 From: Gleb F-Malinovskiy 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 --------------090405090000020308060009--