Skip to content

build problems with gcc 15 #359

@VictorEijkhout

Description

@VictorEijkhout

Test program with

find_package( PkgConfig REQUIRED )
pkg_check_modules( P4EST REQUIRED p4est )

On one machine I get:

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Checking for module 'p4est'
--   Package 'sc', required by 'p4est', not found
CMake Error at /home1/apps/cmake/4.1.1/share/cmake-4.1/Modules/FindPkgConfig.cmake:639 (message):
  The following required packages were not found:

   - p4est

Other machine:

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Checking for module 'p4est'
--   Package 'p4est', required by 'virtual:world', not found
CMake Error at /home1/apps/cmake/4.1.1/share/cmake-4.1/Modules/FindPkgConfig.cmake:639 (message):
  The following required packages were not found:

   - p4est

Older versions of gcc are fine.

It looks like sc is properly installed:

/scratch/00434/eijkhout/installation/installation-p4est-2.8.7-vista-gcc15.1-openmpi5.0.8/lib/pkgconfig/libsc-0.0.0.pc
/scratch/00434/eijkhout/installation/installation-p4est-2.8.7-vista-gcc15.1-openmpi5.0.8/lib/pkgconfig/libsc-2.8.7.pc
/scratch/00434/eijkhout/installation/installation-p4est-2.8.7-vista-gcc15.1-openmpi5.0.8/lib/pkgconfig/libsc.pc
/scratch/00434/eijkhout/installation/installation-p4est-2.8.7-vista-gcc15.1-openmpi5.0.8/lib64/libsc.so
/scratch/00434/eijkhout/installation/installation-p4est-2.8.7-vista-gcc15.1-openmpi5.0.8/lib64/libsc.so.4.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions