public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [Proposed binutils PATCH] Re: Diagnosing an intricate C++ problem
@ 2000-09-04 15:07 Mark Kettenis
  2000-09-04 17:01 ` H . J . Lu
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Kettenis @ 2000-09-04 15:07 UTC (permalink / raw)
  To: hjl; +Cc: gcc, pb, espie

   From: "H . J . Lu" <hjl at lucon dot org>
   Date: Sun, 3 Sep 2000 11:11:11 -0700

   On Sun, Sep 03, 2000 at 05:31:09PM +0100, Philip Blundell wrote:
   > >>FWIW, as far as I know, binutils 2.10 is too old and so many bugs
   > >>have been fixed since then.
   > >
   > >Here's hoping that binutils next release won't have to wait for another
   > >three years...
   > 
   > My plan is to make 2.10.1 in a few weeks, and 2.11 at the end of
   > the year.
   > 
   > If H.J can be more specific about which bugs he is having trouble
   > with, we can consider including the fixes in 2.10.1.

I think it would be really helpful if fixes to the main branch that
are relevant for the release branch would be backported immediately.
This takes a little extra effort for those developers, but in the end
saves the maintainer a bunch of work.  It would also be helpfull if
the BSD developers would play a slightly more active role.  That would
make it possible for them to indicate what fixes are important for
them, and should be added to the release branch.

In a sense HJ's "Binutils for Linux" are a disservice to the
community.  They decrease the demand for bug-fix releases, which in
turn decreases the amount of man-power for those releases.

   All ELF and Linux related bug fixes are important to Linux. On the
   other hand, it takes me much less time to fix the current CVS than
   backport all those patches to 2.10.  Please don't do it for Linux. We
   have to use the one based on the current sourceware.

Bullshit.  Binutils 2.10 is perfecty usable on Linux/x86.  Sure, it
has some bugs, but most of them are in dark corners of gas or ld.  The
single exception would be the ELF visibility stuff which is really
broken in binutils 2.10.  It would be great if we could fix that for
binutils 2.10.1.  I'm not sure if I'll have the time to look into it,
but if nobody volunteers, I'll probably do that eventually.  HJ
obviously won't do that.  He probably won't event tell us which
changes are important.

AFAIK the only project using the ELF visibility stuff is the current
main-branch GCC.  But that's development stuff and people'd better know
what they're doing if they're hacking on that.  Expecting them to use
binutils snapshots wouldn't be too much to demand.

   BTW, I have posted an ELF/PPC patch which is needed for glibc 2.2. I
   have included a newer vesion in my binutils 2.10.0.24:

   2000-08-23  H.J. Lu  <hjl@gnu.org>

	   * elf32-ppc.c (ppc_elf_relocate_section): Symbols with the non
	   default visibility in DSO need relocation.

   Without it, glibc 2.2 under PPC won't work with the ELF visibility.

I strongly suspect it isn't "needed" for glibc 2.2 except when you're
using the mainline GCC.  Building glibc 2.2 for Linux/x86 or the Hurd
with GCC 2.95.2 works fine, except that one test will fail because of
the broken ELF visibility support.  I expect that the same holds for
PPC (except that GCC 2.95.2 itself may be too buggy for PPC).  Of
course if we want binutils 2.10.1 to handle the ELF visibility stuff
correctly it would be desirable to have this patch (assuming the patch
is right).

Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-09-05 18:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200007250811.DAA35595@latour.rsch.comm.mot.com>
     [not found] ` <Pine.BSF.4.21.0009021957530.89194-100000@taygeta.dbai.tuwien.ac.at>
     [not found]   ` <20000902113513.A1131@lucon.org>
2000-09-03  8:33     ` [Proposed binutils PATCH] Re: Diagnosing an intricate C++ problem Marc Espie
2000-09-03  9:42       ` Philip Blundell
2000-09-03 11:11         ` H . J . Lu
2000-09-03 12:10           ` Marc Espie
2000-09-03 12:59             ` Zack Weinberg
2000-09-04  8:55               ` H . J . Lu
2000-09-04 15:07 Mark Kettenis
2000-09-04 17:01 ` H . J . Lu
2000-09-05 18:32   ` Joe Buck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).