b31 multiple build failures on x86 Linux
Jeffrey Baker
jwbaker at gmail.com
Tue Jul 22 22:44:54 UTC 2008
On Tue, Jul 22, 2008 at 1:53 PM, Kelly O'Hair <Kelly.Ohair at sun.com> wrote:
> Jeffrey Baker wrote:
>> What is the officially blessed compiler? This one appears to be gcc
>> 4.2.3, but I have numerous other revisions of gcc kicking around,
>> including 4.1 and 4.2.
>
> You won't like this, but it's 3.2.
That is a bit inconvenient. Ubuntu provides 3.3 and 3.4, but not 3.2.
Nevertheless, I'm sure I can find the source somewhere.
> Treat hotspot separate, build it the way you want, and plug it into
> the jdk image you want to use. Your builds will be faster and you
> can avoid building lots of jdk code you don't need to repeatedly rebuild.
In the beginning, I could not get anything to work aside from the top
level build system. Now I appear to be suitably equipped to type
'make' in hotspot/make, which is an improvement. Still, 'make
profiled' is not valid, and 'make help' does not offer any advice on
the topic. I am taunted by the 'profiled' target in the linux
Makefile!
>> What is the official way to build openjdk with profiling?
>
> As far as I know, there is none. It's just not something that is done
> much anymore.
Which explains at least the difficulty of doing so ...
> When we are doing profiling we use tools like the Sun Studio Analyzer
> or the NetBeans profiler, where we really don't need to build the image
> in any special way. Sun Studio 12 is available on Linux, with the Analyzer,
> but I have never used it.
That's an idea. I think I might try SS12 for a bit.
-jwb
More information about the build-dev
mailing list