[LLVMdev] llvm-gcc 4.2
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Feb 12 16:37:24 PST 2010
On Feb 12, 2010, at 4:26 PM, Aran Clauson wrote:
> All,
> I'm trying to build llvm-gcc 4.2 from svn (as of about a
> week ago). I'm getting:
>
> ../../llvm-gcc-4.2/libcpp/expr.c: In function 'num_negate':
> ../../llvm-gcc-4.2/libcpp/expr.c:1114: internal compiler
> error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
>
> I would like to do some debugging, but I don't see
> where "internal compiler error" is begin generated. I have
> gdb set to break on SIGSEV, but I don't get the signal.
> Any help would be appreciated.
The gcc program is only a driver. It runs the cc1 executable to do the compilation.
Run gcc -v to see the command line for cc1, then run gdb on that.
Thanks,
/jakob
More information about the llvm-dev
mailing list