From owner-freebsd-ports@FreeBSD.ORG Thu Mar 8 11:11:34 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC6F3106566C for ; Thu, 8 Mar 2012 11:11:34 +0000 (UTC) (envelope-from execve@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 21EB88FC13 for ; Thu, 8 Mar 2012 11:11:33 +0000 (UTC) Received: by lagv3 with SMTP id v3so490569lag.13 for ; Thu, 08 Mar 2012 03:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=upgtw9dVxR4P31nyF+4LF05ej0FYEcFCii348WMMY08=; b=SPozizVC8KomYZWl/hTE+gWDsy8q/UGTmTa8p4KJgJC8jIp+VX+04P2jco42zo+8jW dgD1x+2OIaExlfmTrtCRFZs1NIyDtx5MUzvrISZ1QQDlCGJPO0uFzmJ5P/Om8Od/i2Wb GUFgbrbBkM6GVKFsvbfx964dQUjBlFjb2TZOdMf4H0NtcZZk/UTtUjsKED0TJNjwvCFf vAp1lCE/VUlT6ERdqBr+HP+Jhxgx7JqGJOcyyN3BsMSXTXPuJcWgJPE7E9XORj79WEsD PqortS/NYZBaLJYa3GDPUiVX93puXa77xtuqwXZ/h9flxb3MhIkml9FAN555eUDlcZIG wasg== MIME-Version: 1.0 Received: by 10.152.102.228 with SMTP id fr4mr4117761lab.23.1331205092994; Thu, 08 Mar 2012 03:11:32 -0800 (PST) Sender: execve@gmail.com Received: by 10.112.22.97 with HTTP; Thu, 8 Mar 2012 03:11:32 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Mar 2012 16:41:32 +0530 X-Google-Sender-Auth: LxyyXzHFcpZMt9RuX8OvBQ4rfSA Message-ID: From: Gautam To: bf1783@gmail.com, freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: graphics/png does not build with lang/gcc 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: Thu, 08 Mar 2012 11:11:34 -0000 Hi, On Thu, Mar 8, 2012 at 4:27 PM, b. f. wrote: > On 3/8/12, Gautam wrote: > > gcc46 -fpic -DPIC -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 > > -fno-strict-aliasing -I. -std=gnu99 -fstack-protector -c pngpread.c -o > > *** Error code 1 > > 1 error > > *** Error code 1 > > > > Stop in /usr/ports/graphics/png. > > *** Error code 1 > > > > Stop in /usr/ports/graphics/png. > > vmboX# > > Are you adding -fstack-protector to your CFLAGS? > > b. > I dont have any special CFLAGS variables -- empty make.conf, no libmap.conf file. Just using env USE_GCC=4.6 as I indicated in my previous email. -fstack-protector is being auto-added when I make graphics/png. So that is either coming from the port itself or something else. Thanks Gautam