[cfe-commits] r46501 - /cfe/trunk/utils/ccc

Nuno Lopes nunoplopes at sapo.pt
Tue Jan 29 05:05:38 PST 2008


Hi,

This patch broke autoconf-based builds:

configure:2897: checking for gcc
configure:2924: result: /cvs/llvm/tools/clang/utils/ccc
configure:3162: checking for C compiler version
configure:3169: /cvs/llvm/tools/clang/utils/ccc --version >&5
ccc: no input files
configure:3172: $? = 1
configure:3179: /cvs/llvm/tools/clang/utils/ccc -v >&5
ccc: no input files
configure:3182: $? = 1
configure:3189: /cvs/llvm/tools/clang/utils/ccc -V >&5
ccc: no input files
configure:3192: $? = 1
configure:3215: checking for C compiler default output file name
configure:3242: /cvs/llvm/tools/clang/utils/ccc    conftest.c  >&5
Traceback (most recent call last):
  File "/cvs/llvm/tools/clang/utils/ccc", line 197, in ?
    main(sys.argv[1:])
  File "/cvs/llvm/tools/clang/utils/ccc", line 186, in main
    if extension(file) != "o":
  File "/cvs/llvm/tools/clang/utils/ccc", line 40, in extension
    return path.rpartition(".")[2]
AttributeError: 'str' object has no attribute 'rpartition'
configure:3245: $? = 1
configure:3283: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3290: error: C compiler cannot create executables


Python version: 2.4.4.

Nuno


----- Original Message -----
> Author: andersca
> Date: Tue Jan 29 01:21:34 2008
> New Revision: 46501
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46501&view=rev
> Log:
> Improvements to ccc. Patch by Shantonu Sen.
>
> Modified:
>    cfe/trunk/utils/ccc
>
> Modified: cfe/trunk/utils/ccc
> URL: 
> http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc?rev=46501&r1=46500&r2=46501&view=diff 




More information about the cfe-commits mailing list