------- Comment #9 from wilson at tuliptree dot org 2005-11-10 03:04 ------- Subject: Re: Shared libgcc not used for linking by default
On Wed, 2005-11-09 at 16:08, sje at cup dot hp dot com wrote: > I tried Jim Wilson's suggested changes (with 3.4.4 GCC) but they didn't > seem to fix the problem. Try debugging init_specs where it calls init_gcc_specs. There might be something about the code that is causing it to misbehave for you. Don't configure with --disable-shared, that will prevent this code from doing anything. It occurred to me that another possible solution is to change init_specs and/or the ia64-hpux LIBGCC_SPEC so that all uses of -lgcc will be replaced instead of just the first one. That would also fix the problem. Looking at the code, I think adding a space before the second -lgcc in the current ia64-hpux LIBGCC_SPEC would do the trick, because that will cause in_sep to be set again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24718