Add platform support for m68k #39
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
This pull request adds generic Linux/m68k platform support to Firebird 2.5. The first patch by me just adds the necessary platform definitions for Linux/m68k while the second patch by Michael Karcher fixes the alignment of 'sem_t' on m68k which is different to the alignment of 'long long' which resulted in the futex system call failing with "The futex facility returned an unexpected error code.Aborted".
See Debian bug report 828141 [1] for more details.
These two patches currently address Firebird 2.5 only since this is the currently used version of Firebird in Debian unstable. We have 3.0 in Debian experimental, but I haven't found the time yet to test Firebird 3.0 on Linux/m68k. However, I am planning to do this within the next days so that I can provide patches against the 3.0 branch and hopefully also master.
Thanks,
Adrian