Re: Fortran Patches for gcc 5.3.0

Keith Marshall <[email protected]> Tue, 30 May 2017 21:41:19 +0100
Newsgroups gmane.comp.gnu.mingw.devel
Organization MinGW Project
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------010803060005030407050008
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/05/17 21:06, David Gressett wrote:
>>   cp: cannot stat ‘rts/standard.ads.h’: No such file or directory
>> 
>> which may be (potentially) more disturbing.
> 
> I do not have that.
> 
> Does your build tree contain gnatdll.exe?

Yes, as gcc/gnatdll.exe

> If it does exist, does your install log show an attempt to install
> it?

A successful attempt; it appears at $prefix/bin/gnatdll.exe.  It is also
installed (incorrectly) into my cross-compiler tree, as gnatdll, whereas 
it should be installed as mingw32-gnatdll.

> In my install-strip log, a set of twelve gnat tools (gnatbind, gnatchop, 
> gnat, etc are installed in a loop;

These are also installed, for me, and (correctly) named with the host 
prefix, in the cross-compiler tree ...

> a few lines down, I see gnatdll.exe installed separately.

... and it is presumably in that separate installation, that the host 
prefix is omitted, in the cross-compiler installation.

FWIW, I used "install-strip" too, when staging the distribution, but, 
cognizant of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54720, I also 
checked the effect of "install", in case there was a similar omission 
for the Ada DLLs.  I also included the attached patch, to correct the 
(long-time ignored) PR-54720 bug, in *our* distribution.

The "cannot stat rts/standard.ads.h" issue is evident in both my install 
and install-strip logs.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJZLdjvAAoJEMCtNsY0flo/No8P/RLz+93l9EEEQIopuaNXh47h
bcOuIfIiFODr4r6ilMAlNUgGCLm6EtXUpvZAv/yVCbRvjxGVby8P+Fca1zZ3ufI5
ovfkg7LJ/HlFOuLoZFQ5BvgJrDj66WBIkaxfG3O+04uxZgwu+1jiwedy0GdCUKSa
soe63Gdx5yKTgHEGR+dyLgTbC+fy3mv5ysPngbv5ZJuoaZa4Q17tMrgC7JSMDWr+
vC9/KxntJE1JXji9NbFjpqGSMy3zAoo0yKn5OliLHmwqdUpREtS63beaqtU4oGrj
yc/wnFH6O8/yyxFUWYreiLlIwkLM4ZGrybY5qnQ1HxRd6qUJM1LKkpVJLmc2ZskS
1IJ3vRpXgB2Y1gTMQH15ixWIDLMoVrCxO8qBlzbIBNRxMEPokXRA49u0Bdfx7HCI
9W8Hiki2zgvZUDujI6ZXzRDfrzr3j7pFZgyvLFN31VU1H7ofy7zjIxSVafWE+Odx
gznzvJQr7ECFZ+pAnC1/o9g6NES4eACtSaX76nlh+6vRtjIa2PnAldWAClViWw+U
o/QwquE3M+3RIOaaOUrb8rbIMHENx26g6zUoht57OI0zVHC4Qf4HtjdT1HdJxp0z
qtfVSbebj2G/d4YxzNcgV0ehc6fbzI5kRGltjmPB2c0cw5EDHJCkKWaJm4TFXW5o
lJJHzR2uIuz7dpLNc/kS
=pkoq
-----END PGP SIGNATURE-----

--------------010803060005030407050008
Content-Type: text/x-patch;
 name="11-libobjc-install-strip.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="11-libobjc-install-strip.patch"

# HG changeset patch
# Parent 1b56b3f83819217695154b980b393bc0af9aa593
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -305,12 +305,14 @@ aclocal_deps = \
 
 $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
 install: install-libs install-headers
+install-strip: install-strip-libs install-headers
 
-install-libs: installdirs
+install-strip-libs: INSTALL = @INSTALL@ -s
+install-libs install-strip-libs: installdirs
 	$(SHELL) $(multi_basedir)/mkinstalldirs $(DESTDIR)$(toolexeclibdir)
 	$(LIBTOOL_INSTALL) $(INSTALL) libobjc$(libsuffix).la $(DESTDIR)$(toolexeclibdir);
 	if [ "$(OBJC_BOEHM_GC)" ]; then \
 	  $(LIBTOOL_INSTALL) $(INSTALL) libobjc_gc$(libsuffix).la \
 				$(DESTDIR)$(toolexeclibdir);\
@@ -324,11 +326,11 @@ install-headers:
 	for file in $(OBJC_H); do \
 	  realfile=$(srcdir)/objc/$${file}; \
 	  $(INSTALL_DATA) $${realfile} $(DESTDIR)$(libsubdir)/$(includedirname)/objc; \
 	done
 
-check uninstall install-strip dist installcheck installdirs:
+check uninstall dist installcheck installdirs:
 
 mostlyclean:
 	-$(LIBTOOL_CLEAN) rm -f libobjc$(libsuffix).la libobjc_gc$(libsuffix).la *.lo
 	-rm -f runtime-info.h tmp-runtime.s *.o *.lo libobjc* xforward \
 		fflags *.aux *.cp *.dvi *.pdf *.fn *.info *.ky *.log *.pg \

--------------010803060005030407050008
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--------------010803060005030407050008
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MinGW-dvlpr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

--------------010803060005030407050008--