[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprofng/30808] gprofng tests failed
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gprofng/30808] gprofng tests failed |
Date: |
Thu, 18 Jan 2024 18:33:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30808
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Sourceware Commits from comment #1)
> The master branch has been updated by Vladimir Mezentsev
> <vmezents@sourceware.org>:
>
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=a13e4c5c10d1a13d9128d033c9525810e876ac14
>
> commit a13e4c5c10d1a13d9128d033c9525810e876ac14
> Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
> Date: Thu Aug 31 16:26:59 2023 -0700
>
> Fix 30808 gprofng tests failed
>
> In gprofng testing, we need a tempory gprofng installation to resolve
> run-time
> dependencies on libraries (libgprofng, libopcodes, libbfd, etc).
> We set LD_LIBRARY_PATH and GPROFNG_SYSCONFDIR to find our libraries and
> configuration file. These variables must be set for all gprofng tests.
>
> Tested on aarch64 and x86_64 with and without --enable-shared and
> --target=<>.
>
> gprofng/ChangeLog
> 2023-08-31 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>
> PR gprofng/30808
> * testsuite/config/default.exp: Make a temporary install dir.
> Set LD_LIBRARY_PATH, GPROFNG_SYSCONFDIR.
> * testsuite/lib/Makefile.skel: Move LD_LIBRARY_PATH and
> GPROFNG_SYSCONFDIR setting in testsuite/config/default.exp.
This is wrong. You should set up LD_LIBRARY_PATH pointing to the build
directories which contain needed shared libraries. Please see how it is
done in GCC test.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gprofng/30808] gprofng tests failed,
hjl.tools at gmail dot com <=
- [Bug gprofng/30808] gprofng tests failed, vladimir.mezentsev at oracle dot com, 2024/01/18
- [Bug gprofng/30808] gprofng tests failed, sam at gentoo dot org, 2024/01/20
- [Bug gprofng/30808] gprofng tests failed, cvs-commit at gcc dot gnu.org, 2024/01/22
- [Bug gprofng/30808] gprofng tests failed, cvs-commit at gcc dot gnu.org, 2024/01/22
- [Bug gprofng/30808] gprofng tests failed, cvs-commit at gcc dot gnu.org, 2024/01/23
- [Bug gprofng/30808] gprofng tests failed, vladimir.mezentsev at oracle dot com, 2024/01/23