From 2c2353cf5ee58980668d7cdf0a5119c2455d9b51 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 1 Jan 2019 17:55:56 +0100 Subject: Doc: add a note about -no-pie for gcc builds. --- doc/building/gcc/index.rst | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3