Bug#594820: clang: specify libstdc++ version of headers to use

Michael Wild themiwi at gmail.com
Wed Jun 1 18:53:49 UTC 2011


On 06/01/2011 06:42 PM, Sylvestre Ledru wrote:
> Le mercredi 01 juin 2011 à 08:30 +0200, Michael Wild a écrit :
>> Sylvestre,
> 
>> Are you, by any chance, building on i686?
> I confirm that it is working with my x86_64 system. Did you look on 
> how to fix that ?
> 
> S

I've been looking into it, but now clang passes the wrong crt*.o files
to the linker when compiling with -m64 on i386 (i.e. the 32-bit files
instead of the 64-bit ones). The other way round (-m32 on x86_64) seems
to work, though.

To me it looks like an issue in
Linux::Linux(const HostInfo&, const llvm::Triple&) in
lib/Driver/ToolChains.cpp, but I haven't dug my way through entirely yet.

Michael





More information about the Pkg-llvm-team mailing list