bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12110] New: Spaces in pathname breaks compilation


From: bryan at brush dot co.nz
Subject: [Bug binutils/12110] New: Spaces in pathname breaks compilation
Date: Mon, 11 Oct 2010 19:06:36 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12110

           Summary: Spaces in pathname breaks compilation
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden


This is a bug report from mspgcc4. The developer told me it was a binutils
issue, so I should report it here.

When trying to compile on my machine, I put the mspgcc4 source code into a
folder which has a space in one of the parent paths. It bombs out with a
difficult-to-interpret message (further below). After thinking about it, it
became clear what the problem was, but this message was hidden amongst many
other resulting errors, so it took a while to find out why it was having
problems.

At the very least, it should fail gracefully with a clear error message, like
"Cannot compile in a directory containing spaces in the pathname".

However, it should really compile without any issues. Spaces in the pathname
shouldn't be a problem in modern operating systems, and errors like these point
to a need for better escaping in certain shell commands.

# patching file opcodes/msp430-dis.c
# /home/Documents/Learning
Projects/msp430/mspgcc4-20101006/build/binutils-2.20.1-build/../binutils-2.20.1/configure:
line 1343: cd: /home/Documents/Learning: No such file or directory

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]