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. -- Best Regards Edd http://students.dec.bournemouth.ac.uk/ebarrett
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>
Hi, 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 FreeBSDOK, 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 t/ARM' gmake[2]: *** [ARM/.makeall] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/llvm/w-llvm-2.3/llvm-2.3/lib/Targe t' 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 Edd http://students.dec.bournemouth.ac.uk/ebarrett