From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76934 invoked by alias); 15 Apr 2018 18:39:34 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 76913 invoked by uid 89); 15 Apr 2018 18:39:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_40,SPF_PASS autolearn=ham version=3.3.2 spammy=integrate, proceeds, moment, suddenly X-HELO: vsmx011.vodafonemail.xion.oxcs.net Received: from Unknown (HELO vsmx011.vodafonemail.xion.oxcs.net) (153.92.174.89) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 15 Apr 2018 18:39:30 +0000 Received: from vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 601D23E0C1A for ; Sun, 15 Apr 2018 18:39:22 +0000 (UTC) Received: from Gertrud (unknown [91.47.59.44]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 3FC853000E5 for ; Sun, 15 Apr 2018 18:39:20 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: FORTIFY_SOURCE Date: Sun, 15 Apr 2018 18:39:00 -0000 Message-ID: <87o9ik5n70.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-SW-Source: 2018-04/txt/msg00023.txt.bz2 Perl and Cygwin do not exactly play together at the moment, but I haven't been able to track down where that happens. Perl configure recognizes FORTIFY_SOURCE=2 proceeds to integrate that knowledge into Config_heavy.pl. For whatever reason it decded to use "-Wp,-D_FORTIFY_SOURCE=2" to do that (which works just fine). But when compiling something through ExtUtils::Embed in the just built perl that option suddenly ends up as just "-Wp," and hangs up the compiler. If I rename the defined symbol to "FORCIFY_SOURCE" then it stays in the call to gcc, so it's specific to that symbol. I think that's happening somewhere in ExtUtils, but I'd like to ask if maybe there is some magic going on from the Cygwin / gcc side to remove that definition? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs