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 >
Another data point regarding '-g' flag . . . I just built my c++ code with optimization turned (-O2) and no '-g' and the link times with g++-4.1 are on the order of a couple of seconds. With '-g' on, link times are on the order of 10 minutes. John Schmidt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]