diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-01-01 17:55:56 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-01-01 17:55:56 +0100 |
commit | 2c2353cf5ee58980668d7cdf0a5119c2455d9b51 (patch) | |
tree | 77a5d0916711df14be3a786b58adc3b1e7c6cbc1 | |
parent | 1185783f6e8c1d65bf1207028dfe6f5163e188b5 (diff) | |
download | ghdl-2c2353cf5ee58980668d7cdf0a5119c2455d9b51.tar.gz ghdl-2c2353cf5ee58980668d7cdf0a5119c2455d9b51.tar.bz2 ghdl-2c2353cf5ee58980668d7cdf0a5119c2455d9b51.zip |
Doc: add a note about -no-pie for gcc builds.
-rw-r--r-- | doc/building/gcc/index.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/building/gcc/index.rst b/doc/building/gcc/index.rst index f3d1a3123..e579bceb8 100644 --- a/doc/building/gcc/index.rst +++ b/doc/building/gcc/index.rst @@ -33,6 +33,9 @@ GCC Backend AGCC_GCCSRC_DIR=/path/to/gcc/sources AGCC_GCCOBJ_DIR=/path/to/gcc/build + If your system gcc was built with ``--enable-default-pie``, add + ``-no-pie`` option for linking. + .. HINT :: For ppc64 (and AIX ?) platform, the object file format contains an identifier for the source language. Because gcc doesn't know about 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): .. CODE:: C |