From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6c230e4fae702f78,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-03-07 05:42:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.cwix.com!newsfeed.mathworks.com!fu-berlin.de!news.tu-darmstadt.de!not-for-mail From: Matthias Welwarsky Newsgroups: comp.os.linux.alpha Subject: Problems with gcc > egcs-1.1.2, dynamic linker segfaults Date: Thu, 8 Mar 2001 14:35:32 +0100 Organization: Fachschaft Informatik FH Darmstadt Message-ID: <985df6$2f3$1@sun27.hrz.tu-darmstadt.de> NNTP-Posting-Host: dedalus.fbi.fh-darmstadt.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.4 Xref: supernews.google.com comp.os.linux.alpha:2384 Hi all, I've been trying to build gcc 2.95.2, gcc 2.95.3 up to test4, as well as the latest gcc-2.97 snapshot. The compiler builds OK but all c++ applications I compile segfault. If I run them with LD_DEBUG set, I can see that the dynamic linker crashes when it tries to relocate the first symbol from libstdc++. Thus, if I link the application statically, it executes allright. However, this is not what I want. The base system is RedHat 6.2 with all available updates. The dynamic linker is the one from the glibc-2.1.3 package. Is this a known issue? I saw that SuSE ships their 7.0 for alpha with gcc-2.95.2 and glibc-2.1.3, so there shouldn't be a fundamental problem with gcc >= 2.95.2 and this particular version of glibc. I'm about to recompile glibc, but I'd like to know if I should have any patches installed to address the above problem. Regards, Matthias