[LLVMdev] Bugs in Kaleidoscope tutorial code, and a bus error

Lane Schwartz dowobeha at gmail.com
Tue Apr 15 07:59:41 PDT 2008


On Tue, Apr 15, 2008 at 8:45 AM, Lane Schwartz <dowobeha at gmail.com> wrote:
>  I get several link errors when compiling the code for section 2.4.
>  These errors go away if I make the following change to the relevant
>  Makefile (tools/sample/Makefile):
>
>  old: LINK_COMPONENTS = core
>  new LINK_COMPONENTS = core scalaropts ExecutionEngine
>
>  -------
>
>  After successfully compiling the code in section 2.4 Adding JIT and
>  Optimizer Support, I attempted to run that code:
>
>  $ ./Release/bin/Sample
>  ready> 4 + 5;
>  Bus error

To get rid of the bus error, I made the change:

LINK_COMPONENTS = core scalaropts engine

Thanks,
Lane



More information about the llvm-dev mailing list