public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils
@ 2004-06-28 21:23 geos at epost dot de
  2004-06-28 21:23 ` [Bug bootstrap/16253] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: geos at epost dot de @ 2004-06-28 21:23 UTC (permalink / raw)
  To: gcc-bugs

Bootstrapping java on IRIX 5.3 fails when using GNU binutils 2.15:

env RANLIB=/usr/local/mips-sgi-irix5.3/bin/ranlib NM=/usr/local/mips-sgi-irix5.3/bin/nm CONFIG_SHELL=/bin/ksh /usr/people/schwarz/gcc-3.4.0/configure --prefix=/usr/local --with-gnu-as --with-gnu-ld --with-as=/usr/local/mips-sgi-irix5.3/bin/as --with-ld=/usr/local/mips-sgi-irix5.3/bin/ld --enable-languages=java

(nb: it seems that if NM is not set explicitly /usr/bin/nm is used; maybe RANLIB need not be set)

/usr/local/bin/make bootstrap

this yields:
....
cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/usr/people/schwarz/gcc-3.4.0/gcc -I/usr/people/schwarz/gcc-3.4.0/gcc/. -I/usr/people/schwarz/gcc-3.4.0/gcc/../include -I../intl /usr/people/schwarz/gcc-3.4.0/gcc/genconstants.c -o genconstants.o
echo "/* This file is machine generated.  Do not edit.  */" > tmp-gtyp.h
echo "static const char *const srcdir = "  >> tmp-gtyp.h
echo "\"/usr/people/schwarz/gcc-3.4.0/gcc\"" >> tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *const lang_files[] = {" >> tmp-gtyp.h
ll="/usr/people/schwarz/gcc-3.4.0/gcc/cp/mangle.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.h  /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/cp-tree.h  /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.h  /usr/people/schwarz/gcc-3.4.0/gcc/cp/lex.h  /usr/people/schwarz/gcc-3.4.0/gcc/cp/call.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl2.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/pt.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/repo.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/semantics.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/tree.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/parser.c  /usr/people/schwarz/gcc-3.4.0/gcc/cp/method.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-common.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h  /usr/people/schwarz/gcc-3.4.0/gcc/c-pragma.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/java-tree.h  /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf.h  /usr/people/schwarz/gcc-3.4.0/gcc/java/lex.h  /usr/people/schwarz/gcc-3.4.0/gcc/java/parse.h  /usr/people/schwarz/gcc-3.4.0/gcc/java/builtins.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/class.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/constants.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/decl.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/expr.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-parse.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-write.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/lang.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/mangle.c  /usr/people/schwarz/gcc-3.4.0/gcc/java/parse.y  /usr/people/schwarz/gcc-3.4.0/gcc/java/resource.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-lang.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-parse.in  /usr/people/schwarz/gcc-3.4.0/gcc/c-tree.h  /usr/people/schwarz/gcc-3.4.0/gcc/c-decl.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-common.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h  /usr/people/schwarz/gcc-3.4.0/gcc/c-pragma.c  /usr/people/schwarz/gcc-3.4.0/gcc/c-objc-common.c "; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  java  java  java  java  java  java  java  java  java  java  java  java  java  java  java  c  c  c  c  c  c  c  c "; \
for f in $ff; do \
echo "\"$f\", " ; done  >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gf="/usr/people/schwarz/gcc-3.4.0/gcc/input.h /usr/people/schwarz/gcc-3.4.0/gcc/coretypes.h /usr/people/schwarz/gcc-3.4.0/gcc/cpplib.h auto-host.h /usr/people/schwarz/gcc-3.4.0/gcc/../include/ansidecl.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/mips.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/iris5.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/sdb.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/iris5gas.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/iris5gld.h /usr/people/schwarz/gcc-3.4.0/gcc/defaults.h /usr/people/schwarz/gcc-3.4.0/gcc/../include/hashtab.h /usr/people/schwarz/gcc-3.4.0/gcc/../include/splay-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/bitmap.h /usr/people/schwarz/gcc-3.4.0/gcc/coverage.c /usr/people/schwarz/gcc-3.4.0/gcc/function.h  /usr/people/schwarz/gcc-3.4.0/gcc/rtl.h /usr/people/schwarz/gcc-3.4.0/gcc/optabs.h /usr/people/schwarz/gcc-3.4.0/gcc/tree.h /usr/people/schwarz/gcc-3.4.0/gcc/libfuncs.h /usr/people/schwarz/gcc-3.4.0/gcc/hashtable.h /usr/people/schwarz/gcc-3.4.0/gcc/real.h /usr/people/schwarz/gcc-3.4.0/gcc/varray.h /usr/people/schwarz/gcc-3.4.0/gcc/insn-addr.h /usr/people/schwarz/gcc-3.4.0/gcc/cselib.h /usr/people/schwarz/gcc-3.4.0/gcc/basic-block.h  /usr/people/schwarz/gcc-3.4.0/gcc/cgraph.h /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h /usr/people/schwarz/gcc-3.4.0/gcc/c-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/alias.c /usr/people/schwarz/gcc-3.4.0/gcc/bitmap.c /usr/people/schwarz/gcc-3.4.0/gcc/cselib.c /usr/people/schwarz/gcc-3.4.0/gcc/cgraph.c /usr/people/schwarz/gcc-3.4.0/gcc/dbxout.c /usr/people/schwarz/gcc-3.4.0/gcc/dwarf2out.c /usr/people/schwarz/gcc-3.4.0/gcc/dwarf2asm.c /usr/people/schwarz/gcc-3.4.0/gcc/emit-rtl.c /usr/people/schwarz/gcc-3.4.0/gcc/except.c /usr/people/schwarz/gcc-3.4.0/gcc/explow.c /usr/people/schwarz/gcc-3.4.0/gcc/expr.c /usr/people/schwarz/gcc-3.4.0/gcc/fold-const.c /usr/people/schwarz/gcc-3.4.0/gcc/function.c /usr/people/schwarz/gcc-3.4.0/gcc/gcse.c /usr/people/schwarz/gcc-3.4.0/gcc/integrate.c /usr/people/schwarz/gcc-3.4.0/gcc/lists.c /usr/people/schwarz/gcc-3.4.0/gcc/optabs.c /usr/people/schwarz/gcc-3.4.0/gcc/profile.c /usr/people/schwarz/gcc-3.4.0/gcc/ra-build.c /usr/people/schwarz/gcc-3.4.0/gcc/regclass.c /usr/people/schwarz/gcc-3.4.0/gcc/reg-stack.c /usr/people/schwarz/gcc-3.4.0/gcc/cfglayout.c /usr/people/schwarz/gcc-3.4.0/gcc/langhooks.c /usr/people/schwarz/gcc-3.4.0/gcc/sdbout.c /usr/people/schwarz/gcc-3.4.0/gcc/stmt.c /usr/people/schwarz/gcc-3.4.0/gcc/stor-layout.c /usr/people/schwarz/gcc-3.4.0/gcc/stringpool.c /usr/people/schwarz/gcc-3.4.0/gcc/tree.c /usr/people/schwarz/gcc-3.4.0/gcc/varasm.c /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/mips.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/mangle.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/cp-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/lex.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/call.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl2.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/pt.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/repo.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/semantics.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/tree.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/parser.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/method.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h /usr/people/schwarz/gcc-3.4.0/gcc/c-pragma.c /usr/people/schwarz/gcc-3.4.0/gcc/java/java-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf.h /usr/people/schwarz/gcc-3.4.0/gcc/java/lex.h /usr/people/schwarz/gcc-3.4.0/gcc/java/parse.h /usr/people/schwarz/gcc-3.4.0/gcc/java/builtins.c /usr/people/schwarz/gcc-3.4.0/gcc/java/class.c /usr/people/schwarz/gcc-3.4.0/gcc/java/constants.c /usr/people/schwarz/gcc-3.4.0/gcc/java/decl.c /usr/people/schwarz/gcc-3.4.0/gcc/java/expr.c /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-parse.c /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-write.c /usr/people/schwarz/gcc-3.4.0/gcc/java/lang.c /usr/people/schwarz/gcc-3.4.0/gc
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
make[2]: *** [gtyp-gen.h] Bus error (core dumped)
make[2]: Leaving directory `/usr/people/schwarz/gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/people/schwarz/gcc/gcc'
make: *** [bootstrap] Error 2

if you would like me to provide any additional information please let me know.
Things work fine when bootstrapping with the SGI ar and ld.

-- 
           Summary: bootstrapping java does not work when using GNU binutils
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geos at epost dot de
                CC: gcc-bugs at gcc dot gnu dot org,geos at epost dot de
 GCC build triplet: mips-sgi-irix5.3
  GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
@ 2004-06-28 21:23 ` pinskia at gcc dot gnu dot org
  2004-06-28 22:23 ` geos at epost dot de
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28 21:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-28 21:23 -------
Seems like nothing to do with the binutils at all:
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h

-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
  2004-06-28 21:23 ` [Bug bootstrap/16253] " pinskia at gcc dot gnu dot org
@ 2004-06-28 22:23 ` geos at epost dot de
  2004-07-17 14:05 ` rsandifo at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: geos at epost dot de @ 2004-06-28 22:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geos at epost dot de  2004-06-28 21:28 -------
Subject: Re:  bootstrapping java does not work when using
 GNU binutils

> 
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-28 21:23 -------
> Seems like nothing to do with the binutils at all:
> for f in $gf; do \
> echo "\"$f\", "; done >> tmp-gtyp.h

when I use the "native" SGI ar and ld instead of the one provided by
GNU binutils 2.15 the problem does not occur and bootstrapping works fine.




-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
  2004-06-28 21:23 ` [Bug bootstrap/16253] " pinskia at gcc dot gnu dot org
  2004-06-28 22:23 ` geos at epost dot de
@ 2004-07-17 14:05 ` rsandifo at gcc dot gnu dot org
  2004-07-19  9:20 ` rsandifo at redhat dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-07-17 14:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2004-07-17 14:05 -------
I assume this is a side-effect of GTFILES being longer
when using binutils (it includes extra files like mips/sdb.h
and mips/iris5gas.h) and that this is triggering some system
limit somewhere.  (Environment limit?  Command-line limit?)

What does "systune ncargs" say?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
                   ` (2 preceding siblings ...)
  2004-07-17 14:05 ` rsandifo at gcc dot gnu dot org
@ 2004-07-19  9:20 ` rsandifo at redhat dot com
  2004-07-19 11:40 ` ro at techfak dot uni-bielefeld dot de
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at redhat dot com @ 2004-07-19  9:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at redhat dot com  2004-07-19 09:20 -------
Subject: Re:  bootstrapping java does not work when
 using GNU binutils

Georg Schwarz <geos@epost.de> writes:
>> What does "systune ncargs" say?
>
> I hope this helps:
>
> lorenz 1# systune ncargs
> [snip]
>  group: limits (dynamically changeable)
>         vnode_free_ratio = 2 (0x2)
>         maxup = 150 (0x96)
>         reserve_ncallout = 5 (0x5)
>         maxsymlinks = 30 (0x1e)
>         nprofile = 100 (0x64)
>         maxwatchpoints = 100 (0x64)
>         shlbmax = 8 (0x8)

Hmm, so ncargs must just be an IRIX 6 thing.  Is there some other way
of controlling the command-line limit?

As you'll probably have guessed, I don't have access to an IRIX 5 box
myself, so can you try to debug it a bit more at your end?  E.g., does
it fail if you cut-&-paste the failing command line into a shell?

FWIW, there are successful build reports with binutils:

    http://gcc.gnu.org/ml/gcc-testresults/2004-07/msg00761.html

Given that the failure is in a long, but otherwise innocuous, shell command,
and that that command would be shorter when not using binutils, it really
does look like a limits issue to me.  One possible workaround would be to
move the gcc sources so that the full pathname to them is shorter.

Richard


-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
                   ` (3 preceding siblings ...)
  2004-07-19  9:20 ` rsandifo at redhat dot com
@ 2004-07-19 11:40 ` ro at techfak dot uni-bielefeld dot de
  2004-07-19 17:58 ` geos at epost dot de
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-07-19 11:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-07-19 11:39 -------
Subject: Re:  bootstrapping java does not work when using GNU binutils

"rsandifo at redhat dot com" <gcc-bugzilla@gcc.gnu.org> writes:

> Hmm, so ncargs must just be an IRIX 6 thing.  Is there some other way
> of controlling the command-line limit?

at least on my IRIX 5.3 box, ncargs *is* included in the limits group:

 group: limits (dynamically changeable)
        bmappedpct = 50 (0x32)
        vnode_free_ratio = 2 (0x2)
        maxup = 150 (0x96)
        reserve_ncallout = 5 (0x5)
        maxsymlinks = 30 (0x1e)
        nprofile = 100 (0x64)
        maxwatchpoints = 100 (0x64)
        shlbmax = 8 (0x8)
        ncargs = 262144 (0x40000)

and I've raised it to the limit, just as on IRIX 6.

	Rainer


-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
                   ` (4 preceding siblings ...)
  2004-07-19 11:40 ` ro at techfak dot uni-bielefeld dot de
@ 2004-07-19 17:58 ` geos at epost dot de
  2004-07-19 18:46 ` geos at epost dot de
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: geos at epost dot de @ 2004-07-19 17:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geos at epost dot de  2004-07-19 17:58 -------
Subject: Re:  bootstrapping java does not work when using
 GNU binutils


> Hmm, so ncargs must just be an IRIX 6 thing.  Is there some other way
> of controlling the command-line limit?

maybe; I would guess this is a shell feature?
Anyway, I can browse google for it; I never needed that before.

> 
> As you'll probably have guessed, I don't have access to an IRIX 5 box
> myself, so can you try to debug it a bit more at your end?  E.g., does
> it fail if you cut-&-paste the failing command line into a shell?

OK, I will try it on the next weekend, when I have enough time.
On a 50 MHZ R4k it takes a few hours for one run.

> 
> FWIW, there are successful build reports with binutils:
> 
>     http://gcc.gnu.org/ml/gcc-testresults/2004-07/msg00761.html
> 
> Given that the failure is in a long, but otherwise innocuous, shell command,
> and that that command would be shorter when not using binutils, it really
> does look like a limits issue to me.  One possible workaround would be to
> move the gcc sources so that the full pathname to them is shorter.

I will try that, using e.g. /tmp, but it will take time.
Anyway, I'll come back to you when I need further help or have further input.

BTW, /usr/include/limits.h says:

/*
 * ARG_MAX
 * CHILD_MAX
 * OPEN_MAX
 * STREAM_MAX
 *
 * PATH_MAX
 * NAME_MAX
 * LINK_MAX
 * - are available only thru sysconf/pathconf
 */

...

#ifndef PATH_MAX
#define PATH_MAX        1024            /* max # of characters in a path name */
#endif
#ifndef ARG_MAX
#define ARG_MAX         5120
#endif



the limits man page says:

#define ARG_MAX     10240      /* max length of arguments to exec */

(it seems the man page is wrong by a factor of 2 here; or maybe the 5120
above is only the last resort value. Is ARG_MAX of relevance to the gcc
problem? Is that what you are looking for?

lorenz 28% sysconf 
ARG_MAX              20480
CHILD_MAX            150
CLK_TCK              100
NGROUPS_MAX          16
OPEN_MAX             200
JOB_CONTROL          1
SAVED_IDS            1
VERSION              199009
ASYNCHRONOUS_IO      1
AIO_LISTIO_MAX       255
AIO_MAX              4
REALTIME_SIGNALS     1
RTSIG_MAX            16
SIGQUEUE_MAX         32
LOGNAME_MAX          8
PASS_MAX             8
TZNAME_MAX           8
NACLS_MAX            0
PAGESIZE             4096
NPROC_CONF           1
NPROC_ONLN           1
STREAM_MAX           200
XOPEN_VERSION        3
ACL                  0
AUDIT                0
INF                  0
MAC                  0
CAP                  0
IP_SECOPTS           0




-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
                   ` (5 preceding siblings ...)
  2004-07-19 17:58 ` geos at epost dot de
@ 2004-07-19 18:46 ` geos at epost dot de
  2004-07-26 18:41 ` geos at epost dot de
  2004-07-31 11:50 ` rsandifo at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: geos at epost dot de @ 2004-07-19 18:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geos at epost dot de  2004-07-19 18:46 -------
Subject: Re:  bootstrapping java does not work when using
 GNU binutils

> at least on my IRIX 5.3 box, ncargs *is* included in the limits group:

>         ncargs = 262144 (0x40000)
> 
> and I've raised it to the limit, just as on IRIX 6.

here it is

lorenz 7# systune ncargs | grep ncargs
        ncargs = 20480 (0x5000)




-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
                   ` (6 preceding siblings ...)
  2004-07-19 18:46 ` geos at epost dot de
@ 2004-07-26 18:41 ` geos at epost dot de
  2004-07-31 11:50 ` rsandifo at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: geos at epost dot de @ 2004-07-26 18:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geos at epost dot de  2004-07-26 18:41 -------
Further research indicates that it is actually not a problem of binutils
but rather likely a problem of a long command line. With gcc 3.4.1 the
following 

env CONFIG_SHELL=/bin/ksh `pwd`/../gcc-3.4.1/configure
--enable-languages=c,c++ --with-ld=/usr/bin/ld --with-as=/usr/bin/as
--prefix=/usr/local/pkg/gcc34
--with-gcc-version-trigger=/usr/people/schwarz/pkgsrc/lang/gcc34/work/gc
c-3.4.1/gcc/version.c


gave me, when gmaking bootstrap:

...
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fixinc/Makefile
config.status: creating gccbug
config.status: creating mklibgcc
config.status: creating mkheaders
config.status: creating auto-host.h
config.status: executing default commands
Bootstrapping the compiler
gmake[1]: Entering directory
`/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/gcc'
/usr/local/pkg/bin/gmake CC="cc" libdir=/usr/local/pkg/gcc34/lib
LANGUAGES="c " \
        CFLAGS="-g "
MAKEINFO="/usr/people/schwarz/pkgsrc/lang/gcc34/work/gcc-3.4.1/missing
makeinfo --split-size=5000000" \
        MAKEINFOFLAGS="--no-split" COVERAGE_FLAGS= \
        OBJS-onestep="alias.o bb-reorder.o bitmap.o builtins.o
caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o
cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o loop-init.o
loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o
coverage.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o dojump.o
doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o
explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o
genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o
hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o
insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o
jump.o  langhooks.o lcm.o lists.o local-alloc.o loop.o optabs.o
options.o opts.o params.o postreload.o predict.o print-rtl.o
print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o
ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o
regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o
rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o
sdbout.o sibcall.o simplify-rtx.o sreal.o stmt.o stor-layout.o
stringpool.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o
unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o alloc-pool.o
et-forest.o cfghooks.o bt-load.o pretty-print.o ggc-page.o web.o mips.o
host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o
cgraphunit.o"
gmake[2]: Entering directory
`/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USE_COLLECT2" \
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/mkconfig
.sh config.h
TARGET_CPU_DEFAULT="MASK_ABICALLS" \
HEADERS="config/mips/mips.h config/mips/iris5.h defaults.h" DEFINES="" \
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/mkconfig
.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/mkconfig
.sh bconfig.h
cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inc
lude -I../intl
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/genmodes
.c -o genmodes.o
cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inc
lude -I../intl
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/errors.c
-o errors.o
cc   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genmodes \
 genmodes.o errors.o ../libiberty/libiberty.a
./genmodes -h > tmp-modes.h
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/move-if-
change tmp-modes.h insn-modes.h
./genmodes -m > tmp-min-modes.c
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/move-if-
change tmp-min-modes.c min-insn-modes.c
./genmodes > tmp-modes.c
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/move-if-
change tmp-modes.c insn-modes.c
echo timestamp > s-modes
cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inc
lude -I../intl
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/gengenrt
l.c -o gengenrtl.o
cc   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
./gengenrtl -h > tmp-genrtl.h
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/move-if-
change tmp-genrtl.h genrtl.h
./gengenrtl > tmp-genrtl.c
/bin/ksh
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/move-if-
change tmp-genrtl.c genrtl.c
echo timestamp > s-genrtl
cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/.
-I/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inc
lude -I../intl
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/genconst
ants.c -o genconstants.o
echo "/* This file is machine generated.  Do not edit.  */" > tmp-gtyp.h
echo "static const char *const srcdir = "  >> tmp-gtyp.h
echo
"\"/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc\"" >>
tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *const lang_files[] = {" >> tmp-gtyp.h
ll="/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/m
angle.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/name-
lookup.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/name-
lookup.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/cp-tr
ee.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/decl.
h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/lex.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/call.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/decl.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/decl2
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/pt.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/repo.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/seman
tics.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/tree.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/parse
r.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/metho
d.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-pragma
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-lang.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-parse.
in
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-tree.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-decl.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-pragma
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-objc-c
ommon.c "; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp  cp
cp  c  c  c  c  c  c  c  c "; \
for f in $ff; do \
echo "\"$f\", " ; done  >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gf="/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/inpu
t.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/coretype
s.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cpplib.h
auto-host.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inclu
de/ansidecl.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/config/m
ips/mips.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/config/m
ips/iris5.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/defaults
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inclu
de/hashtab.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/../inclu
de/splay-tree.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/bitmap.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/coverage
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/function
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/rtl.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/optabs.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/tree.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/libfuncs
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/hashtabl
e.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/real.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/varray.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/insn-add
r.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cselib.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/basic-bl
ock.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cgraph.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-tree.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/alias.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/bitmap.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cselib.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cgraph.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/dbxout.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/dwarf2ou
t.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/dwarf2as
m.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/emit-rtl
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/except.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/explow.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/expr.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/fold-con
st.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/function
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/gcse.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/integrat
e.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/lists.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/optabs.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/profile.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/ra-build
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/regclass
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/reg-stac
k.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cfglayou
t.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/langhook
s.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/sdbout.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/stmt.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/stor-lay
out.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/stringpo
ol.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/tree.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/varasm.c
/usr/people/schwarz/pkgsrc/lng/gcc34/work/obj/../gcc-3.4.1/gcc/config/mi
ps/mips.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/mangl
e.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/name-
lookup.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/name-
lookup.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/cp-tr
ee.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/decl.
h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/lex.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/call.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/decl.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/decl2
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/pt.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/repo.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/seman
tics.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/tree.
c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/parse
r.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/cp/metho
d.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-pragma
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-lang.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-parse.
in
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-tree.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-decl.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-common
.h
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-pragma
.c
/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/../gcc-3.4.1/gcc/c-objc-c
ommon.c"; \
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
gmake[2]: *** [gtyp-gen.h] Bus error (core dumped)
gmake[2]: Leaving directory
`/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory
`/usr/people/schwarz/pkgsrc/lang/gcc34/work/obj/gcc'
gmake: *** [bootstrap] Error 2


Note that pwd|wc -c is 47 here, so the path to configure is pretty long.

Now the same (except for now the configure path is shorter (and not
absolute, but I think this does not matter here at least) 


env CONFIG_SHELL=/bin/ksh ../gcc-3.4.1/configure
--enable-languages=c,c++ --with-ld=/usr/bin/ld --with-as=/usr/bin/as
--prefix=/usr/local/pkg/gcc34
--with-gcc-version-trigger=/usr/people/schwarz/pkgsrc/lang/gcc34/work/gc
c-3.4.1/gcc/version.c

works!

Any suggestions how I could further narrow down the problem?


-- 


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


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

* [Bug bootstrap/16253] bootstrapping java does not work when using GNU binutils
  2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
                   ` (7 preceding siblings ...)
  2004-07-26 18:41 ` geos at epost dot de
@ 2004-07-31 11:50 ` rsandifo at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-07-31 11:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2004-07-31 11:50 -------
I think it was agreed in the end that the ncargs setting was too low.
It's difficult for the documentation to suggest a value since it all
depends on the length of the path to the sources.

Anyway, using a higher ncargs or shorter source path should work.
Reporter says that the latter works for him.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2004-07-31 11:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-28 21:23 [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils geos at epost dot de
2004-06-28 21:23 ` [Bug bootstrap/16253] " pinskia at gcc dot gnu dot org
2004-06-28 22:23 ` geos at epost dot de
2004-07-17 14:05 ` rsandifo at gcc dot gnu dot org
2004-07-19  9:20 ` rsandifo at redhat dot com
2004-07-19 11:40 ` ro at techfak dot uni-bielefeld dot de
2004-07-19 17:58 ` geos at epost dot de
2004-07-19 18:46 ` geos at epost dot de
2004-07-26 18:41 ` geos at epost dot de
2004-07-31 11:50 ` rsandifo 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).