Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 22:24:45 -0700
From:      Eitan Adler <eadler@freebsd.org>
To:        Adam Weinberger <adamw@adamw.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r365068 - head/devel/libexecinfo
Message-ID:  <CAF6rxgm%2BoexdMWnQ9hBFPyT2qGFK5Rt_buDPAPknEd2TsFo-aA@mail.gmail.com>
In-Reply-To: <A5E7FE4A-76DB-442E-9D3D-4034724422AC@adamw.org>
References:  <201408160902.s7G924qM026298@svn.freebsd.org> <A5E7FE4A-76DB-442E-9D3D-4034724422AC@adamw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 August 2014 15:25, Adam Weinberger <adamw@adamw.org> wrote:
> On 16 Aug, 2014, at 5:02, Eitan Adler <eadler@FreeBSD.org> wrote:
>
>> Author: eadler
>> Date: Sat Aug 16 09:02:04 2014
>> New Revision: 365068
>> URL: http://svnweb.freebsd.org/changeset/ports/365068
>> QAT: https://qat.redports.org/buildarchive/r365068/
>>
>> Log:
>>  Fix bug in libexecinfo by using -fno-omit-framepointer
>>
>>  PR:          191465
>>  Approved by: maintainer timeout (2014-06-28)
>>
>> Modified:
>>  head/devel/libexecinfo/Makefile
>>
>> Modified: head/devel/libexecinfo/Makefile
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>> --- head/devel/libexecinfo/Makefile   Sat Aug 16 07:15:12 2014        (r=
365067)
>> +++ head/devel/libexecinfo/Makefile   Sat Aug 16 09:02:04 2014        (r=
365068)
>> @@ -15,6 +15,7 @@ OPTIONS_DEFINE=3D     DOCS
>>
>> USES=3D         tar:bzip2 uidfix
>> USE_LDCONFIG=3D yes
>> +CPPFLAGS=3D    -fno-omit-frame-pointer
>> MAKE_FLAGS=3D   LIBDIR=3D${PREFIX}/lib \
>>               INCLUDEDIR=3D${PREFIX}/include
>
> CPPFLAGS doesn=E2=80=99t make it through.
> cc -fpic -DPIC  -O2 -pipe  -fno-strict-aliasing   -std=3Dgnu99 -fstack-pr=
otector   -Qunused-arguments -c stacktraverse.c -o stacktraverse.So


Eh, you are right about which variable to use, but it did work for me
(with CPPFLAGS):

cc -fpic -DPIC  -O2 -pipe -fstack-protector -fno-strict-aliasing
-fno-omit-frame-pointer -std=3Dgnu99 -fstack-protector
-Qunused-arguments -c stacktraverse.c -o stacktraverse.

I'll fix this anyways.





--=20
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgm%2BoexdMWnQ9hBFPyT2qGFK5Rt_buDPAPknEd2TsFo-aA>