Can't Bootstrap llvm-gcc4.2 on Ubuntu 11.04 32-bit

I can't bootstrap llvm-gcc4.2 on Ubuntu 11.04 32-bit.

It's not a test failure; instead the configure scripts break in all
kinds of mysterious yet spectacular ways. I spent a couple days
beating my head against those completely indecipherable shell scripts
then gave up for now.

Is there a buildbot that runs Ubuntu 11.04? If not may I suggest that
one be set up? A minimal Ubuntu installation could be run in a VM and
need not use much disk space.

I do realize that I don't need to bootstrap on Ubuntu, but that I
could use the llvm-gcc that is provided by the Ubuntu maintainers.
The reason that I'm bootstrapping the hard way is that I want to learn
how to do it myself, so that later I can bootstrap on Haiku.

Haiku (http://www.haiku-os.org/) is an Open Source clone of BeOS 5.
It has two ABIs, with two sets of runtime libraries, one built with
GCC 2.95.3 for compatibility with existing BeOS executables, and the
other built with a current GCC for new code.

Haiku is almost entirely written in C++, and is a HUGE codebase. I'd
like to set up the CLang static analyzer to analyze the whole works.

Besides being a good test of the analyzer, and likely to uncover new
opportunities for analysis, lots of Haiku's coders are C++ newbies, so
I expect our existing analyses will uncover a multitude of sins.

Regards,

Don Quixote

I can’t bootstrap llvm-gcc4.2 on Ubuntu 11.04 32-bit.

OK. that seems bad.

It’s not a test failure; instead the configure scripts break in all
kinds of mysterious yet spectacular ways. I spent a couple days
beating my head against those completely indecipherable shell scripts
then gave up for now.

And those errors are?

Is there a buildbot that runs Ubuntu 11.04? If not may I suggest that
one be set up? A minimal Ubuntu installation could be run in a VM and
need not use much disk space.

Are you offering?

-eric

I can't bootstrap llvm-gcc4.2 on Ubuntu 11.04 32-bit.

OK. that seems bad.

Ah so maybe it's not just me, and is something that could be fixed.

It's not a test failure; instead the configure scripts break in all
kinds of mysterious yet spectacular ways.

And those errors are?

I will have to get back to you on the details. If I don't get some
sleep RIGHT NOW my head is going to explode.

However, it's been over a week since I did an "svn update". I'll do
that first then re-try the bootstrap.

If I understand correctly, the gcc upon which we build our llvm-gcc
builds itself in two phases. First it builds itself using whatever
compiler it finds installed on the build platform, then it builds
itself again with the compiler produced in the first pass.

The errors are produced in the configure scripts from the second pass.
That's what makes them especially hard to debug.

Is there a buildbot that runs Ubuntu 11.04? If not may I suggest that
one be set up? A minimal Ubuntu installation could be run in a VM and
need not use much disk space.

Are you offering?

Yes.

I have a Xen VM web server with some decent filesystem space, CPU
speed and memory.

I'll set up the buildslave in a VirtualBox VM on my laptop, then once
it is decently configured, I'll transfer it over to my server.

I really, really gotta go to sleep right now. I won't sleep through
the night though because I am to have supper with my mother and her
twin sister. After I get back from supper, I'll deal with it then.

If it's not to hard to set up the buildslave, I'll set one up for
Ubuntu 11.10 as well. The "10" in the version number means October,
if I understand correctly, so it's supposed to be released soon.

Best,

Don Quixote.