From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 759DA385803D; Mon, 8 Jan 2024 22:43:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 759DA385803D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704753821; bh=39ME8K5RVY0VX/Tbg/AFvPJwTcVWOrHn80r6EtNw1f0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jid4YKdYZXKo9qvyHLegancV/XooS6exctVebFQtfixAsvINIMuBQxMR63EPAiycR l4KtClJDEU15Jl3mE3Nqma5NzYCUC6dpv9T0+WJdmUF9aLhZKdGl9m/kXKymdCyNg4 K6bQubIhVmKiH37/Jbcb5ublpynr0XT39mJzSArc= From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/113192] [11/12/13/14 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory Date: Mon, 08 Jan 2024 22:43:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113192 --- Comment #5 from dave.anglin at bell dot net --- On 2024-01-08 3:49 p.m., jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113192 > > --- Comment #4 from Jakub Jelinek --- > What about: > --- libgomp/configure.ac.jj 2023-11-02 07:49:21.693801244 +0100 > +++ libgomp/configure.ac 2024-01-08 21:46:21.014765685 +0100 > @@ -343,7 +343,7 @@ AX_COUNT_CPUS > AC_CHECK_PROGS(FLOCK, flock) > # Fallback if 'perl' is available. > if test -z "$FLOCK"; then > - AC_CHECK_PROG(FLOCK, perl, $srcdir/testsuite/flock) > + AC_CHECK_PROG(FLOCK, perl, \$(abs_top_srcdir)/testsuite/flock) > fi > > AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET) > --- libgomp/configure.jj 2024-01-06 02:29:24.566795886 +0100 > +++ libgomp/configure 2024-01-08 21:46:23.799726387 +0100 > @@ -16655,7 +16655,7 @@ do > test -z "$as_dir" && as_dir=3D. > for ac_exec_ext in '' $ac_executable_extensions; do > if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then > - ac_cv_prog_FLOCK=3D"$srcdir/testsuite/flock" > + ac_cv_prog_FLOCK=3D"\$(abs_top_srcdir)/testsuite/flock" > $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_ex= ec_ext" >> &5 > break 2 > fi > Works. Thanks, Dave=