FYI: Fix typo in configure.ac

Matthias Klose doko at ubuntu.com
Thu Feb 12 08:02:44 PST 2009


Andrew John Hughes schrieb:
> Fixing a typo which prevents NIO2 being disabled... :(
> 
> ChangeLog:
> 
> 2009-02-12  Andrew John Hughes  <ahughes at redhat.com>
> 
> 	* configure.ac:
> 	Fix typo in --enable-nio2.

maybe we should disable nio2 by default on all archs except amd64 and ix86.  It
currently builds on other archs, but the vm crashes on the first test in the
jtreg testsuite. The code itself has comments inside UnixNativeDispatcher.c that
it doesn't work on anything else.

The code continues to hardcode the use of functions (here fstatat) based on
experience from the coder (#if defined(__linux__) ...). The assertion is not
enough. You seem to need a recent glibc as well. How could upstream be convinced
to use autoconf checks (AC_CHECK_FUNC) and use these instead?

  Matthias




More information about the distro-pkg-dev mailing list