[llvm-commits] [llvm] r48121 - /llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp
clattner at apple.com
Mon Mar 10 16:47:46 PDT 2008
On Mar 10, 2008, at 4:45 PM, Dan Gohman wrote:
> On Mar 10, 2008, at 4:36 PM, Dan Gohman wrote:
>> Apparently llc is defaulting to 32-bit even when LLVM is built 64-
>> it's producing a 32-bit .s file. Then the %compile_c runs gcc with -
>> and that's what causes the errors.
> Correction, it's using my 32-bit llvm-gcc, which defaults to emitting
> code. I guess this means I should rebuild my llvm-gcc as 64-bit.
This was recently hit on llvmdev. I think the best solution is to get
rid of direct invocations of the native toolchain. It would be better
to change this to:
%llvmgcc %s -g -o %t.exe
The problem with this is that %llvmgcc defaults to adding -emit-llvm,
which breaks this.
More information about the llvm-commits