<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 14/06/12 13:14, David Holmes wrote:
<blockquote cite="mid:4FD9D5C0.4060005@oracle.com" type="cite">On
14/06/2012 10:10 PM, Magnus Ihse Bursie wrote:
<br>
<blockquote type="cite">On 2012-06-14 13:52, David Holmes wrote:
<br>
<blockquote type="cite">As I understand this, sizers is to X11
Java code what the
<br>
UnixConstants program is to the filesystem code. It has to
determine
<br>
various sizes of native data structures used by X11 so that
those
<br>
values can be handled correctly in the Java code (storing
pointer and
<br>
offsets in Java code to pass ot native). Unlike the
UnixConstants
<br>
these values only seem to differ between 32-bit and 64-bit,
not across
<br>
different OS
<br>
</blockquote>
<br>
To me it sounds like two checked in files, sizes-32.data and
<br>
sizes-64.data, or whatever the names should be. And perhaps a
script to
<br>
re-generate those if the need should ever arise. But that need
not be
<br>
run as part of the build process.
<br>
<br>
Anyone against such a solution?
<br>
</blockquote>
<br>
That's something for Artem and other AWT folk to consider.
<br>
<br>
As I said we manage to work with this for cross-compiling by
simply building and running on the build host to get the data for
the target (which as far as I know is not OS specific - but I
don't have absolute confirmation on that). The only glitch we had
was that when we started cross-compiling on 64-bit linux it
generated 64-bit data for a 32-bit target (oops!) - but that was
easily fixed.
<br>
<br>
David
<br>
</blockquote>
I'm getting a build failure that might be related to this - I'm
getting this in JPRT only on Solaris-x64:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap; ">solaris_x64_5.10-product (details from log file)
/net/backpack.us.oracle.com/archives/jprt/2012/06/2012-06-19-085801.maurizio.tl/logs/solaris_x64_5.10-product.log
<a class="moz-txt-link-freetext" href="http://bus2001067.us.oracle.com/archives/2012/06/2012-06-19-085801.maurizio.tl//logs/solaris_x64_5.10-product.log">http://bus2001067.us.oracle.com/archives/2012/06/2012-06-19-085801.maurizio.tl//logs/solaris_x64_5.10-product.log</a>
> XColor.red 8
> XColor.green 10
> XColor.blue 12
> XColor.flags 14
> XColor.pad 15
> XColor 16
> XTextProperty.value 0
> XTextProperty.encoding 8
> XTextProperty.format 16
> XTextProperty.nitems 24
> XTextProperty 32
make[4]: *** [/tmp/jprt/P1/085801.maurizio/s/build/solaris-amd64/gensrc/sun/awt/X11/generator/sizes.64] Error 1</pre>
<br>
I got this when I submitted a control JPRT job against TL which
recently integrated some changes from the AWT repo - might this be
related?<br>
<br>
Thanks<br>
Maurizio<br>
<blockquote cite="mid:4FD9D5C0.4060005@oracle.com" type="cite">
<br>
<blockquote type="cite">/Magnus
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>