meson/mesonbuild/compilers
Thierry Reding c4192a04fd Support data types larger than 128 bytes
Recent versions of systemd (starting with v238) started to check for the
existence of the statx structure using the cc.sizeof() operation. The cc
compiler implementation fails to detect this structure because it's size
limit is 128, meaning it will fail for any type larger than 128 bytes in
the following way during cross-compilation checks:

        meson.build:10:2: ERROR: Cross-compile check overflowed

Increase the size limit for data types to 1024 bytes, which should give
plenty of room for even large data structures. This is obviously not
guaranteed to be an upper bound, but given the binary search algorithm
implemented in the cross-compile check, raising the limit too high may
significantly increase the time required for this check on smaller data
types.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-03-25 17:22:05 +03:00
..
__init__.py Add support for Visual Studio csc c# compiler 2018-02-25 01:10:52 +02:00
c.py Support data types larger than 128 bytes 2018-03-25 17:22:05 +03:00
compilers.py Added get_asneeded_args method to Intel compiler. 2018-03-23 21:08:37 +02:00
cpp.py Fix various flake8 indentation reports 2018-03-03 21:35:53 +00:00
cs.py Hide banner when invoking csc. 2018-02-25 02:48:39 +02:00
d.py Use include_directories for D impdirs. 2018-02-25 19:42:15 +02:00
fortran.py Use os.path: basename() and dirname() instead of split() 2018-01-30 07:08:22 +11:00
java.py Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install. 2017-07-21 19:40:54 +03:00
objc.py Add 'Compiler.get_display_language' 2017-06-26 14:15:44 -04:00
objcpp.py Add 'Compiler.get_display_language' 2017-06-26 14:15:44 -04:00
rust.py Add cross-compilation support for `rustc` 2018-01-29 15:47:05 -08:00
swift.py Split out languages from compilers.py 2017-06-23 00:42:41 +01:00
vala.py Fix Vala thread flag breakage (#2756) 2017-12-11 20:28:42 +02:00