From 6ef9b50581989bc7cfcf142cb132a4491c9012a7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 1 Jan 2014 08:36:59 +0100 Subject: Add a note for ppc64 in gcc/README. --- translate/gcc/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'translate') diff --git a/translate/gcc/README b/translate/gcc/README index a2df5d974..1152e9908 100644 --- a/translate/gcc/README +++ b/translate/gcc/README @@ -70,4 +70,18 @@ Please report bugs on https://gna.org/bugs/?group=ghdl If you cannot compile, please report the gcc version, GNAT version and gcc source version. +* Note for ppc64 (and AIX ?) platform: +The object file format contains an identifier for the source language. Because +gcc doesn't know about the VHDL, gcc crashes very early. This could be fixed +with a very simple change in gcc/config/rs6000/rs6000.c, +function rs6000_output_function_epilogue (as of gcc 4.8): + else if (! strcmp (language_string, "GNU Objective-C")) + i = 14; + else +- gcc_unreachable (); ++ i = 0; + fprintf (file, "%d,", i); + + /* 8 single bit fields: global linkage (not set for C extern linkage, + Tristan Gingold. -- cgit v1.2.3