This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [cp-patches] cp-tools: fix build options
Mark Wielaard writes:
> Hi Andrew,
>
> On Fri, 2006-12-15 at 16:40 +0000, Andrew Haley wrote:
> > It wasn't possible to debug Classpath tools because they were built
> > with no debuginfo. Also, we weren't passing the full source pathnames
> > to gcj, so gdb couldn't find the source files.
> >
> > * tools/Makefile.am (TOOLS_ZIP): Pass -g -w to javac.
> > Create all-classes.lst that contains all source filenames.
> > Delete asm.lst.
>
> This broke the build since -w doesn't seem to be a valid option. At
> least not for ecj v_585_R31x, 3.1.2 release, as used on the
> autobuilder and as shipped with most distros at this time. So for
> now I removed that flag again so the autobuilder can do its thing
> again. I couldn't find any documentation that describes what -w is
> supposed to provide, so I don't really know what to suggest as
> alternative. If this flag is compiler specific you might want to
> add a configure flag and adjust the definition of JCOMPILER at the
> top directly.
We need to turn off warnings during the build. If we don't do that,
it's impossible to find any build errors.
Andrew.