-
-
Notifications
You must be signed in to change notification settings - Fork 234
bundled libcds breaks build on s390x #7395
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
Comments
Appears s390 is not supported by libcds. |
@AlexPeshkoff , your access to our public s390x machine should still work. Also, where is libcds coming from? I would take a look what might be missing there for the s390x support. |
CDS here means "concurrent data structures". It's a library that provides lock-less multi-threaded access to various traditional data structure (like linked list, etc) using first of all hazard pointers technique. Sources are @github: https://github.com/khizmax/libcds. As far as I can see on Debian it's ported to almost all HW - except s390. |
Thanks, after a brief look it might be feasible to add s390x support with only minimal changes. OpenMainframe Projects's Linux Distribution Working Group might be able to help with the porting as well. |
Appears that from out side will be very useful to make it possible to use system (not bundled) libcds |
I have some preliminary patch that add s390x support, need to figure out how the test-suite is run to achieve some level of confidence in the fix :-) |
You mean internal CDS tests? |
yes, seems they need to be enabled |
Just remember that Vlad modified libcds sources in the Firebird tree. |
Even without custom modifications it is hard to impossible to guarantee equality of library-specific defines that used in our code and that used to build system library. We have similar case with ttmath, iirc. |
s390x support for libcds has been proposed in khizmax/libcds#177 |
Added patch to bundled library. Use of system library is suspicious for 2 reasons - first, patch required for firebird remains non-processed by upstream since Aug-2021. Next we anyway need non-default parameters of cds which is hardly the case for system library. |
Make sense, thanks. Using the system library could be reconsidered when upstream will be alive. @pmakowski, for the record, we will need |
May we close this ticket as resolved now? |
yes |
Per our CI a recent commit (most likely d2795cc) breaks build on Fedora/s390x platform.
from the build log
The text was updated successfully, but these errors were encountered: