Date: Tue, 03 Oct 2023 13:39:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead Message-ID: <bug-274238-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274238 Bug ID: 274238 Summary: Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: nsonack@outlook.com Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 245404 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245404&action= =3Dedit Fix for CC/GNATMAKE When setting USES=3Dada:12 CC gets set to gnatmake. This is wrong as it bre= aks build systems where CC needs to build single C objects. E.g.: https://poudriere.herrhotzenplotz.de/data/release-latest-main/2023-09-30_20= h57m21s/logs/errors/ghdl-3.0.0_2.log This patch instead sets CC to gcc and GNATMAKE to gnatmake. I needed to do this in order to get cad/ghdl to build with lang/gnat12. I have not tested this with any other ports but I assume that this was a ha= ck for some other port. Therefore ports that depend on this hack may need to be patched separately,= the current USES ada.mk is simply wrong. I will cross-link the bugs related to this later as I submit them. NOTE: I had to file the bug in "Individual Ports" because the submission fo= rm doesn't allow me to file bugs for the ports framework. Who knows... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274238-7788>