Re: non-PIC build broken on oss-fuzz

  106911
September 9, 2019 07:29 smalyshev@gmail.com (Stanislav Malyshev)
Hi!

> I suspect the problem caused by "-pie" linker flag (It requires all > object files to be build with -fPIE or -fPIC). > To quick fix this, you may add PHP configure flag "--with-pic". > Actually, this should build PHP as before the patch.
I added --with-pic, it didn't change anything, same error. -- Stas Malyshev smalyshev@gmail.com
  106912
September 9, 2019 07:59 cmbecker69@gmx.de ("Christoph M. Becker")
On 09.09.2019 at 09:29, Stanislav Malyshev wrote:

>> I suspect the problem caused by "-pie" linker flag (It requires all >> object files to be build with -fPIE or -fPIC). >> To quick fix this, you may add PHP configure flag "--with-pic". >> Actually, this should build PHP as before the patch. > > I added --with-pic, it didn't change anything, same error.
See <https://github.com/php/php-src/pull/4678#issuecomment-527794074>. -- Christoph M. Becker
  106914
September 9, 2019 08:05 smalyshev@gmail.com (Stanislav Malyshev)
Hi!

>> I added --with-pic, it didn't change anything, same error. > > See <https://github.com/php/php-src/pull/4678#issuecomment-527794074>.
I am sorry, I don't understand how that comment helps. Could you explain a bit further, what needs to be done to make the build work again? configure --with-pic does not help to solve the problem. -- Stas Malyshev smalyshev@gmail.com