| Summary: | [patch] net/asterisk13: Unbreak build on ARMv[67] | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Michal Meloun <mmel> | ||||
| Component: | Individual Port(s) | Assignee: | Guido Falsi <madpilot> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | linimon | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | Flags: | madpilot:
maintainer-feedback+
|
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Michal Meloun
2017-11-06 14:39:50 UTC
Thanks for the information and patch. I was planning to better test asterisk on arm again and you beat me to it. I'll test it myself and commit this soon, please allow me some time for testing. I'm hitting a roadblock testing this. I'm using a poudriere armv6 jail with FreeBSD 11.1. The build fails on a few dependent ports with "sincos" missing symbol errors. I'm using armv6 jails very little lately, I did test more with them in the past, so I'm not sure what is wrong with it. If you have any pointers which could help me that would be useful to make things faster. you can add: CFLAGS+= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl CXXFLAGS+=-fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl to /etc/make.conf Ahh, I forget to this. sincoc(3) was added to libc recently, then MFC'ed to stable/11 (after 11.2 release). I'm not sure if this patch is applicable to anything other that head - sincos() is missing in too many packages :(. For poudriere speedup, you can update your armv6 jail with -x. With this switch, poudriere builds and uses many native binaries(sh, clang,..). (In reply to Michal Meloun from comment #4) > Ahh, I forget to this. sincoc(3) was added to libc recently, then MFC'ed to > stable/11 (after 11.2 release). I'm not sure if this patch is applicable to > anything other that head - sincos() is missing in too many packages :(. > Sorry for the delay. I'm holding this change for a little, while I figure out the best way to deploy it. If users will not be able anyway to use asterisk due to this sincos() problem, there's no hurry anyway. Some time ago I was actually able to use it on a raspberry Pi2, but maybe something has happened in a while, I just need time to setup a proper testing environment. > For poudriere speedup, you can update your armv6 jail with -x. With this > switch, poudriere builds and uses many native binaries(sh, clang,..). Already done that. But I'm seeing failures on dependencies, I need to understand if they can be worked around, maybe disabling some options. batch change of PRs untouched in 2018 marked "in progress" back to open. Committed as part of r455173. |