https://sourceware.org/bugzilla/show_bug.cgi?id=34395

            Bug ID: 34395
           Summary: MinGW-w64 linking fails when GCC finds a default
                    manifest in a path with spaces
           Product: binutils
           Version: 2.46.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: brecht at sanders dot org
  Target Milestone: ---

When running GCC built against MinGW-w64 natively on Windows from a folder
containing spaces (e.g. somewhere under C:\Program Files) linking files with
errors like this:

C:/Program
Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot find C:/Program: No such file or directory
C:/Program
Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot find
Files/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o:
No such file or directory
collect2.exe: error: ld returned 1 exit status

Apparently it is splitting the default manifest file into 2 different paths
separated by a space.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to