Bootstrap build of Portola on Alpine

Mikael Vidstedt mikael.vidstedt at oracle.com
Thu Apr 27 01:42:01 UTC 2017


> On Apr 26, 2017, at 6:14 PM, Josh Graham <josh at grahamis.com> wrote:
> 
> G'day Mikael,
> 
> Out of curiosity, why did you have to do the poll.h softlink workaround? I
>> was naively hoping I had fixed all of the incorrect includes, but maybe I
>> missed something?
>> 
> 
> With warnings-as-errors the content of `sys/poll.h` emits a warning, thus
> raises an error. I suppose that flag could be turned off. There's a few
> -Xlint warnings, too, which may warrant further investigation.

Right, but I thought this change would have removed all the references to sys/poll.h (in favor of poll.h without the sys/ prefix):

http://mail.openjdk.java.net/pipermail/portola-dev/2017-April/000009.html <http://mail.openjdk.java.net/pipermail/portola-dev/2017-April/000009.html>

http://hg.openjdk.java.net/portola/portola/hotspot/rev/95d3f5d5ca24
http://hg.openjdk.java.net/portola/portola/jdk/rev/e5f4488e151b <http://hg.openjdk.java.net/portola/portola/jdk/rev/e5f4488e151b>

Which file is generating the warning/error?

> 
> 
> 
>> bash ./configure --host=x86_64-unknown-linux-musl
>> --build=x86_64-unknown-linux-musl <…>
>> 
> 
> Trying that now (along with a `make clean`). The new `--openjdk-target`
> argument looks interesting, I'll play with that too at some point.

Indeed. Erik/Magnus, can you comment on how the —openjdk-target could/should be used here..?

> After I get a good build, I'll iterate from fresh and incorporate the `sed`
> idea and fewer package installs. Then it's on to runtime testing!

Sounds great, let me know!

Cheers,
Mikael



More information about the portola-dev mailing list