ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] dmalloc-5.4.2-alt1: x86-64 rebuild failed
Date: Tue, 23 Jan 2007 18:47:00 +0300
Message-ID: <20070123154700.GC4170@basalt.office.altlinux.org> (raw)
In-Reply-To: <20070123152819.GA23368@mail.gu.net>

[-- 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 --]

  reply	other threads:[~2007-01-23 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 15:28 ` Victor Forsyuk
2007-01-23 15:47   ` Dmitry V. Levin [this message]
2007-01-23 16:17     ` [devel] [wiki] " Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070123154700.GC4170@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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