[LLVMdev] LLVM on OpenBSD

Edd Barrett vext01 at gmail.com
Tue Jun 17 02:58:27 PDT 2008


On Mon, Jun 16, 2008 at 6:17 PM, Brooks Davis <brooks at freebsd.org> wrote:
> LLVM 2.3 is building with no patches and gcc 4.2.1 on FreeBSD

OK, so I have taken the changes to BitWriter.cpp from svn and that
builds that section of code OK for llvm-2.3. The next part I will need
help with, as I dont really know where to start:

llvm[3]: Building ARM.td instruction information with tblgen
assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node type!"" f
ailed: file "CodeGenDAGPatterns.cpp", line 932, function "ApplyTypeConstraints"
gmake[3]: *** [/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM/Release/
ARMGenInstrInfo.inc.tmp] Abort trap (core dumped)
gmake[3]: Leaving directory `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Targe
gmake[2]: *** [ARM/.makeall] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Targe
gmake[1]: *** [Target/.makeall] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib'
gmake: *** [all] Error 1
*** Error code 2

This is not a gcc bug, but the assertion failing. A quick diff against
this file shows a huge amount of changes and I have nowhere near
enough knowledge to start comprehending this code. I am only starting
to learn about compilers for my dissertation :)

Any help is much appreciated


Best Regards



More information about the llvm-dev mailing list