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) https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170731/511437.html
sincos() is now implemented in current and MFC'ed to stable. Pulseaudio builds on real HW and in pudriere without problems (http://beefy8.nyi.freebsd.org/data/head-armv6-default/p452038_s324613/logs/pulseaudio-11.0_1.log). 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 ? http://beefy15.nyi.freebsd.org/data/latest-per-pkg/pulseaudio/11.0_1/110armv6-quarterly.log
>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.