Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106919 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29782 invoked from network); 9 Sep 2019 20:07:32 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 9 Sep 2019 20:07:32 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id BA9332D2012 for ; Mon, 9 Sep 2019 10:42:43 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Mon, 9 Sep 2019 10:42:43 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id f19so6832433plr.3 for ; Mon, 09 Sep 2019 10:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pteNwjOIq08tz2Fs3gN5BD7yveURog0PrHpfkCM8au8=; b=q5an1ohGw+1pqpc0Ce5az9WIAeEt40gkurz/2pu2hoh/IVY02RJ0Hth6zER4XlVN0R raDkg4yD/lpdw7ddhEMgVmkULz+EOnRZw7wbjtSGuJIUz7J93+gzd72xSMXSYkvF3DOd Uscp2OvIPoXnlARATvBfQGQvxrcOP/Ghv9rDjzSEZv8xs4c9l6YqlCRvijuWnFfI9RhH 8SsXe4ZJ00SRrK9uAtsYpE/gDD4O6pX0QJ8HcV/2zfwkfTsgaKmLLRspCo+hum0wN9WL LEK6QXDpgGfuar+5MI6tUVlknTyMDtG+mH3z/NIMYqmGq/0TdPJ0zqQY+FFB3s3/2Wm/ jFvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pteNwjOIq08tz2Fs3gN5BD7yveURog0PrHpfkCM8au8=; b=TFanv7mWoFGos2WVGVp/3dxCPdckGrDAM+KvSDnsxnuR8cs4TU0d5wijGJGW72uJkQ 2+68STpXxYZZQjqCiPuufS9BGU0pg0Fn8TSIW/+UGpsLaRyS7tpUvRtsFsm6mfi9Gcnz VV8h56hbPY2fJ5NAKKepkERdo20mCDPa5ZQW5so2XBiR4GUpdWjAdwVdI134bj/xFTPD IDF/f4pw/0i6F7RtqgI/BKVui3s4XvXOLp6hL3rHlIGMupi/zzrvaEN9CfTwyIPo/+hS IyOjepbwTvlHxfcr8KBWdoTXKB9YOpaO22mMrI7b4gntMOV0pgRuhYRqZOcdTvc2rEoU H62Q== X-Gm-Message-State: APjAAAWwETg998fmD/DD0DtTd7lUarUOHeLHcxIzpsO2zJZl5Yvbm6T9 BmJd0SoX+N0P8lTYc8uw/fcJNY2YSxuaIIGbkMk= X-Google-Smtp-Source: APXvYqyJmPUVh7qibDNrtIlX1mhA8ORugg1+WpysvFFKEKj1eWPR/UwvYFj0jMNluEXhYWsu/OcNuhXLhBF8ecT8PcY= X-Received: by 2002:a17:902:8d87:: with SMTP id v7mr4385999plo.229.1568050962249; Mon, 09 Sep 2019 10:42:42 -0700 (PDT) MIME-Version: 1.0 References: <7b8e8bbd-bdb2-6c17-7f6f-d2e8b5a9b00d@gmail.com> In-Reply-To: <7b8e8bbd-bdb2-6c17-7f6f-d2e8b5a9b00d@gmail.com> Date: Mon, 9 Sep 2019 10:42:31 -0700 Message-ID: To: Stanislav Malyshev Cc: PHP Internals , Dmitry Stogov Content-Type: multipart/alternative; boundary="000000000000983e5105922250df" X-Envelope-From: Subject: Re: [PHP-DEV] non-PIC build broken on oss-fuzz From: mo.mu.wss@gmail.com ("M. W. Moe") --000000000000983e5105922250df Content-Type: text/plain; charset="UTF-8" You try to mix static and dynamic linkage; there is something wrong regarding the setup of target platform; enumerate details about flavors. On Sun, Sep 8, 2019 at 10:13 PM Stanislav Malyshev wrote: > Hi! > > Looks like commit eef85229d0fe9f69d325aa0231e592f35c468afb broke > oss-fuzz builds: > > https://oss-fuzz-build-logs.storage.googleapis.com/log-66ab74a7-4ece-4e14-b21b-f60527dd7244.txt > > The error message is: > > Step #4: /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `php_stripslashes' > with pointer equality in `ext/standard/string.o' can not be used when > making an executable; recompile with -fPIE and relink with -pie > Step #4: clang-10: error: linker command failed with exit code 1 (use -v > to see invocation) > Step #4: make: *** [sapi/cli/php] Error 1 > Step #4: Makefile:264: recipe for target 'sapi/cli/php' failed > > I'm not sure I understand what's going on here - I suspect the non-PIC > build somehow conflicts with stripslashes optimizations, but I don't > know the details. May be specific to clan builds... > -- > Stas Malyshev > smalyshev@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000000000000983e5105922250df--