Bug#924813: [Debichem-devel] Bug#924813: the error is in the libmpich-dev package

2019-03-24 Thread Michael Banck
Hi,

thanks for looking into this.

On Sun, Mar 24, 2019 at 07:48:19PM +0100, Paul Dreik wrote:
> It bugs out on the following file
> /usr/include/x86_64-linux-gnu/mpich/mpicxx.h which is supplied by the
> libmpich-dev package.
>
> // Check for incompatible GCC versions
>
> // GCC (specifically) g++ changed the calling convention
>
> // between 3.2.3 and 3.4.3 (!!)  Normally such changes
>
> // should only occur at major releases (e.g., version 3 to 4)
>
> #ifdef __GNUC__
> # if __GNUC__ >= 8
> #  if __GNUC_MINOR__ > 2 && 2 == 2
> #  error 'Please use the same version of GCC and g++ for compiling MPICH
> and user MPI programs'
> #  endif
> # endif
> #endif
>
> I believe this bug should be moved to that package instead. Is the error
> perhaps because gcc was bumped to 8.3? I wonder if it's still relevant,
> gcc 3.4.3 was released around 2004(?) or so.
>
> Commenting out the line in the above file gets bagel to build again.

This has been fixed in mpich_3.3-3 but that has not reached testing yet,
I have filed an unblock request yesterday.

I'll see about reassiging and merging this.


Michael



Bug#924813: the error is in the libmpich-dev package

2019-03-24 Thread Paul Dreik
Hi,
It bugs out on the following file
/usr/include/x86_64-linux-gnu/mpich/mpicxx.h which is supplied by the
libmpich-dev package.

// Check for incompatible GCC versions

// GCC (specifically) g++ changed the calling convention

// between 3.2.3 and 3.4.3 (!!)  Normally such changes

// should only occur at major releases (e.g., version 3 to 4)

#ifdef __GNUC__
# if __GNUC__ >= 8
#  if __GNUC_MINOR__ > 2 && 2 == 2
#  error 'Please use the same version of GCC and g++ for compiling MPICH
and user MPI programs'
#  endif
# endif
#endif



I believe this bug should be moved to that package instead. Is the error
perhaps because gcc was bumped to 8.3? I wonder if it's still relevant,
gcc 3.4.3 was released around 2004(?) or so.

Commenting out the line in the above file gets bagel to build again.

Paul