8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
John Paul Adrian Glaubitz
7ba46163c7 Add platform support for Linux/m68k (#51)
* Add generic platform support for Linux/m68k

* Include sem_t when determining values for FB_ALIGNMENT and FB_DOUBLE_ALIGN

On m68k, 'long long' is 16-bit aligned while 'sem_t' is 32-bit aligned
and we must therefore include 'sem_t' when determining the values for
FB_ALIGNMENT and FB_DOUBLE_ALIGN. Otherwise, the futex system call
will fail on these systems.

* Don't try to include headers for __cpuid on non-x86 targets

* Make sure that the version scripts include _IO_stdin_used on Linux

The GNU C library supports two ABIs for libio, one is the pre-2.1
ABI and the other is the current one. In order to determine which
ABI is to be used, the C library checks whether the _IO_stdin_used
symbol is exported by the executable. In case the symbol is present,
the new ABI is assumed, if the symbol is missing, the old ABI is
assumed. Thus, if an application is linked against a modern version
of glibc, it must export the _IO_stdin_used symbol as otherwise the
executable can crash or provoke other unexpected behavior on some
architectures like PowerPC or MIPS because the C library is using
the old ABI in this case.
2016-10-14 13:12:09 +03:00
alexpeshkoff
4ce63669c1 finished fb_inet_server cleanup 2010-04-16 13:33:22 +00:00
alexpeshkoff
04b4781e6c Avoid backslash escapes that behave differently even on different linux boxes 2010-03-15 09:52:53 +00:00
asfernandes
35fadf9056 Fixed the Linux build 2010-03-14 15:58:13 +00:00
alexpeshkoff
fd7232231e Use same export symbol lists for all posix platforms, added script building platform-specific format 2010-03-14 13:44:57 +00:00