Package: mingw-w64-common
Version: 8.0.0-1
Severity: important

Dear Maintainer,

When cross compiling for 32-bit Windows, I noticed that some translation units
had a different value for std::max_align_t than others. It appears that (for
some reason), one included it from:
/usr/share/mingw-w64/include/stddef.h
and another from:
/usr/lib/gcc/i686-w64-mingw32/10-posix/include/stddef.h

These have conflicting definitions, see http://paste.debian.net/1169371/

According to people on #gcc IRC:
<redi> the issue seems to be that one of your stddef headers is old and 
predates the addition of __float128 support, which required increasing the 
alignment of max_align_t

If this is true, then something is wrong with the stddef.h in mingw-w64-common,
as it doesn't include that __float128 support. (But I wonder in the first place
why both mingw-w64-common and gcc-mingw-w64-i686-posix provide a stddef.h,
which apparently both can be found and then have a different definition...!?)

Anyway, this is all not my specialism, but I think it's still important to
report it. Please let me know if you need more information. I'll do my best to
provide it.

Thanks for taking a look at this!

Kind regards,
Manuel

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply via email to