svn commit: r365068 - head/devel/libexecinfo

Eitan Adler eadler at freebsd.org
Sun Aug 17 05:25:17 UTC 2014


On 16 August 2014 15:25, Adam Weinberger <adamw at adamw.org> wrote:
> On 16 Aug, 2014, at 5:02, Eitan Adler <eadler at 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
>> ==============================================================================
>> --- head/devel/libexecinfo/Makefile   Sat Aug 16 07:15:12 2014        (r365067)
>> +++ head/devel/libexecinfo/Makefile   Sat Aug 16 09:02:04 2014        (r365068)
>> @@ -15,6 +15,7 @@ OPTIONS_DEFINE=     DOCS
>>
>> USES=         tar:bzip2 uidfix
>> USE_LDCONFIG= yes
>> +CPPFLAGS=    -fno-omit-frame-pointer
>> MAKE_FLAGS=   LIBDIR=${PREFIX}/lib \
>>               INCLUDEDIR=${PREFIX}/include
>
> CPPFLAGS doesn’t make it through.
> cc -fpic -DPIC  -O2 -pipe  -fno-strict-aliasing   -std=gnu99 -fstack-protector   -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=gnu99 -fstack-protector
-Qunused-arguments -c stacktraverse.c -o stacktraverse.

I'll fix this anyways.





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


More information about the svn-ports-all mailing list