public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/33781]  New: [4.3 Regression] "Arg list too long" building libgcc.a
@ 2007-10-15 15:37 roger at eyesopen dot com
  2007-10-22  8:43 ` [Bug bootstrap/33781] " pinskia at gcc dot gnu dot org
                   ` (30 more replies)
  0 siblings, 31 replies; 32+ messages in thread
From: roger at eyesopen dot com @ 2007-10-15 15:37 UTC (permalink / raw)
  To: gcc-bugs

The recent addition of a large number of libgcc objects (for fixed point
arithmetic and other things) now breaks bootstrap on IRIX.  The problem is
that the command line in libgcc/Makefile.in, approx line 697 reads as:

        $(AR_CREATE_FOR_TARGET) $@ $$objects

which doesn't defend against $objects being a huge list.  Currently on 32-bit
IRIX this is 1762 files.  Indeed, even typing "ls *.o" in the directory
mips-sgi-irix6.5/32/libgcc, returns "-bash: /usr/bin/ls: Arg list too long"!

Alas I'm not a wizard in build machinery, but I suspect that all that's
required is a one or two line change, perhaps to use "libtool" to create the
archive, which contains logic to circumvent these host command line limits.
I believe this is what we currently do for libgcj and other large libraries.

Many thanks in advance to the kind build maintainer or volunteer who looks
into the problem.  I'm happy to test patches on my dusty MIPS/IRIX box.


-- 
           Summary: [4.3 Regression] "Arg list too long" building libgcc.a
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: roger at eyesopen dot com
  GCC host triplet: mips-sgi-irix6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33781


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

end of thread, other threads:[~2010-05-22 18:20 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-15 15:37 [Bug bootstrap/33781] New: [4.3 Regression] "Arg list too long" building libgcc.a roger at eyesopen dot com
2007-10-22  8:43 ` [Bug bootstrap/33781] " pinskia at gcc dot gnu dot org
2007-10-30 14:01 ` jakub at gcc dot gnu dot org
2007-10-30 14:03 ` jakub at gcc dot gnu dot org
2007-11-01 16:03 ` dj at redhat dot com
2007-11-01 17:15 ` roger at eyesopen dot com
2007-11-01 20:03 ` dj at redhat dot com
2007-11-01 22:26 ` jakub at gcc dot gnu dot org
2007-11-01 22:35 ` jakub at gcc dot gnu dot org
2007-11-02 16:42 ` roger at eyesopen dot com
2007-11-02 17:12 ` roger at eyesopen dot com
2007-11-02 17:41 ` dj at redhat dot com
2007-11-02 18:41 ` jakub at gcc dot gnu dot org
2007-11-02 18:56 ` dj at redhat dot com
2007-11-02 18:58 ` dj at redhat dot com
2007-11-05  3:15 ` mmitchel at gcc dot gnu dot org
2008-01-31 10:45 ` fxcoudert at gcc dot gnu dot org
2008-02-01 17:43 ` sayle at gcc dot gnu dot org
2008-03-15  0:44 ` [Bug bootstrap/33781] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
2008-06-09  8:34 ` Ralf dot Wildenhues at gmx dot de
2008-06-09 18:42 ` Ralf dot Wildenhues at gmx dot de
2008-06-12 21:31 ` roger at eyesopen dot com
2008-06-12 21:46 ` Ralf dot Wildenhues at gmx dot de
2008-06-14  7:26 ` rwild at gcc dot gnu dot org
2008-08-27 22:05 ` jsm28 at gcc dot gnu dot org
2009-01-24 10:22 ` rguenth at gcc dot gnu dot org
2009-04-07 20:40 ` [Bug bootstrap/33781] [4.3/4.4/4.5 " PHHargrove at lbl dot gov
2009-04-07 20:46 ` rwild at gcc dot gnu dot org
2009-04-07 23:39 ` PHHargrove at lbl dot gov
2009-08-04 12:37 ` rguenth at gcc dot gnu dot org
2010-05-22 18:20 ` [Bug bootstrap/33781] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org

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).