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 libfortran/24927] New: libfortran isn't parallel build safe


Makefile in libgfortran has

selected_int_kind.lo: intrinsics/selected_int_kind.f90
        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o
selected_int_kind.lo `test -f 'intrinsics/selected_int_kind.f90' || echo
'$(srcdir)/'`intrinsics/selected_int_kind.f90

But it doesn't depend on selected_int_kind.inc. With "make -j 4", I got

/export/build/gnu/gcc/build-ia64-linux/./gcc/gfortran
-B/export/build/gnu/gcc/build-ia64-linux/./gcc
-B/usr/gcc-4.1/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.1/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.1/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.1/ia64-unknown-linux-gnu/sys-include -Wall -fno-repack-arrays
-fno-underscoring -g -O2 -c
/net/gnu-13/export/gnu/src/gcc/gcc/libgfortran/intrinsics/selected_int_kind.f90
 -fPIC -DPIC -o .libs/selected_int_kind.o
checking pwd.h presence... Error: Can't open included file
'selected_int_kind.inc'
 In file
/net/gnu-13/export/gnu/src/gcc/gcc/libgfortran/intrinsics/selected_int_kind.f90:36
 In file
/net/gnu-13/export/gnu/src/gcc/gcc/libgfortran/intrinsics/selected_int_kind.f90:37
 In file
/net/gnu-13/export/gnu/src/gcc/gcc/libgfortran/intrinsics/selected_int_kind.f90:39
 In file
/net/gnu-13/export/gnu/src/gcc/gcc/libgfortran/intrinsics/selected_int_kind.f90:35

selected_real_kind.lo has the same problem and I suspect there are more than
those 2.


-- 
           Summary: libfortran isn't parallel build safe
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org


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


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