Age | Commit message (Collapse) | Author | Files | Lines |
|
If object is not built pic, trying to link it into libshr.so fails:
[6/8] Linking target libshr.so.
FAILED: libshr.so
gcc -o libshr.so 'shr@sha/source2.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libshr.so -Wl,--end-group
Text relocation remains referenced
against symbol offset in file
.text (section) 0x20 shr@sha/source2.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
If the linker doesn't support --export-dynamic, skip test to deduplicate
it, since it always fails finding 0 copies instead of 1.
|
|
Since mesonbuild/environment.py doesn't recognize Studio compilers,
force use of gcc on Solaris for now.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Solaris linker added support for GNU-style --version-script in Solaris 11.4,
but requires adding the -z gnu-version-script-compat flag to enable it.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Accept Solaris linker in addition to GNU linker. Previously using the
system provided gcc (which calls the Solaris linker) caused it to fail with:
======================================================================
FAIL: test_compiler_detection (__main__.AllPlatformTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "run_unittests.py", line 2525, in test_compiler_detection
self.assertIsInstance(cc.linker, mesonbuild.linkers.GnuLikeDynamicLinkerMixin)
AssertionError: <SolarisDynamicLinker: v9.2.0 `gcc`> is not an instance of <class 'mesonbuild.linkers.GnuLikeDynamicLinkerMixin'>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
So we can lint it with mypy
|
|
This means that we don't need work arounds for D-like compilers, as the
special c-like hanlding wont be used for D compilers.
|
|
Since the CompileArgs class already needs to know about the compiler,
and we really need at least per-lanaguage if not per-compiler
CompilerArgs classes, let's get the CompilerArgs instance from the
compiler using a method.
|
|
I've also moved this out of the compilers pacakge because we're soon
going to need it in linkers, and that creates some serious spagetti
|
|
|
|
|
|
Closes: https://github.com/mesonbuild/meson/issues/7352
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
|
|
Copy a tree instead of extracting an archive.
Closes: #7216
|
|
|
|
Add SuperH SH-4 support
|
|
|
|
|
|
|
|
Fixes: #7358
|
|
It's close, but not quite. This should make it easier to read
|
|
Update Users.md with the add of Siril (www.siril.org) that is migrating from autotools to meson.
|
|
coverage: llvm-cov support
|
|
|
|
This is a regression introduced by #5489
|
|
|
|
|
|
|
|
|
|
It's one of the causes of the cmake test failures, and it's also
plaguing the VS2019 jobs now because of the image update.
|
|
|
|
|
|
|
|
|
|
This new command line option allows specifying dependencies for
which to force fallback.
See the documentation for more information
Fixes: #7218
|
|
Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
|
|
Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
|
|
Fixes: #7130
|
|
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
|
|
It is available since RPM 4.15 which has been around 1 year by now.
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
|
|
|
|
on some systems, tests may take over an hour to run--only to find
you might have used an unintended Meson version (e.g. release instead
of dev). This change prints the Meson version at the start of the
run_*tests*.py scripts.
Also, raise SystemExit(main()) is preferred in general over
sys.exit(main())
|
|
|
|
add four-digit version unit_test cases
|
|
we did the same thing earlier with other Fortran tests for the same
reason.
|
|
When changing meson option cpp_eh, it was passed to cl with AdditionalOptions and resulted in unsuppressable warning "cl : command line warning D9025: overriding '/EHs' with '/EHa'"
|
|
|
|
See also #7307 #7314 #7316
cc @nirbheek
|
|
Fixes https://github.com/mesonbuild/meson/issues/7265
|
|
used with Issue #7265
|