Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBS with gcc 14 #6

Open
Trophime opened this issue Oct 23, 2024 · 5 comments
Open

FTBS with gcc 14 #6

Trophime opened this issue Oct 23, 2024 · 5 comments
Assignees

Comments

@Trophime
Copy link

Hi,
Trying to rebuild on Debian/trixie, I've got errors like that:

In file included from /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/MEDCOUPLING/src/MEDLoader/MEDFileMeshElt.cxx:32:
/home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/MEDCOUPLING/src/MEDLoader/MEDFilterEntity.hxx: In member function ‘void MEDCoupling::MEDFilterE
ntity::fill(med_idt, MEDCoupling::mcIdType, MEDCoupling::mcIdType, MEDCoupling::mcIdType, med_int, med_switch_mode, med_storage_mode, const char*, con
st MEDCoupling::PartDefinition*)’:
/home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/MEDCOUPLING/src/MEDLoader/MEDFilterEntity.hxx:102:66: error: cannot convert ‘long int*’ to ‘con
st med_int*’ {aka ‘const int*’}
  102 |                           ToMedInt(nbOfEltsToLoad), dpdPlus1.data(),
      |                                                     ~~~~~~~~~~~~~^~
      |                                                                  |
      |                                                                  long int*

@nitawa
Copy link
Contributor

nitawa commented Nov 25, 2024

are you using SAT ?

@Trophime
Copy link
Author

yep

@gkiori
Copy link

gkiori commented Dec 2, 2024

Hi,
Unfortunately, we are not able to reproduce the MEDCoupling compilation failure on Debian Trixie

Apptainer> 
Apptainer> bash
$ source SALOME-master-native-DBn/a/env_launch.sh 
$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ python
Python 3.12.7 (main, Nov  8 2024, 17:55:36) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import medcoupling
>>> medcoupling.__version__
'V9_14_0a1-3-gc8794803'
>>> medcoupling.__file__
'/workspace/CONTAINERS/singularity/DB13/SALOME-master-native-DBn/a/INSTALL/MEDCOUPLING/lib/python3.12/site-packages/medcoupling.py'
>>> 

@Trophime
Copy link
Author

Trophime commented Dec 2, 2024

@gkiori are you using gcc 14?

@gkiori
Copy link

gkiori commented Dec 2, 2024

yes, we use gcc 14.2.0

Apptainer> gcc --version
gcc (Debian 14.2.0-8) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants