Bug#629861: fixed in clang 2.9-4

Jacob Rudolph rujasu at yahoo.com
Sun Jun 12 23:16:50 UTC 2011


Sure, no problem.

I've tried the following commands:

  $ ./configure CXX=clang
  $ ./configure CXX=clang++
  $ ./configure CXX=clang LD=clang

All seem to have the same basic result.  The most relevant messages seem to be:

-----

clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
configure:3075: $? = 0
configure:3064: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3075: $? = 1
configure:3064: clang -qversion >&5
clang: error: no input files
configure:3075: $? = 1
configure:3095: checking whether the C++ compiler works
configure:3117: clang    conftest.cpp  >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3121: $? = 1
configure:3159: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Hero of Allacrost"
| #define PACKAGE_TARNAME "allacrost"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "Hero of Allacrost 0.1.0"
| #define PACKAGE_BUGREPORT "team at allacrost.org"
| #define PACKAGE_URL ""
| #define PACKAGE "allacrost"
| #define VERSION "0.1.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3164: error: in `/home/rujasu/svn_devel/allacrost/game':
configure:3166: error: C++ compiler cannot create executables

-----

Total config.log file posted here: 
http://www.allacrost.org/staff/user/rujasu/clang_config_log.txt

Thanks,
Jacob



----- Original Message ----
From: Sylvestre Ledru <sylvestre at debian.org>
To: Jacob Rudolph <rujasu at yahoo.com>; 629861 at bugs.debian.org
Sent: Sun, June 12, 2011 6:19:34 PM
Subject: Re: Bug#629861: fixed in clang 2.9-4

Hello,

Le dimanche 12 juin 2011 à 15:13 -0700, Jacob Rudolph a écrit :
> Unfortunately I'm still seeing problems with clang 2.9-4 (running Sid on 
> AMD64).  When trying to do automake with CXX=clang or CXX=clang++, I'm getting 



> the following message:
> 
> checking whether the C++ compiler works... no
> configure: error: in `/home/rujasu/svn_devel/allacrost/game':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
> 
> 
> I believe this is the same bug, as I was getting the previously-mentioned link 



> errors in previous versions of clang and it seems this is an indication of the 



> same problem.  Let me know if more information is needed.
The real error message from the config.log (and the config.log itself)
would help.

Sylvestre





More information about the Pkg-llvm-team mailing list