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 <o...@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,";