public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/50293] New: -flto fails if GCC is installed in directory with space in path name
@ 2011-09-05 10:50 jon at beniston dot com
  2011-09-05 11:14 ` [Bug lto/50293] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jon at beniston dot com @ 2011-09-05 10:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50293

             Bug #: 50293
           Summary: -flto fails if GCC is installed in directory with
                    space in path name
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jon@beniston.com


The majority of GCC seems to run fine if installed in a directory with spaces
in the filename. However, there seems to be an issue if -flto is used in 4.6.1
that wasn't an issue in 4.5.1.

collect2 version 4.6.1 (arm/ELF)
/cygdrive/c/Program
Files/gnu/bin/../lib/gcc/arm-elf/4.6.1/../../../../arm-elf/bin/ld -plugin
/cygdrive/c/Program
Files/gnu/bin/../libexec/gcc/arm-elf/4.6.1/cyglto_plugin-0.dll
-plugin-opt=/cygdrive/c/Program
Files/gnu/bin/../libexec/gcc/arm-elf/4.6.1/lto-wrapper.exe
-plugin-opt=-fresolution=/tmp/ccRdw4BE.res -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lgcc --relax -EL -v -L/cygdrive/c/Program
Files/gnu/bin/../lib/gcc/arm-elf/4.6.1/cyclone -L/cygdrive/c/Program
Files/gnu/bin/../lib/gcc/arm-elf/4.6.1/../../../../arm-elf/lib/cyclone
-L/cygdrive/c/Program Files/gnu/bin/../lib/gcc/arm-elf/4.6.1
-L/cygdrive/c/Program Files/gnu/bin/../lib/gcc -L/cygdrive/c/Program
Files/gnu/bin/../lib/gcc/arm-elf/4.6.1/../../../../arm-elf/lib /tmp/cciZHvSE.o
-lgcc -T crt0.ld -lgcc -T cyclone.ld
/cygdrive/c/Program
Files/gnu/bin/../lib/gcc/arm-elf/4.6.1/../../../../arm-elf/bin/ld:
/cygdrive/c/Program: error in plugin cleanup (ignored)
/cygdrive/c/Program
Files/gnu/bin/../lib/gcc/arm-elf/4.6.1/../../../../arm-elf/bin/ld:
/cygdrive/c/Program: error loading plugin
collect2: ld returned 1 exit status

I tried quoting the options in the specs file, but that didn't seem to help.
i.e.:

 -plugin "%(linker_plugin_file)"     -plugin-opt="%(lto_wrapper)"


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-10  8:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-05 10:50 [Bug lto/50293] New: -flto fails if GCC is installed in directory with space in path name jon at beniston dot com
2011-09-05 11:14 ` [Bug lto/50293] " rguenth at gcc dot gnu.org
2012-10-14  0:59 ` jmesmon at gmail dot com
2013-03-06  6:32 ` jye2 at gcc dot gnu.org
2013-03-06 19:31 ` gjl at gcc dot gnu.org
2013-03-08  7:25 ` jye2 at gcc dot gnu.org
2013-06-12 13:07 ` gjl at gcc dot gnu.org
2013-11-10  8:12 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).