aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-01-01 08:36:59 +0100
committerTristan Gingold <tgingold@free.fr>2014-01-01 08:36:59 +0100
commit6ef9b50581989bc7cfcf142cb132a4491c9012a7 (patch)
tree810d397ce7258195bdab706d8377b1a5e10b6f4f
parent876d38444585710c6e9cbe609a56f907d963842f (diff)
downloadghdl-6ef9b50581989bc7cfcf142cb132a4491c9012a7.tar.gz
ghdl-6ef9b50581989bc7cfcf142cb132a4491c9012a7.tar.bz2
ghdl-6ef9b50581989bc7cfcf142cb132a4491c9012a7.zip
Add a note for ppc64 in gcc/README.
-rw-r--r--translate/gcc/README14
1 files changed, 14 insertions, 0 deletions
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.