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

           Summary: failing build: execvp: /bin/sh: Argument list too long
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: o.kullm...@swansea.ac.uk


When building libgfortran a long line with around 600 entries of the
form .libs/maxloc0_16_r16.o is created, which due to these 600 entries
has already around 11000 characters, which for older Linux systems makes
the build fail.

I have discussed this on the mailing list, and was encouraged to submit
this as a bug.

The error message and the context:

/bin/sh ./libtool --tag=CC   --mode=link
/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Gcc/gcc-4.5.2_build/./gcc/xgcc
-B/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Gcc/gcc-4.5.2_build/./gcc/
-B/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/Installations/Gcc/4.5.2/x86_64-unknown-linux-gnu/bin/
-B/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/Installations/Gcc/4.5.2/x86_64-unknown-linux-gnu/lib/
-isystem
/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/Installations/Gcc/4.5.2/x86_64-unknown-linux-gnu/include
-isystem
/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/Installations/Gcc/4.5.2/x86_64-unknown-linux-gnu/sys-include
   -std=gnu99
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -fcx-fortran-rules -ffunction-sections
-fdata-sections  -g -O2   -o libgfortran.la -version-info `grep -v '^#'
/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Gcc/gcc-4.5.2/libgfortran/libtool-version`
 -no-undefined -bindir
"/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/Installations/Gcc/4.5.2/bin"
-lm
-Wl,--version-script=/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/builds/Gcc/gcc-4.5.2/libgfortran/gfortran.map
-rpath
/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/Installations/Gcc/4.5.2/lib/../lib64
backtrace.lo bounds.lo compile_options.lo
convert_char.lo environ.lo error.lo fpu.lo main.lo memory.lo pause.lo stop.lo
string.lo select.lo all_l1.lo all_l2.lo all_l4.lo
all_l8.lo all_l16.lo any_l1.lo any_l2.lo any_l4.lo XXX many more of these XXX
make[4]: execvp: /bin/sh: Argument list too long
make[4]: *** [libgfortran.la] Error 127

Reply via email to