From owner-freebsd-ports@FreeBSD.ORG Tue Jun 22 05:44:04 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB1C1065670; Tue, 22 Jun 2010 05:44:04 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.211.181]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3F88FC19; Tue, 22 Jun 2010 05:44:04 +0000 (UTC) Received: by ywh11 with SMTP id 11so3259291ywh.7 for ; Mon, 21 Jun 2010 22:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0CV3s7qvoLnrc4AXnnr8Jwzzr2kcHwmMrBv4DHNepDg=; b=eOugM+V/IaWmIgsBSxy/ymQ2GIVqcRNoKYypuI1PyzEKnmxzkNPI3TB4XtFfglxVqw S7Tz5wXcWmzReyAFr/n9z2Jug357pp8HKCDyXbVgU1oQGnssLw40HdtGafWcqc0XG6N3 qSsm7Sc6Qi98vhe9KMRWOm8kEX/atxfdo3zdI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=S111PRP4JMPDAM2TXK108qJeo2XF0pUEHnNsd7VKDpuoyAS2KF8JLtwRRfpgRkvajc YTT9oFYtFZdVj4LttHXyPAHGDEZBEPbSp5PP3UiXNQDQqzVr1c3SQnRaYgIVAuugW2RV nsHE0PVERXH5vsq3C3dyPAq1tn1VP/HYbpers= MIME-Version: 1.0 Received: by 10.229.186.4 with SMTP id cq4mr3098360qcb.236.1277185443371; Mon, 21 Jun 2010 22:44:03 -0700 (PDT) Received: by 10.229.80.75 with HTTP; Mon, 21 Jun 2010 22:44:03 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Jun 2010 22:44:03 -0700 Message-ID: From: Garrett Cooper To: bf1783@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: dougb@freebsd.org, freebsd-ports@freebsd.org Subject: Re: lang/perl5.10 doesn't build with gcc 4.5.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 05:44:04 -0000 On Sat, Jun 19, 2010 at 8:25 AM, b. f. wrote: > lang/perl5.* fails with -fstack-protector in CFLAGS, when built with > the base system compiler, on some architectures. I used the attached > patch with the base system compiler and lang/perl5.10 on 9-CURRENT > i386 to fix the problem. =A0However, I never attempted to use it with > lang/gcc45, because I did not want to introduce circular dependencies > in my ports. =A0Your problem may be related. This patch's logic is inverted: $ make -f Makefile.cflags_test -fstack-protector -fstack-protector-all $ cat Makefile.cflags_test CFLAGS+=3D -fstack-protector -fstack-protector-all -funroll-loops all: @echo ${CFLAGS:M-fstack-protector*} I think you wanted :N... HTH, -Garrett