http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4605
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
--- Comment #16 from markus dot schoepflin at comsoft dot de 2009-01-14
08:11 ---
Subject: Re: [alpha-osf]mips-tfile & spaced directory names
gnu at the-meissners dot org wrote:
> --- Comment #15 from gnu at the-meissners dot org 2009-01-13 23:13
> ---
> I suspect this need
--- Comment #15 from gnu at the-meissners dot org 2009-01-13 23:13 ---
I suspect this needs to be solved in gcc.c with the specs handling, and you
probably need something to quote the white space in filename, so that it
doesn't break the file into separate arguments. Only some alpha and
--- Comment #14 from markus dot schoepflin at comsoft dot de 2009-01-12
20:01 ---
Just to recap what I think the problem is:
1) cc1 compiles the C file and creates input for the system assembler. The
assembler source is placed into the /tmp directory.
2) The system assembler is called
--- Comment #13 from markus dot schoepflin at comsoft dot de 2009-01-12
19:51 ---
Strange, I seem to get something different on Linux with gcc 4.3.2:
~/src/tests/gcc/PR4605$ gcc -v -c hello.c -o "./dir test/hello.o"
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/c
--- Comment #12 from ubizjak at gmail dot com 2009-01-12 14:59 ---
Hm, on i686-pc-linux-gnu -v gives:
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=generic'
/usr/local.uros/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1 -quiet -v dir
test/hello.c -quiet -dumpbase hello.c -mtune=generic -auxbase hello
--- Comment #11 from markus dot schoepflin at comsoft dot de 2009-01-12
14:17 ---
Here is the result of using -### instead of -v:
scho...@area51:~/local/src/tests/gcc/4605> /opt/gcc-4.3.2/bin/gcc -### -c
hello.c -o 'dir test/hello.o'Using built-in specs.
Target: alphaev56-dec-osf5.1b
C
--- Comment #10 from ubizjak at gmail dot com 2009-01-12 13:57 ---
(In reply to comment #9)
> Options should be wrapped in quotes, like:
>
> COLLECT_GCC_OPTIONS='-O2' '-mtune=generic'
> "/usr/local.uros/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1" "-quiet" "dir
> test/hello.c" "-quiet" "-d
--- Comment #9 from ubizjak at gmail dot com 2009-01-12 13:27 ---
Options should be wrapped in quotes, like:
COLLECT_GCC_OPTIONS='-O2' '-mtune=generic'
"/usr/local.uros/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1" "-quiet" "dir
test/hello.c" "-quiet" "-dumpbase" "hello.c" "-mtune=generic"
--- Comment #8 from markus dot schoepflin at comsoft dot de 2009-01-12
11:43 ---
I think the problem is with 'as':
~/local/src/tests/gcc/4605> ls -1
dir test
hello.c
~/local/src/tests/gcc/4605> as -g -oldas -c -nocpp -O0 -o 'dir test/hello.o'
/tmp//ccTogmGX.s
~/local/src/tests/gcc/4605
--- Comment #7 from markus dot schoepflin at comsoft dot de 2009-01-12
11:36 ---
gcc -v gives:
~/local/src/tests/gcc/4605> /opt/gcc-4.3.2/bin/gcc -v -c hello.c -o 'dir
test/hello.o'
Using built-in specs.
Target: alphaev56-dec-osf5.1b
Configured with: /net/homes/schoepf/local/src/gcc-4.
--- Comment #6 from markus dot schoepflin at comsoft dot de 2009-01-12
09:53 ---
The problem is still there as of 4.3.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4605
--- Comment #5 from ubizjak at gmail dot com 2009-01-07 15:40 ---
Does this still happen with 4.3 or 4.4 branch?
--
ubizjak at gmail dot com changed:
What|Removed |Added
13 matches
Mail list logo