Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2012 16:41:32 +0530
From:      Gautam <list@execve.net>
To:        bf1783@gmail.com, freebsd-ports@freebsd.org
Subject:   Re: graphics/png does not build with lang/gcc
Message-ID:  <CAD9pFYBPM7N=FrLBxkhC9pXWmcEHqse3GJ6Obk2YDO5V5Lcu-Q@mail.gmail.com>
In-Reply-To: <CAGFTUwMvFj_AfCZz=UdrFc0j7fTVg-8P7U6P1Rpenhcw0PU9Og@mail.gmail.com>
References:  <CAGFTUwPUFdP=Z20%2BbL59qFuh_V6R1R-GcyrK03dxESL6ZyGz7A@mail.gmail.com> <CAD9pFYA-y6u7bCkZvOk=863n4TA6c5tCosP_P%2BBEx5mXRDEprA@mail.gmail.com> <CAGFTUwMvFj_AfCZz=UdrFc0j7fTVg-8P7U6P1Rpenhcw0PU9Og@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,


On Thu, Mar 8, 2012 at 4:27 PM, b. f. <bf1783@googlemail.com> wrote:

> On 3/8/12, Gautam <list@execve.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD9pFYBPM7N=FrLBxkhC9pXWmcEHqse3GJ6Obk2YDO5V5Lcu-Q>