Summary: | dev-util/meson-0.48.2 - test_static_library_lto error - In function `main': <artificial>:(.text+0x1c): undefined reference to `func' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leio, paolo.pedroni, slyfox, sparc, toolchain, whissi, williamh |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=673016 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log x86 build.log amd64 |
Description
Rolf Eike Beer
![]() These failures probably indicate some bug or limitation in the sparc toolchain, and are probably not regressions from current stable. <Dakon> floppym: 0.47.1 fails test_cross_file_system_paths and test_static_library_lto So test_static_library_lto is not a regression from stable. test_generate_gir_with_address_sanitizer is a new test added in meson-0.48. Neither test fails on amd64. These are caused by toolchain issues on sparc. Created attachment 557468 [details]
build.log x86
Same failures on x86.
(In reply to Thomas Deutschmann from comment #3) Not a stable blocker. Since the issues are reproducible on x86, I can try to do some troubleshooting in a container. I didn't look at the failures or the ebuild but would guess asan is not compatible with sandbox and one of them needs to be disabled: bug #613606 I have test failures on amd64: FAILED: gir/dep1/dep2/MesonDep2-1.0.gir ==16245==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. Command '['/tmp/portage/dev-util/meson-0.48.2/temp/tmpwejd58go/tmp-introspect03qesjvu/MesonDep2-1.0', '--introspect-dump=/tmp/portage/dev-util/meson-0.48.2/temp/tmpwejd58go/tmp-introspect03qesjvu/functions.txt,/tmp/portage/dev-util/meson-0.48.2/temp/tmpwejd58go/tmp-introspect03qesjvu/dump.xml']' returned non-zero exit status 1. ERROR: test_generate_gir_with_address_sanitizer (__main__.LinuxlikeTests) So I can hit gir/dep1/dep2/MesonDep2-1.0.gir on amd64 as well. Created attachment 557658 [details]
build.log amd64
I can confirm that test_generate_gir_with_address_sanitizer is caused by the sandbox. It passes with FEATURES="-usersandbox". I will create a separate bug to track that issue, and limit this one to test_static_library_lto. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5be533cba84cd5f5eeedb47ac88aea8640fef6 commit 0f5be533cba84cd5f5eeedb47ac88aea8640fef6 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-12-13 17:11:37 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2018-12-13 17:12:24 +0000 dev-util/meson: add workaround for test_static_library_lto Closes: https://bugs.gentoo.org/672706 Package-Manager: Portage-2.3.52_p8, Repoman-2.3.12_p20 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-util/meson/meson-0.48.2.ebuild | 12 +++++++++++- dev-util/meson/meson-0.49.0.ebuild | 12 +++++++++++- dev-util/meson/meson-9999.ebuild | 12 +++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) |