Re: non-PIC build broken on oss-fuzz

September 9, 2019 08:03 (Stanislav Malyshev)

On 9/9/19 12:57 AM, Dmitry Stogov wrote:
> how do you add "-pie" flag?
I do not. I just compile PHP. The script used to configure and build it is here: There are no special flags there as far as I can see. The fuzzing SAPI lives here: The compiler used is clang. You can reproduce the build by using Docker and these instructions: Specifically: python infra/ build_image php python infra/ build_fuzzers --sanitizer address php or, if you want to see the details, instead of second command, use: python infra/ shell php and then: compile -- Stas Malyshev