Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2008 20:46:54 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: gnash-0.8.3: build fails on 6.3
Message-ID:  <486D108E.8030100@icyb.net.ua>
In-Reply-To: <20080701193629.GB45179@hades.panopticon>
References:  <4860EC81.1010302@icyb.net.ua> <20080624165126.GJ4022@hades.panopticon> <48620622.50808@icyb.net.ua> <20080701193629.GB45179@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
on 01/07/2008 22:36 Dmitry Marakasov said the following:
> * Andriy Gapon (avg@icyb.net.ua) wrote:
> 
> Any news on the problem? I've gon 2 more reports of gnash failure on
> 6.3. I've tried to reproduce bug in 6.3 jail, but with no luck (tried
> rebuilding everything with different suspicios options that may affect
> gnash or ports it depends on (WITH_OPTIMIZED_CFLAGS, WITHOUT_DEBUG),
> also tried to build everything when multiple versions of gcc are present
> - it just builds without problems.

I also tried clean re-install (as opposed to upgrade via portupgrade)
and that resulted in the same error.

> Could you please mail me your make.conf and `pkg_info` output?

Let me send those a bit later.

Now an important finding - it seems that g++42 tries to use different
libstdc++, not its own.
I verified with nm that missing symbols are present in
/usr/local/lib/gcc-4.2.4/libstdc++.so.6, but g++42 doesn't see them.
I explicitly added the library to command line and then linking succeeded.
I am quite puzzled as to why g++42 would not see its own libstdc++ or
prefer other libstdc++ over its own.
Might this be because of -L/usr/lib in the command line?

BTW, I have the following GCCs installed:
gcc-4.2.4_20080430
gcc-4.3.2_20080626
gcc-ooo-3.4.1_3
Plus base GCC 3.4.6.

And their libs:
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.5
/usr/lib32/libstdc++.so
/usr/lib32/libstdc++.so.5
/usr/local/lib/gcc-4.2.4/libstdc++.so
/usr/local/lib/gcc-4.2.4/libstdc++.so.6
/usr/local/lib/gcc-4.3.2/libstdc++.so
/usr/local/lib/gcc-4.3.2/libstdc++.so.6



-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486D108E.8030100>