[LLVMdev] LLVM on OpenBSD

Brooks Davis brooks at freebsd.org
Mon Jun 16 10:17:42 PDT 2008


On Mon, Jun 16, 2008 at 05:00:24PM +0100, Edd Barrett wrote:
> On Thu, Jun 12, 2008 at 7:02 PM, Edd Barrett <vext01 at gmail.com> wrote:
> > gcc4.2 works fine.
> 
> But it only works fine for svn snapshots. Your most recent release
> does not build on OpenBSD with gcc-4.2.
> 
> llvm[3]: Building ARM.td instruction selector implementation with tblgen
> assertion "getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node
> type!"" failed: file "CodeGenDAGPatterns.cpp", line 932, function
> "ApplyTypeConstraints"
> gmake[3]: *** [/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM/Release/ARMGenDAGISel.inc.tmp]
> Abort trap (core dumped)
> gmake[3]: Leaving directory
> `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target/ARM'
> gmake[2]: *** [ARM/.makeall] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Target'
> 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
> 
> 
> Are you going to make a release anytime soon? I guess not as you just released.
> 
> I ask because rolling ones own distfiles is less than ideal when making ports.

LLVM 2.3 is building with no patches and gcc 4.2.1 on FreeBSD (at least
i386, amd64, and sparc64 by current reports) so there's presumably
only a small patch required either to gcc or llvm to make it happy on
OpenBSD.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080616/da45d5ff/attachment.sig>


More information about the llvm-dev mailing list