This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH,fortran] *The* ISO C Binding patch
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Mon, 2 Jul 2007 10:26:17 -0700
- Subject: Re: [PATCH,fortran] *The* ISO C Binding patch
- References: <20070624051848.GA28624@troutmask.apl.washington.edu> <20070630034146.GA65832@troutmask.apl.washington.edu> <200707021907.25018.ebotcazou@libertysurf.fr>
On Mon, Jul 02, 2007 at 07:07:24PM +0200, Eric Botcazou wrote:
> > I've attached 3 new diff files that include fixes for issues raised
> > by Andreas. I plan to commit these patches tomorrow night (PDT) if
> > no one raises additional issues. The patches have been regression
> > tested on i386-*-freebsd and amd64-*-freebsd.
>
> Breaks the build on my AMD64/Linux machine:
>
(error elided)
>
> There are 2 kill.lo rules in Makefile.in.
>
I missed the above line when I first read your email.
Does removal of the 2nd kill.lo rule fix the failure?
Index: Makefile.in
===================================================================
--- Makefile.in (revision 126215)
+++ Makefile.in (working copy)
@@ -4304,9 +4304,6 @@ iso_c_generated_procs.lo: intrinsics/iso
iso_c_binding.lo: intrinsics/iso_c_binding.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o iso_c_binding.lo `test -
f 'intrinsics/iso_c_binding.c' || echo '$(srcdir)/'`intrinsics/iso_c_binding.c
-kill.lo: intrinsics/kill.c
- $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o kill.lo `test -f 'intrin
sics/kill.c' || echo '$(srcdir)/'`intrinsics/kill.c
-
link.lo: intrinsics/link.c
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DE
FAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -M
T link.lo -MD -MP -MF "$(DEPDIR)/link.Tpo" -c -o link.lo `test -f 'intrinsics/li
nk.c' || echo '$(srcdir)/'`intrinsics/link.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/link.Tpo" "$(DEPDIR)/link.Plo"; el
se rm -f "$(DEPDIR)/link.Tpo"; exit 1; fi
--
Steve