A libgcc patch for gcc 3.0

Mark Kettenis kettenis@science.uva.nl
Fri Mar 23 02:02:00 GMT 2001


"H . J . Lu" <hjl@lucon.org> writes:

> I am not sure if gcc 3.0 will do the right thing for glibc. Here is
> a patch. Basiscally, we treat libgcc_s.so as a system library. gcc
> will use libgcc_s.so only if it is available from system or gcc is
> configured with
> 
> --enable-shared=libgcc/--enable-shared=gcc
> 
> Any comments?

1. If you're "not sure if gcc 3.0 will do the right thing for glibc"
   it would be a good idea to:

   1. Check if it really doesn't.

   2. Identify what's going wrong.  And try to explain it to the rest
      of us.

   3. Try to come up with a fix.

   Jumping straight to step 3 really isn't a good idea.

2. I think your patch introduces too much "black magic" in the GCC
   configure process.  I fail to understand why the things you're
   doing are necessary.  Apart from that, special-casing Linux should
   only be done as a last resort.  Since you fail to produce any
   arguments why it's necessary, I don't think we should consider it
   yet.

Mark



More information about the Libc-alpha mailing list