This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/22407] New: libgfortran build fails because of bad substitution


Bootstrapping fails after configure for libgfortran has completed:

...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../gcc-4.0.1/libgfortran
with_multisubdir=sparcv9
gmake[2]: Entering directory `/software/gcc-obj/sparc-sun-solaris2.8/libgfortran'
/bin/sh ../../../gcc-4.0.1/libgfortran/mk-sik-inc.sh
'/software/gcc-obj/gcc/gfortran -B/software/gcc-obj/gcc/
-B/usr/local/lib/gcc/sparc-sun-solaris2.8/bin/
-B/usr/local/lib/gcc/sparc-sun-solaris2.8/lib/ -isystem
/usr/local/lib/gcc/sparc-sun-solaris2.8/include -isystem
/usr/local/lib/gcc/sparc-sun-solaris2.8/sys-include -Wall -Wall
-fno-repack-arrays -fno-underscoring' > selected_int_kind.inc
/bin/sh ../../../gcc-4.0.1/libgfortran/mk-srk-inc.sh
'/software/gcc-obj/gcc/gfortran -B/software/gcc-obj/gcc/
-B/usr/local/lib/gcc/sparc-sun-solaris2.8/bin/
-B/usr/local/lib/gcc/sparc-sun-solaris2.8/lib/ -isystem
/usr/local/lib/gcc/sparc-sun-solaris2.8/include -isystem
/usr/local/lib/gcc/sparc-sun-solaris2.8/sys-include -Wall -Wall
-fno-repack-arrays -fno-underscoring' > selected_real_kind.inc
gmake  all-am
gmake[3]: Entering directory `/software/gcc-obj/sparc-sun-solaris2.8/libgfortran'
/bin/sh ./libtool --mode=compile (CC_FOR_TARGET) -DHAVE_CONFIG_H -I.
-I../../../gcc-4.0.1/libgfortran -I.  -iquote../../../gcc-4.0.1/libgfortran/io 
-std=gnu99 -Wall (CFLAGS_FOR_TARGET) -c -o environ.lo `test -f
'runtime/environ.c' || echo '../../../gcc-4.0.1/libgfortran/'`runtime/environ.c
/bin/sh: syntax error at line 1: `(' unexpected
gmake[3]: *** [environ.lo] Error 2
gmake[3]: Leaving directory `/software/gcc-obj/sparc-sun-solaris2.8/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/software/gcc-obj/sparc-sun-solaris2.8/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/software/gcc-obj'
gmake: *** [bootstrap] Error 2

Note the "(CC_FOR_TARGET)" and "(CFLAGS_FOR_TARGET)". Perhaps some substitution
strips one "$" too many?

Configure/bootstrap command lines were:

../gcc-4.0.1/configure   --prefix=/usr/local/lib/gcc --bindir=/usr/local/bin/s
parc/sunos580 --infodir=/usr/local/info --mandir=/usr/local/man --with-local-pre
fix=/nodir --enable-threads=solaris --enable-version-specific-runtime-libs --dis
able-nls --with-gmp=/usr/local --with-mpfr=/usr/local --with-gcc-version-trigger
=/software/gcc-4.0.1/gcc/version.c --enable-languages=c,c++,f95,objc
gmake bootstrap

(This is the same build as #22396, using the workaround mentioned there. Just in
case there is some dependency between the two.)

-- 
           Summary: libgfortran build fails because of bad substitution
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: roessner at rbg dot informatik dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: sparc-sun-solaris2.8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]