[Bug ada/85635] New: gcc8+: typo in link.c renders gnat unbuildable on non-windows, non hpux
gnugcc at marino dot st
gcc-bugzilla@gcc.gnu.org
Thu May 3 17:52:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
Bug ID: 85635
Summary: gcc8+: typo in link.c renders gnat unbuildable on
non-windows, non hpux
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: gnugcc at marino dot st
Target Milestone: ---
There was a bug introduced at trunk@254573 on (2017-11-09 Pascal Obry
<obry@adacore.com>)
Specifically, a macro condition was modified improperly, resulting in a broken
build on gcc release 8.1 and trunk.
The following (obvious) patch needs to be applied to fix it:
--- gcc/ada/link.c.orig 2018-05-03 17:24:27 UTC
+++ gcc/ada/link.c
@@ -104,7 +104,7 @@ unsigned char __gnat_separate_run_path_o
const char *__gnat_default_libgcc_subdir = "lib";
#elif defined (__FreeBSD__) || defined (__DragonFly__) \
- || defined (__NetBSD__) || defined (__OpenBSD__)
+ || defined (__NetBSD__) || defined (__OpenBSD__) \
|| defined (__QNX__)
const char *__gnat_object_file_option = "-Wl,@";
const char *__gnat_run_path_option = "-Wl,-rpath,";
More information about the Gcc-bugs
mailing list