public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/96302] New: Linux build of gnat/ada fails for lack of gnatdll
@ 2020-07-23 17:54 andy.riebs at hpe dot com
2020-07-24 7:05 ` [Bug ada/96302] " charlet at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: andy.riebs at hpe dot com @ 2020-07-23 17:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96302
Bug ID: 96302
Summary: Linux build of gnat/ada fails for lack of gnatdll
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: andy.riebs at hpe dot com
Target Milestone: ---
In a build with gnat on a Linux system (CentOS 7.x on amd64/x86_64, in my
case), the attempt to install gnatdll results in an error.
For non-Windows users, my work-around for this is
--- gcc/ada/gcc-interface/Make-lang.in.orig 2020-07-22 15:52:11.939013857
-0400
+++ gcc/ada/gcc-interface/Make-lang.in 2020-07-22 15:53:12.665368912 -0400
@@ -838,8 +838,8 @@
$(INSTALL_PROGRAM) $$tool$(exeext)
$(DESTDIR)$(bindir)/$$install_name; \
fi ; \
done; \
- $(RM) $(DESTDIR)$(bindir)/gnatdll$(exeext); \
- $(INSTALL_PROGRAM) gnatdll$(exeext)
$(DESTDIR)$(bindir)/gnatdll$(exeext); \
+# $(RM) $(DESTDIR)$(bindir)/gnatdll$(exeext); \
+# $(INSTALL_PROGRAM) gnatdll$(exeext)
$(DESTDIR)$(bindir)/gnatdll$(exeext); \
fi
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug ada/96302] Linux build of gnat/ada fails for lack of gnatdll
2020-07-23 17:54 [Bug ada/96302] New: Linux build of gnat/ada fails for lack of gnatdll andy.riebs at hpe dot com
@ 2020-07-24 7:05 ` charlet at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: charlet at gcc dot gnu.org @ 2020-07-24 7:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96302
Arnaud Charlet <charlet at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
CC| |charlet at gcc dot gnu.org
--- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
It shouldn't fail since the error is supposed to be ignored:
-if [ -f gnat1$(exeext) ] ; \
[...]
as you can imagine, everyone else would have reported it already if this was
indeed failing. Instead you should have:
<<
/usr/bin/install: cannot stat 'gnatdll': No such file or directory
[...]gcc/ada/gcc-interface/Make-lang.in:749: recipe for target
'ada.install-common' failed
make[4]: [ada.install-common] Error 1 (ignored)
>>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-24 7:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 17:54 [Bug ada/96302] New: Linux build of gnat/ada fails for lack of gnatdll andy.riebs at hpe dot com
2020-07-24 7:05 ` [Bug ada/96302] " charlet at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).