Bug 221182 - audio/pulseaudio: fails to build on 11.0 and 11.1 armv6 (76 ports skipped)
Summary: audio/pulseaudio: fails to build on 11.0 and 11.1 armv6 (76 ports skipped)
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2017-08-02 17:38 UTC by Jan Beich
Modified: 2018-10-10 21:41 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
add -fno-unsafe-math-optimizations after -ffast-math (945 bytes, patch)
2018-07-02 15:35 UTC, Jesper Schmitz Mouridsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2017-08-02 17:38:51 UTC
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
Comment 1 Michal Meloun freebsd_committer 2017-11-06 07:28:43 UTC
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.
Comment 2 Jan Beich freebsd_committer 2017-11-06 08:33:51 UTC
(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
Comment 3 Michal Meloun freebsd_committer 2017-11-06 08:45:02 UTC
>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...
Comment 4 Jesper Schmitz Mouridsen freebsd_committer 2018-07-02 15:35:22 UTC
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.
Comment 5 Jan Beich freebsd_committer 2018-10-10 21:41:13 UTC
FreeBSD 11.1 has reached EOL on 2018-09-30.