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.
2006-12-16 Mark Wielaard <[EMAIL PROTECTED]>
* tools/Makefile.am (TOOLS_ZIP): Don't pass -w to JCOMPILER.
Committed,
Mark
diff -u -r1.33 Makefile.am
--- tools/Makefile.am 15 Dec 2006 22:09:28 -0000 1.33
+++ tools/Makefile.am 16 Dec 2006 13:38:54 -0000
@@ -153,9 +153,9 @@
## Compile ASM separately as it is latin-1 encoded.
find $(srcdir)/external/asm -name '*.java' -print > asm.lst
AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \
- $$AC -g -w -d asm @asm.lst
+ $$AC -g -d asm @asm.lst
find $(srcdir)/gnu/classpath/tools -name '*.java' -print > classes.lst
- $(JCOMPILER) -g -w -d classes @classes.lst
+ $(JCOMPILER) -g -d classes @classes.lst
cat classes.lst asm.lst > all-classes.lst
## Copy over tools resource files.
@list=`cd $(top_srcdir)/resource && find gnu/classpath/tools -name
\*.properties -print`; \
signature.asc
Description: This is a digitally signed message part
