[LLVMbugs] [Bug 3830] clang-driver 32 bit pcc arch name incorrect

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 13 16:20:26 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=3830

David Fang <fang at csl.cornell.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |fang at csl.cornell.edu
         Resolution|FIXED                       |

--- Comment #2 from David Fang <fang at csl.cornell.edu> 2012-11-13 18:20:26 CST ---
This currently fails for me, as of r167855.

[fangism:~/temp/clang] fang% make bool.o
~/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++  -c bool.cc -o bool.o

[fangism:~/temp/clang] fang% cat hello.cc 
#include <iostream>

int
main(int argc, char* argv[]) {
        std::cout << "Hello, world!" << std::endl;
        int x = 0;
        int y = x+2;
        std::cout << "y = " << y << std::endl;
        return 0;
}


[fangism:~/temp/clang] fang% ~/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++
bool.o -o bool
/usr/bin/ld: unknown architecture specification flag: -arch powerpc
/usr/bin/ld: Usage: /usr/bin/ld [options] file [...]
clang-3: error: linker command failed with exit code 1 (use -v to see
invocation)

[fangism:~/temp/clang] fang% ~/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++
bool.o -arch ppc -o bool
/usr/bin/ld: unknown architecture specification flag: -arch powerpc
/usr/bin/ld: Usage: /usr/bin/ld [options] file [...]
clang-3: error: linker command failed with exit code 1 (use -v to see
invocation)

My host is a powerpc7400 on darwin8.11.0.

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



More information about the llvm-bugs mailing list