On Mon, Oct 20, 2025 at 6:27 AM Josef Melcr <[email protected]> wrote:
>
> Hi,
>
> On 10/19/25 23:25, H.J. Lu wrote:
> > On Fri, Oct 17, 2025 at 5:40 PM Josef Melcr <[email protected]> wrote:
> >> gcc/testsuite/ChangeLog:
> >>
> >>          * gcc.dg/ipa/ipcp-cb-spec1.c: New test.
> >>          * gcc.dg/ipa/ipcp-cb-spec2.c: New test.
> >>          * gcc.dg/ipa/ipcp-cb1.c: New test.
> > These run-time tests should be moved to libgomp to avoid
> >
> > xgcc: fatal error: cannot read spec file 'libgomp.spec': No such file
> > or directory
> > compilation terminated.
> > compiler exited with status 1
> > FAIL: gcc.dg/ipa/ipcp-cb1.c (test for excess errors)
>
> Will do, sorry if it caused any issues.  Could you please elaborate on
> what the problem is and possibly how to reproduce it?  I have not
> encountered it during my testing.

The run-time gomp tests use libgomp.spec which is available in
the libgomp build directory.   You didn't see the issue since you
have installed GCC 16 before.   You will see the problem if you
remove the installed GCC 16.   I have

[hjl@gnu-tgl-3 gcc]$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: x86_64-pc-linux-gnu
Configured with: /export/gnu/import/git/gitlab/x86-gcc/configure
--disable-bootstrap --enable-cet --with-demangler-in-ld
--prefix=/usr/gcc-16.0.0-x86-64 --with-local-prefix=/usr/local
--enable-gnu-indirect-function --enable-clocale=gnu --with-system-zlib
--with-target-system-zlib --with-fpmath=sse --with-tls=gnu2
--disable-libcc1 --disable-libcilkrts --disable-libsanitizer
--enable-languages=c,c++,fortran
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20251019 (experimental) (GCC)
[hjl@gnu-tgl-3 gcc]$

But there is no /usr/gcc-16.0.0-x86-64  since it hasn't been installed yet.

>
> Best regards,
>
> Josef
>


-- 
H.J.

Reply via email to