This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/27823] Found a problem with the JNI methods declared and implemented
- From: "bass at 2ka dot mipt dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2006 00:25:35 -0000
- Subject: [Bug libgcj/27823] Found a problem with the JNI methods declared and implemented
- References: <bug-27823-12755@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from bass at 2ka dot mipt dot ru 2006-07-20 00:25 -------
I was having a problem related to this one while building gcc on
pentium3-pc-linux-gnu, but I'm not sure whether I should file a separate bug.
Host compiler was gcc-3.4.6, and I passed the ``--enable-regen-headers'' option
to the topmost configure script. Unfortunately, host gcjh (v3.4.6) instead of
bootstrapped one was invoked to regenerate JNI headers, and, buggy as it was,
produced incorrect output, which prevented further builds with ``--enable-jni''
option.
I consider it a bug, and one of the three posible resolutions should be
considered:
1) ``--enable-regen-headers'' option passed to the topmost configure script
should be blocked/disabled/whatever; or
2) ``--enable-regen-headers'' option should not be accepted unless host gcjh is
``modern'' enough (say, 4.0.0); or
3) if configure script is passed the ``--enable-regen-headers'' option, headers
should be regenerated using bootstrapped gcjh, not host one.
--
bass at 2ka dot mipt dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bass at 2ka dot mipt dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27823