ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] dmalloc-5.4.2-alt1: x86-64 rebuild failed
  @ 2007-01-23 15:28 ` Victor Forsyuk
  2007-01-23 15:47   ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Victor Forsyuk @ 2007-01-23 15:28 UTC (permalink / raw)
  To: devel

On Mon, Jan 22, 2007 at 04:50:25PM +0300, QA Team Robot <qa@altlinux.org> wrote:
> Package: dmalloc-5.4.2-alt1
> Packager: Victor Forsyuk <force@altlinux>
> Build Statistics:
> 	2 time(s) (last time: Thu Oct 24 2002) by Konstantin Volckov <goldhead@altlinux>
> 	1 time(s) (last time: Fri Mar 25 2005) by Victor Forsyuk <force@altlinux>
> Status: x86-64 rebuild failed.
> Please investigate.

[...]

> x86_64-alt-linux-g++ -pipe -Wall -O2 -fPIC  -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1  -I. -I.  -c ./dmallocc.cc \
> 		-o ./dmallocc.o
> ar cr libdmallocthcxx.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk_th.o error_th.o malloc_th.o dmallocc.o
> ranlib libdmallocthcxx.a
> rm -f libdmallocthcxx.so libdmallocthcxx.so.t
> ld -G -o libdmallocthcxx.so.t libdmallocthcxx.a -lstdc++
> ld: cannot find -lstdc++
> make: make: Leaving directory `/usr/src/RPM/BUILD/dmalloc-5.4.2'
> *** [libdmallocthcxx.so] Error 1

Это глюк сборочной среды или действительно какие-то проблемы в x86-64
сборке? Как-то странно смотрится "cannot find -lstdc++"...





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

* Re: [devel] dmalloc-5.4.2-alt1: x86-64 rebuild failed
  2007-01-23 15:28 ` [devel] dmalloc-5.4.2-alt1: x86-64 rebuild failed Victor Forsyuk
@ 2007-01-23 15:47   ` Dmitry V. Levin
  2007-01-23 16:17     ` [devel] [wiki] " Michael Shigorin
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2007-01-23 15:47 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, Jan 23, 2007 at 05:28:19PM +0200, Victor Forsyuk wrote:
> On Mon, Jan 22, 2007 at 04:50:25PM +0300, QA Team Robot <qa@altlinux.org> wrote:
> > Package: dmalloc-5.4.2-alt1
> > Packager: Victor Forsyuk <force@altlinux>
> > Build Statistics:
> > 	2 time(s) (last time: Thu Oct 24 2002) by Konstantin Volckov <goldhead@altlinux>
> > 	1 time(s) (last time: Fri Mar 25 2005) by Victor Forsyuk <force@altlinux>
> > Status: x86-64 rebuild failed.
> > Please investigate.
> 
> [...]
> 
> > x86_64-alt-linux-g++ -pipe -Wall -O2 -fPIC  -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1  -I. -I.  -c ./dmallocc.cc \
> > 		-o ./dmallocc.o
> > ar cr libdmallocthcxx.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk_th.o error_th.o malloc_th.o dmallocc.o
> > ranlib libdmallocthcxx.a
> > rm -f libdmallocthcxx.so libdmallocthcxx.so.t
> > ld -G -o libdmallocthcxx.so.t libdmallocthcxx.a -lstdc++
> > ld: cannot find -lstdc++
> > make: make: Leaving directory `/usr/src/RPM/BUILD/dmalloc-5.4.2'
> > *** [libdmallocthcxx.so] Error 1
> 
> Это глюк сборочной среды или действительно какие-то проблемы в x86-64
> сборке? Как-то странно смотрится "cannot find -lstdc++"...

$ rpmquery -lv libstdc++4.1-devel |fgrep libstdc++.so
lrwxrwxrwx    1 root    root               23 Oct 14 03:20 /usr/lib64/gcc/x86_64-alt-linux/4.1.1/libstdc++.so -> ../../../libstdc++.so.6

ld, в отличие от g++, не знает где искать libstdc++.so
Поскольку сборка dmalloc на i586 не пытается использовать ld напрямую,
проблема в сборочных скриптах dmalloc.


-- 
ldv

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

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

* [devel] [wiki] Re: dmalloc-5.4.2-alt1: x86-64 rebuild failed
  2007-01-23 15:47   ` Dmitry V. Levin
@ 2007-01-23 16:17     ` Michael Shigorin
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2007-01-23 16:17 UTC (permalink / raw)
  To: ALT Devel discussion list

On Tue, Jan 23, 2007 at 06:47:00PM +0300, Dmitry V. Levin wrote:
> ld, в отличие от g++, не знает где искать libstdc++.so
> Поскольку сборка dmalloc на i586 не пытается использовать ld
> напрямую, проблема в сборочных скриптах dmalloc.

Кажется, это уже упоминалось (и, возможно, было на wiki):
http://wiki.sisyphus.ru/devel/gcc4#h736-3

Добавил "зацепку для глаза" на
http://wiki.sisyphus.ru/devel/UpStream

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2007-01-23 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-23 15:28 ` [devel] dmalloc-5.4.2-alt1: x86-64 rebuild failed Victor Forsyuk
2007-01-23 15:47   ` Dmitry V. Levin
2007-01-23 16:17     ` [devel] [wiki] " Michael Shigorin

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