From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,7cc57d253a437926 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-06-11 00:48:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!news.equant.no!uio.no!news.kth.se!not-for-mail From: mru@users.sourceforge.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Newsgroups: comp.os.linux.alpha Subject: Re: Q: What is the problem here? Date: 11 Jun 2003 09:36:24 +0200 Sender: mru@zaphod.guide Message-ID: References: <87brx8clnz.fsf@new.home-net.stg> <87vfvdk9d5.fsf@new.home-net.stg> <87he6xa2k9.fsf@new.home-net.stg> NNTP-Posting-Host: manganonaujakasit.e.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) Xref: archiver1.google.com comp.os.linux.alpha:7708 Torsten Zirzlaff writes: > >> >> /usr/bin/ld: ../../dist/lib/libxptcmd.a(xptcinvoke_linux_alpha.o): pc-relative relocation against dynamic symbol $invoke_copy_to_stack..ng > >> > > >> > Recompile all of it and make sure -fPIC is present. > >> > >> Well, I had done that, but the error stays the same. Any more ideas? > > > > Did you "make clean" first? A missing -fPIC usually results in that > > message. Which versions of gcc and binutils are you using? > > Well, no I deleted the complete source-tree and just done a > configure, make I think this should cover a make clean :). That should do. > Nevertheless I found out that with gcc-3.2 and 3.3 it does not build > (binutils 2.14.90.0.2) with gcc-2.95 it does build if I only use a -O2 > and not -O4 as before. With the 3.x series this trick didn't work. That's expected. Only gcc 3.1 and up use that relocation. > The question is if I got more performance if I would use a 3.x > series instead of a 2.95. So far my clinpack.c test does not show any > improvement. On the other hand ccc gives me 2.5-3 times more > performance. The 3.x series generate faster code for Alpha than 2.95, in my experience. For some specific programs, 3.3 even beats ccc. See some posts by me a few weeks ago on that topic. Make sure your gcc is configured to optimize for your CPU. If you built it yourself, it is probably correct, otherwise it might be configured for ev45 by default. The main difference between -O2 and -O3 is automatic inlining of functions, without an explicit 'inline' keyword. Any higher number than 3 is equivalent to 3. > Anyway, I now build with the 2.95 series, but wonder why the other > ones fail on mozilla 1.3.1 It is strange indeed... -- M�ns Rullg�rd mru@users.sf.net