From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9569 invoked by uid 1002); 20 Dec 2002 17:37:54 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31275 invoked from network); 20 Dec 2002 17:37:54 -0000 Message-ID: <3E035489.5090802@arawak.tzo.org> Date: Fri, 20 Dec 2002 12:34:01 -0500 From: Sean Mitchell User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021125 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org X-Enigmail-Version: 0.63.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] Looking for workaround for "undefined symbol: __dso_handle" X-Archives-Salt: 1bb21e35-2cb2-46ac-8a04-1ba31f151da0 X-Archives-Hash: f7f49aafc350b436cba65b37b18e4710 Hullo all... I'm running Gentoo 1.4rc1, and have run into a problem linking with shared libraries I have written. Well I compile a small test program, and link it with the object files that went into my shared libs, it runs fine. However, when I link against the shared libs, the test program fails on execution with: ./phthreadtest: relocation error: /usr/local/lib/libph00.so.1: undefined symbol: __dso_handle I have searched all over and it seems that this is some sort of a bug in binutils. There appears to also be a workaround: http://gcc.gnu.org/ml/gcc-bugs/2000-04/msg00250.html In short, gcc is rebuild without HAVE_GAS_HIDDEN. So... I think I can do an ebuild /usr/portage/sys-devel/gcc/gcc-3.2.1.ebuild unpack followed by some mucky-mucky and then a ebuild /usr/portage/sys-devel/gcc/gcc-3.2.1.ebuild compile ebuild /usr/portage/sys-devel/gcc/gcc-3.2.1.ebuild install The questions are... what mucky mucky exactly, and after rebuilding ggc in this fashion will I need to do and emerge system to rebuild the whole Gentoo system? Anyone here familiar with this issue? I see there was a brief discussion on this list about something similiar WRT to Mozilla and flash, but I don't think the general problem was addressed. Any and all help greatly appreciated! Sean -- gentoo-dev@gentoo.org mailing list