[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274238] Mk/Uses/ada.mk: Setting CC to gnatmake is wrong, use gcc instead"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Oct 2023 13:39:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274238 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=245404&action=edit Fix for CC/GNATMAKE When setting USES=ada:12 CC gets set to gnatmake. This is wrong as it breaks build systems where CC needs to build single C objects. E.g.: https://poudriere.herrhotzenplotz.de/data/release-latest-main/2023-09-30_20h57m21s/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 hack 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 form doesn't allow me to file bugs for the ports framework. Who knows... -- You are receiving this mail because: You are the assignee for the bug.