bazel-team team mailing list archive
Mailing list archive
Re: Potential bug in openjdk-11 on mips64el
Thank you all for your inputs and suggestions!
On Sat, Feb 13, 2021 at 2:43 AM Matthias Klose <doko@xxxxxxxxxx> wrote:
> you could try to debug with java -zero / javac -J-zero on amd64.
Done!  Unfortunately, I don't see anything useful there but perhaps one
of you will.
On Sat, Feb 13, 2021 at 2:21 PM <raphael.jolly@xxxxxxx> wrote:
> It selects the "Zero" VM, which I assume is the one used on mips64el.
Ah, thanks for the explanation! It helped me to appropriately adjust
build-depends. Hmm, it looks like Zero is not supported on MIPS at the
moment, but perhaps that site is just out-of-date?
On Sat, Feb 13, 2021 at 6:56 PM Tiago Daitx <tiago.daitx@xxxxxxxxxxxxx>
> This seems to indicate that the isDirectory call  is getting wrong
> file attributes. Following the trail, those file attributes come from
> a fstatat call  which ultimately come from the native stack in
> UnixNativeDispatcher.c . The actual way that fstatat is called
> depends on the build flags and defines from the arch, so somebody with
> better knowledge might want to take a look at UnixNativeDispatcher.c
>  and tell if OpenJDK is picking the right function to call for
Thanks for the excellent analysis! So is this indeed a bug in OpenJDK on
mips64el then? I'm happy to file the bug, referencing all of the
information in this thread, if that's the probable culprit here.