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. Aran -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part. URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100212/d382e6ca/attachment.sig>
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