[LLVMbugs] Error during compilation

Devang Patel dpatel at apple.com
Mon Jan 22 11:25:48 PST 2007

On Jan 19, 2007, at 5:47 PM, Bill Wendling wrote:

> Hi all,
> You're going to hate me, but I'm kind of at a loss as to how to reduce
> this testcase. There's a failure when I compile a program. It uses
> PCHs, so I couldn't get a .i file out of it.

Follow these steps :

1) Find the command line that is used to build PCH file. Note down the  
include prefix header files used to build PCH.

2) If there is a -include switch on failing command line pointing to a  
PCH file (or directory) then remove it.  (Sometimes developers  
#include <blah.pch>)

3) Add -include command line switch to include prefix header file from  
step 1)

4) Reproduce the crash. Now, PCH is out of equation.


> Attached are the .ll and
> .s files. The error when doing the assembly is:
> bad.s:3899:Parameter syntax error (parameter 1)
> bad.s:3900:FATAL:Symbol L46$pb already defined.
> My hope is that someone kind of knows what this is doing. Also, any
> hints on how to use bugpoint to reduce these types of cases would be
> appreciated.
> -bw<bad.s><bad.ll>_______________________________________________
> LLVMbugs mailing list
> LLVMbugs at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

More information about the llvm-bugs mailing list