chan_capi error after update
Julian H. Stacey
jhs at berklix.com
Mon Feb 22 10:16:34 UTC 2016
Andreas Longwitz wrote:
> 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
In case it might help anyone, I looked on my laptop with 4 MBR slices with
latest minor releases of each major, (3 releases not stables though)
S1 8.4-RELEASE
S3 9.3-RELEASE
S2 10.2-RELEASE
S4 11.0-CURRENT
chroot /s1
head -1 /etc/motd
FreeBSD 8.4-RELEASE (LAPR.small) #0: Fri May 9 02:23:49 CEST 2014
which clang
/usr/local/bin/clang
clang -v
clang version 3.2 (tags/RELEASE_32/final)
Target: amd64-portbld-freebsd8.4
Thread model: posix
which cc
/usr/bin/cc
cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
------
head -1 /etc/motd
FreeBSD 9.3-RELEASE (LAPR.small) #1: Tue Nov 4 22:22:57 CET 2014
which clang
/usr/bin/clang
clang -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd9.3
Thread model: posix
Selected GCC installation:
which cc
/usr/bin/cc
cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
------
head -1 /etc/motd
FreeBSD 10.2-RELEASE (LAPR.small) #0: Tue Jan 19 21:14:45 CET 2016
which clang
/usr/bin/clang
clang -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix
Selected GCC installation:
which cc
/usr/bin/cc
cc -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix
Selected GCC installation:
------
S4 Current:
head -1 /etc/motd
FreeBSD 11.0-CURRENT (GENERIC) #0 r295216M: Thu Feb 4 12:18:23 CET 2016
which clang
/usr/bin/clang
clang -v
FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
Target: x86_64-unknown-freebsd11.0
Thread model: posix
which cc
/usr/bin/cc
cc -v
FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
Target: x86_64-unknown-freebsd11.0
Thread model: posix
------
Cheers,
Julian
--
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich http://berklix.eu/jhs/
Mail plain text, No quoted-printable, HTML, base64, MS.doc.
Prefix old lines '> ' Reply below old, like play script. Break lines by 80.
More information about the freebsd-isdn
mailing list