Review Request: Build-infra M1 (original) (raw)

Fredrik Öhrström fredrik.ohrstrom at oracle.com
Thu Mar 22 08:43:50 UTC 2012


----- david.holmes at oracle.com skrev:

I couldn't access /home/ohrstrom either :(

You can replace my home directory with yours. ;-)

I guess this needs to be taken up internally to see how this build-deps stuff is to be setup, configured, and maintained. Something for M2 perhaps.

Yes, absolutely.

> Sounds silly to cross compile from x64 to ia32, yes, but the command above Not silly at all, we have an issue with that right now.

:-)

> exercising everything that is needed for cross compilation. What remains > is to find the correct CC for compiling to/for the build platform (legacy name HOSTCC), > in configure for the hotspot build. By running from x64 linux to ia32 linux, I cheat since the > i686-unknown-linux-gnu-gcc works for the build platform as well. Ok, so as Erik added we're not quite there yet - but the pieces are lining up.

They are indeed, and there are a lot of them, that is why these makefiles have to go into jdk8 now, because it will take a few iterations to have them aligned perfectly.

Yes - Guilty as charged - I have a PDF somewhere. But it was a general question for everyone's benefit.

We will definitely create a nice cheat sheet! Some of the options available to configure are there as of default. Most of the options are not needed by the daily openjdk developer.

> to, but most people would prefer to read the source. ie > configure.ac

I'll take that as a "No". ;-)

Its got a lot of tasty comments... :-)

The question was why do I have to cd into common/makefiles to run the configure script. I think the answer is "because if you are in common/makefiles then a build directory will be created at the top-level of the repo forest; otherwise the pwd will be treated as the intended outputdir".

That is another good answer. But we want the configure script and the makefile to be in the root in the future, but we cant put it there since it would interfere with the old Makefile in place.

//Fredrik



More information about the build-dev mailing list