From owner-freebsd-alpha Sat Jan 4 12:42:38 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACBA037B401; Sat, 4 Jan 2003 12:42:36 -0800 (PST) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B80B43EB2; Sat, 4 Jan 2003 12:42:26 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0130.cvx40-bradley.dialup.earthlink.net ([216.244.42.130] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18Uv7C-0003b9-00; Sat, 04 Jan 2003 12:41:55 -0800 Message-ID: <3E1746BF.464E01EA@mindspring.com> Date: Sat, 04 Jan 2003 12:40:31 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andy Fawcett Cc: Kris Kennaway , kde@FreeBSD.org, alpha@FreeBSD.org Subject: Re: [kde-freebsd] koffice broken on alpha References: <20030104032551.A899@citusc.usc.edu> <200301041343.57895.andy@athame.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4421d85e29b993125bb334ad5a17d33cc548b785378294e88350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andy Fawcett wrote: > On Saturday 04 January 2003 13:25, Kris Kennaway wrote: > > http://bento.freebsd.org/errorlogs/alpha-5-latest/koffice-1.2,1.log > > Looks like a limitation of the tools on alpha, from the two lines: > > /usr/bin/ld: .libs/libkwordpart_la.all_cc.o: .got subsegment \ > exceeds 64K (size 66552) > /usr/bin/ld: failed to set dynamic section sizes: No such file \ > or directory > > Kris, we've seen this one before somewhere, and we resolved it by > disabling KDE's "--enable-final" for Alpha builds. AlanE will probably > be able to tell you where it was better than I can guess ;) Yes; it was my patch for kdenetwork3: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=38462+0+archive/2002/freebsd-alpha/20021013.freebsd-alpha Someone made it conditional on being the Alpha compile. This is actually a stupid thing to do, since it's going to be a problem on all 64 bit platforms, which means Alpha, SPARC64, and IA64. I pointed this out before, but was ignored last time, by showing that the problem comes from the conversion from 32 bit to 63 bit pointers, which bumps up the size of every symbol from 4 bytes to 8 bytes. The same patch will work for the koffice port. If you can, try to fix the SPARC64 and IA64 and Alpha all at the same time, instead of just fixing the Alpha, like the person who hacked my patch before it was committed against kdenetwork3. You probably want to add the same thing to any kde code where the .got exceeds 48K, as a prophylactic measure. Thanks, -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message