Your message dated Sun, 14 Apr 2019 05:04:00 +0000
with message-id <e1hfxja-0002sv...@fasolo.debian.org>
and subject line Bug#925172: fixed in gcc-mingw-w64 21.2
has caused the Debian Bug report #925172,
regarding g++-mingw-w64-i686: libstdc++fs.a not included in the Debian package
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 ow...@bugs.debian.org
immediately.)


-- 
925172: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925172
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: g++-mingw-w64-i686
Version: 8.2.0-21+21.1
Severity: normal

Unfortunately, std::filesystem still can't be used with the latest version
of the package: after the fix for the compilation problems previously
reported as #907369, any attempt to use this library results in linking
problems because libstdc++fs.a file is nowhere to be found.

To reproduce, compile this trivial example:

% cat -n fs.cpp
     1  #include <iostream>
     2  #include <filesystem>
     3  namespace fs = std::filesystem;
     4
     5  int main(int argc, char *argv[])
     6  {
     7      fs::path p(argv[1]);
     8      std::cout << "Native:\t" << p.string() << "\n"
     9                << "Generic:\t" << p.generic_string() << "\n";
    10      return 0;
    11  }
% i686-w64-mingw32-g++ -std=c++17 fs.cpp
/usr/bin/i686-w64-mingw32-ld: 
fs.o:fs.cpp:(.text$_ZNSt10filesystem7__cxx114pathC1IPcS1_EERKT_NS1_6formatE[__ZNSt10filesystem7__cxx114pathC1IPcS1_EERKT_NS1_6formatE]+0x93):
 undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
[... and other similar errors ...]
collect2: error: ld returned 1 exit status
% i686-w64-mingw32-g++ -std=c++17 fs.o -lstdc++fs
/usr/bin/i686-w64-mingw32-ld: cannot find -lstdc++fs
collect2: error: ld returned 1 exit status

The latter command line works when using the native g++-8, which does
provide the library.

I don't really know if this is supposed to work or not, but it seems a bit
strange to provide the headers for the library, but not the library itself.

Note that according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--enable-libstdcxx-filesystem-ts must be used to enable it, could it be
that it simply needs to be added to configure arguments?

Thanks in advance!

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages g++-mingw-w64-i686 depends on:
ii  gcc-mingw-w64-base  8.2.0-21+21.1
ii  gcc-mingw-w64-i686  8.2.0-21+21.1
ii  libc6               2.28-8
ii  libgcc1             1:8.3.0-3
ii  libgmp10            2:6.1.2+dfsg-4
ii  libisl19            0.20-2
ii  libmpc3             1.1.0-1
ii  libmpfr6            4.0.2-1
ii  libstdc++6          8.3.0-3
ii  zlib1g              1:1.2.11.dfsg-1

g++-mingw-w64-i686 recommends no packages.

Versions of packages g++-mingw-w64-i686 suggests:
pn  gcc-8-locales  <none>

-- no debconf information

Attachment: pgpyF2Kb3UnLQ.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: gcc-mingw-w64
Source-Version: 21.2

We believe that the bug you reported is fixed in the latest version of
gcc-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 925...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <sk...@debian.org> (supplier of updated gcc-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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 13 Apr 2019 17:06:11 +0200
Source: gcc-mingw-w64
Binary: gcc-mingw-w64 gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 g++-mingw-w64 
g++-mingw-w64-i686 g++-mingw-w64-x86-64 gfortran-mingw-w64 
gfortran-mingw-w64-i686 gfortran-mingw-w64-x86-64 gobjc-mingw-w64 
gobjc-mingw-w64-i686 gobjc-mingw-w64-x86-64 gobjc++-mingw-w64 
gobjc++-mingw-w64-i686 gobjc++-mingw-w64-x86-64 gnat-mingw-w64 
gnat-mingw-w64-i686 gnat-mingw-w64-x86-64 gcc-mingw-w64-base
Architecture: source
Version: 21.2
Distribution: unstable
Urgency: medium
Maintainer: Stephen Kitt <sk...@debian.org>
Changed-By: Stephen Kitt <sk...@debian.org>
Description:
 g++-mingw-w64 - GNU C++ compiler for MinGW-w64
 g++-mingw-w64-i686 - GNU C++ compiler for MinGW-w64 targeting Win32
 g++-mingw-w64-x86-64 - GNU C++ compiler for MinGW-w64 targeting Win64
 gcc-mingw-w64 - GNU C compiler for MinGW-w64
 gcc-mingw-w64-base - GNU Compiler Collection for MinGW-w64 (base package)
 gcc-mingw-w64-i686 - GNU C compiler for MinGW-w64 targeting Win32
 gcc-mingw-w64-x86-64 - GNU C compiler for MinGW-w64 targeting Win64
 gfortran-mingw-w64 - GNU Fortran compiler for MinGW-w64
 gfortran-mingw-w64-i686 - GNU Fortran compiler for MinGW-w64 targeting Win32
 gfortran-mingw-w64-x86-64 - GNU Fortran compiler for MinGW-w64 targeting Win64
 gnat-mingw-w64 - GNU Ada compiler for MinGW-w64
 gnat-mingw-w64-i686 - GNU Ada compiler for MinGW-w64 targeting Win32
 gnat-mingw-w64-x86-64 - GNU Ada compiler for MinGW-w64 targeting Win64
 gobjc++-mingw-w64 - GNU Objective-C++ compiler for MinGW-w64
 gobjc++-mingw-w64-i686 - GNU Objective-C++ compiler for MinGW-w64 targeting 
Win32
 gobjc++-mingw-w64-x86-64 - GNU Objective-C++ compiler for MinGW-w64 targeting 
Win64
 gobjc-mingw-w64 - GNU Objective-C compiler for MinGW-w64
 gobjc-mingw-w64-i686 - GNU Objective-C compiler for MinGW-w64 targeting Win32
 gobjc-mingw-w64-x86-64 - GNU Objective-C compiler for MinGW-w64 targeting Win64
Closes: 923214 925172
Changes:
 gcc-mingw-w64 (21.2) unstable; urgency=medium
 .
   * Apply upstream dllimport fix for static data members.
     Closes: #923214.
   * Explicitly enable std::filesystem, with the appropriate upstream
     patch. Closes: #925172.
Checksums-Sha1:
 4ac01509aaf32397ab09fa99a0d9994b89a9ec19 3426 gcc-mingw-w64_21.2.dsc
 4cbca765b1386563b7f85467e18fc8e8d90fae0e 57656 gcc-mingw-w64_21.2.tar.xz
 596c4bdfa2661a13632862680511abec687d9ce9 7635 
gcc-mingw-w64_21.2_source.buildinfo
Checksums-Sha256:
 56d0f10cae0fcc6a3cbfc57ef2ec7de4100b85fcb49364a26388355d813f2d2b 3426 
gcc-mingw-w64_21.2.dsc
 b35001e6ae606c6d11ab46bb22ec004380767a40aba9afaa69be7fb32bbb4558 57656 
gcc-mingw-w64_21.2.tar.xz
 23fe689ba05a5e5b325066e06c7408e8ce1abd571a2ddbd8013772d4c2418bc0 7635 
gcc-mingw-w64_21.2_source.buildinfo
Files:
 e5f7d3a30fc412d1f3c8454ddf0cb20c 3426 devel optional gcc-mingw-w64_21.2.dsc
 4aba70981ccd3d4d07c4584aca3e8599 57656 devel optional gcc-mingw-w64_21.2.tar.xz
 6827cc99748d74d59de1de16666bdfc6 7635 devel optional 
gcc-mingw-w64_21.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAlyyvOYACgkQgNMC9Yht
g5wu/hAAmfFl/R3OLfifpTUbvYMfJdbeFjavVsdWtQ8O666DoEiQVOYTn+bCa+vc
CeVrllaGeImcvNI0T8r0Q5sTg98SVov8dicIutK8m4JWozHPWlsbImQi6uyf3jGL
970sabZJOfOwH281RfKkBMp+IBdUBYg7HFhR5yGdk4apAS4ao6ulSgR02rgc1t/z
RAjd8N6/hR50G4XzzRF1KPeZUyvL6ByfXnLW9mPSqB97inN77kRkGO4HscsypJ1J
qAxZmpM3w1sEPD3MuhiiOh4s8ELqDdsZK+HQnutvT+VhsCwRv61oS6S9LIVdlqo4
zkTxs2OEXSMT0hyxfs/QFzrTneG9VapVQZLY3xo8jJw4EFYF+lYId9xtqhSosFIr
l2LeBC8Mtm0WO6sS5Livx5OKZ6ikQIjJ4oFlg/3lPBPDYzIfV04VMSiwkwP3jDVb
TwQEYL6sDDVMWMQd35Lq4FRqDcfBtdqh9uuVklS2qwZGFxONrs/frPWFUChP30SL
wT3hDI4SUe2Vad3rqRPBaz7C2+sayC9j5wxY6t9Z1sJEKnFlY0DGpG3k3u6ateEN
Wq4QtGBDS+zZIJaEO1dGKho0q+LMaSIg9kdEDytV7SvfrxpLw/ZdFClxMjNvft1d
UZn9FiRS8yVtLIVHXaOogf05eP+5NYR/1ghnI1A9E+5gwuYbOjA=
=Mss+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to