Your message dated Sat, 02 Jan 2016 17:35:10 +0000
with message-id <[email protected]>
and subject line Bug#796224: fixed in mingw-w64 4.0.4-2
has caused the Debian Bug report #796224,
regarding Please make DLLs executable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
796224: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796224
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gcc-mingw-w64-x86-64
Version: 4.9.1-19+14.3
Severity: normal

Dear Maintainer,

the gcc and g++ cross compilers (both i686-w64-mingw32-gcc and
x86_64-w64-mingw32-gcc) handle __attribute__((packed)) wrong.

Source code example:

#include <stdio.h>

struct S
{
  bool _b;
  unsigned _u;
} __attribute__((packed)) ;

int main(int argc, char **argv)
{
  printf("sizeof(S)=%d\n", sizeof(S)); 
  return 0;
}

Compile and run:

g++ -o packed packed.cpp && ./packed
sizeof(S)=5

x86_64-w64-mingw32-g++ -o packed.exe  packed.cpp  && wine packed.exe
sizeof(S)=8

wheezy cross-compiled .exe binaries also report 5.


By the way:
/usr/lib/gcc/i686-w64-mingw32/4.9-posix/libstdc++-6.dll
/usr/lib/gcc/i686-w64-mingw32/4.9-win32/libstdc++-6.dll
/usr/lib/gcc/x86_64-w64-mingw32/4.9-posix/libstdc++-6.dll
/usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/libstdc++-6.dll

should be chmod +x, since samba is now configured by default to
refuse exec permission of files without x permission,
resulting in confisuing error during exe start.


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-mingw-w64-x86-64 depends on:
ii  binutils-mingw-w64-x86-64  2.25-5+5.2
ii  gcc-mingw-w64-base         4.9.1-19+14.3
ii  libc6                      2.19-18
ii  libcloog-isl4              0.18.2-1+b2
ii  libgmp10                   2:6.0.0+dfsg-6
ii  libisl10                   0.12.2-2
ii  libmpc3                    1.0.2-1
ii  libmpfr4                   3.1.2-2
ii  mingw-w64-x86-64-dev       3.2.0-2
ii  zlib1g                     1:1.2.8.dfsg-2+b1

gcc-mingw-w64-x86-64 recommends no packages.

Versions of packages gcc-mingw-w64-x86-64 suggests:
pn  gcc-4.9-locales  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: mingw-w64
Source-Version: 4.0.4-2

We believe that the bug you reported is fixed in the latest version of
mingw-w64, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated mingw-w64 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 02 Jan 2016 17:16:26 +0100
Source: mingw-w64
Binary: mingw-w64-common mingw-w64-i686-dev mingw-w64-x86-64-dev mingw-w64 
mingw-w64-tools
Architecture: source
Version: 4.0.4-2
Distribution: unstable
Urgency: medium
Maintainer: Stephen Kitt <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Description:
 mingw-w64  - Development environment targeting 32- and 64-bit Windows
 mingw-w64-common - Common files for Mingw-w64
 mingw-w64-i686-dev - Development files for MinGW-w64 targeting Win32
 mingw-w64-tools - Development tools for 32- and 64-bit Windows
 mingw-w64-x86-64-dev - Development files for MinGW-w64 targeting Win64
Closes: 796224
Changes:
 mingw-w64 (4.0.4-2) unstable; urgency=medium
 .
   * Rely on binutils-mingw-w64's support of SOURCE_DATE_EPOCH to build
     reproducibly (instead of explicitly specifying PE timestamps). Thus
     this package no longer needs to build-depend on binutils-mingw-w64.
   * Ship executable DLLs. (Closes: #796224.)
   * Switch to debhelper compatibility level 9.
Checksums-Sha1:
 99aabfb7748c83794c62cd5aaba2d8b0d49ae13f 2279 mingw-w64_4.0.4-2.dsc
 97b23acd3659dd0b63082a5b53bcf3eb51132a9d 103204 mingw-w64_4.0.4-2.debian.tar.xz
Checksums-Sha256:
 09728d307d551c8703d4145cb862f190f15042c0e0c14806cd5bc30dbec686d3 2279 
mingw-w64_4.0.4-2.dsc
 5bef6587e13535fc0c2bb084524b73cb974288958ffe88499d7852c5919fc58f 103204 
mingw-w64_4.0.4-2.debian.tar.xz
Files:
 53afde142ef0a5cfa0cbf3d912afe54f 2279 devel extra mingw-w64_4.0.4-2.dsc
 48d1218bcc6d0ae92b42f866f330a696 103204 devel extra 
mingw-w64_4.0.4-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWiAhnAAoJEIDTAvWIbYOciK0P/2HigmjX8kBYXiusXslAwx+J
BF06aOVO7Z191krncburCWw7m4c2chXO8ndLGrBKr/HuFFTIGDebydL8FqmKVnrF
749GaO1NziPjwdRjRjrl8A2scyNoH1P2vC2Wds38NiO4tFya26CH8b26IvqLZLNy
290yeCHzsI67gQndma6W6TJM4GQ6/3FbmGP3a8f7/CxJ4Ca+mpQ3FPfHD8dBEv6F
WqJC9zBfdiufYvLs666NdzTP0FwEK5giRtF7ZP4BoGuprY/LBNljlv3h2JtVbE3f
ySM5/xWjh6kqPaw5gVdDwUcjS537CwIjD4XNHxd9kDFd2I6gCjXNIn5CBN8lGH+b
t4g1lrPaY+G1nhKsj9Xf+en8I3mt6F9DYFGYmVkXS7IdGV9SMuxi3yU8c7ZPo1LX
Ve+Y63F9/8sBrGzEPRyJQ3C0GWzIwnD+tUGDkClUvFi5mDE+rS2C16h682attRQC
cBWdYz+0jXvt7dl15PcsDkpt/cFq0IsI4dfuMtf8P+F2m5zLDLlokXueseHVBc1z
PyhIWY2rPl2Tgv6saqr9E5/Q0OjBeYmj+yc/tyPG5AhbALX3uJArdyPL6GMilAXc
Qxzwu1oYY2tlHcloDZb2uN8NUCha4erakyN14OSgDTggD9oHPKt0Gt+A6pG9JGhO
cFzeuVZs19zupxj5tXGW
=NByb
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to