On Tuesday 12 September 2006 04:34, Luigi Ballabio wrote: > On Tue, 2006-09-05 at 12:34 -0500, Dirk Eddelbuettel wrote: > > Link times. [ The 'link error in Etch' was something we first saw on > > hppa, and later noticed as a general problem -- but which is fixed in > > recent g++ versions. ] > > > > Are you aware of anything we could turn in as a self-contained example? > > Without an example, the g++ authors will have a hard time tuning this. > > Dirk, > apologies for the delay. I don't think I can turn in anything > self-contained _and_ small. But if it can help narrowing the > investigation, I'm seeing a big difference in link times depending on > whether or not the '-g' flag is enabled. I usually configure the library > so that it's not included on the command line, and my link times are > more or less as they were with previous versions. Today I enabled the > flag to do some debugging, and linking is taking forever. > > Later, > Luigi >
Hi, I did some looking around on the gcc bugzilla to see if anyone else reported slow linking or in general problems with g++ when '-g' is used. I found a GCC bug 25468 (see: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25468 ) which "might" be related. I then downloaded the gcc-4.1-source and checked if the PR debug/25468 fix was included in the source, and it wasn't. I am not sure if the reported behavior in the GCC bug (25468) and fix would have any bearing on link times, but I would be happy to try this fix out. Thanks, John Schmidt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]