Before base r319047 -ffast-math is partially broken when joining adjacent sin() + cos() calls. See bug 220590 for discussion and an example fix.
./.libs/libpulsecore-10.0.so: undefined reference to `sincos'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
sincos() is now implemented in current and MFC'ed to stable. Pulseaudio builds on real HW and in pudriere without problems
So i think that I can close this PR.
(In reply to Michal Meloun from comment #1)
> sincos() is now implemented in current and MFC'ed to stable.
Binary packages are built for the *oldest* supported -RELEASE. Strangely, 11.0 seems unaffected. Did I miss a merge to /releng/11.0 ?
>Binary packages are built for the *oldest* supported -RELEASE.
Oups, sorry. I forget about this.
> Strangely, 11.0 seems unaffected. Did I miss a merge to /releng/11.0 ?
Does not have 11.0 older clang? But I only guessing...
Anyway, I re-opening this PR again.
Sorry for noise...
Created attachment 194837 [details]
add -fno-unsafe-math-optimizations after -ffast-math
avoids the use of unimplemented sincos.
Order of flags important. since last one wins. It builds not tested running.
FreeBSD 11.1 has reached EOL on 2018-09-30.