-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship libdcsctp4j.so for ppc64le #6
Comments
Unfortunately, the dcsctp library comes from Google's libwebrtc, which does not support building on PPC. I know that Debian has a patchset to build libwebrtc on PPC, but I don't know how hard it would be to adapt to the build process we're using, which pulls from the main Google repo. |
Ah, I see, thanks. Is there an upstream feature request for ppc64le support we can link to here?
If `dcsctp4j` is mandatory for Jitsi now, I will try to figure out the best way to make it work on Debian ppc64le, in lieu of upstream support.
|
As a note, it is still possible to use the usrsctp library via user configuration options, so we suggest users who require both SCTP and PPC use that method instead of dcsctp. |
I think the WebRTC issue to support ppc is at https://issues.webrtc.org/issues/42224432, though it's currently marked "wontfix". |
Thank you for the link; that looks like a patch for big-endian support. But the WebRTC maintainer seems receptive to a working patch for ppc64 and/or ppc64le. Jitsi would be a good "test case" to help validate a proposed upstream patch. (Not suggesting Jitsi maintainers work on this, just pointing it out to others who may read this.)
Also good to know about the `usrsctp` configuration option, thank you.
|
I'm the maintainer of the Debian patchset; we just hit this on multiple servers due to the Jitsi change to dcsctp. How can I help with support? |
I am trying to get Jitsi working again on
I am attempting to build the
At this point I will attempt to hack my checkout to build against the |
That said, the WebRTC library as shipped by Google doesn't support ppc64le, so the script ultimately won't work for you anyway. You may be able to build it using the Debian patched version, but I'm not sure. Our build process automatically rebuilds the libraries on our build machines at each commit to main, so to get ppc support into main, we'd need to make it possible to apply the patches automatically, including being able to cross-build (since we don't have PPC build machines). Given all that, a simpler fix would be to just change the default jitsi-videobridge configuration to use usrsctp rather than dcsctp on ppc64le, since that's still supported. |
OK, thank you @JonathanLennox. Are you able to paste the configuration fragment required to use Separately, if Can someone please paste a URL to the |
This pull request should automatically modify the videobridge config file on Debian/ppc64le to use usrsctp: jitsi/jitsi-videobridge#2214. Please let me know if that works, or if you see any issues with it. If you want to modify the config file manually, the hocon config path is The Debian patches for libwebrtc seem to be part of the Debian Chromium package. See https://salsa.debian.org/chromium-team/chromium/-/tree/master/debian/patches/ppc64le?ref_type=heads . (I think these patches may only support native ppc64le builds, though, not cross-compilation?) |
Thank you! When I get the next chance to work on my configuration I will try installing |
I'm very nervous about this; if we are the only user of |
|
While verifying jitsi/jitsi-srtp#49 I noticed that
dcsctp4j
does not yet have native objects forppc64le
:Are there plans to include
ppc64le
binaries at some point?The text was updated successfully, but these errors were encountered: