[Bug c++/68631] New: -lstdc++fs switch not working on gcc 5.3.0-RC-20151130

marqin.pl+gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 1 09:59:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68631

            Bug ID: 68631
           Summary: -lstdc++fs switch not working on gcc 5.3.0-RC-20151130
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marqin.pl+gcc at gmail dot com
  Target Milestone: ---

Created attachment 36878
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36878&action=edit
GCC output with -v

-lstdc++fs switch not working on gcc 5.3.0-RC-20151130

I've tried building code example from here:
http://en.cppreference.com/w/cpp/experimental/fs/directory_iterator

with this command line:
/opt/gcc53/bin/g++ -v -std=c++1z  -lstdc++fs -L/opt/gcc53/lib64 test.cpp

And I'm getting errors that are in attached output.txt

Using nm on libstdc++fs.a show that those symbols are there, so it looks like
gcc problem.


More information about the Gcc-bugs mailing list