Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2016 09:38:59 +0100
From:      Andreas Longwitz <longwitz@incore.de>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: chan_capi error after update
Message-ID:  <56CAC923.8030704@incore.de>
In-Reply-To: <56CAB08C.7000309@selasky.org>
References:  <56C6E0D4.5060603@incore.de> <56C74704.6060606@selasky.org> <56C83752.6080708@selasky.org> <56C87494.6020605@incore.de> <56C87F06.1070504@selasky.org> <56C88301.3060104@selasky.org> <56C89326.4030803@incore.de> <56C895EA.5000404@selasky.org> <56CA4059.7060601@incore.de> <56CAB08C.7000309@selasky.org>

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

>> because I have
>>
>>    ASTCFLAGS+=-DDEBUG_THREADS -DBETTER_BACKTRACES -DNO_OPTIMIZE
>>
>> in the configure step. Then I found PR/193610 which includes your
>> comment to the compiler flag "-fno-omit-frame-pointer". After adding
>> this flag to the asterisk18 Makefile the dumps are gone and on my
>> (small) test machine everything works as expected.
>>
>> Maybe it is better to use this flag for chan_capi too ?
>>
> 
> I've now created version 2.0.17 of chan_capi and that also includes an
> option to use clang to compile it, which supports the -fblocks argument.
> I think 8.4-stable has the clang compiler?

No, I use FreeBSD 8 (no clang) and 10 (has clang). My asterisk version
from from port branch 2014Q4 has the entry "USE_GCC=YES" in his Makefile
independent of OS version.


-- 
Andreas Longwitz





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56CAC923.8030704>