gcj trunk - gc_analyze/SymbolLookup.java is specified more than once
David Daney
ddaney@avtrex.com
Mon Mar 5 02:06:00 GMT 2007
Matthias Klose wrote:
> Seen this on i486-linux, when building from the trunk; vm-tools.lst
> does have the file twice, but I currently fail to see how it ends up
> twice there.
>
Perhaps you could share your top level configure command.
There should only be on $pkg in the for loop
(gnu/gcj/tools/gc_analyze). You could try running the find by hand
using that value to see what is happening.
David Daney
> Matthias
>
>
> find ../../../../../../src/libjava/classpath/tools/external/asm -name
> '*.java' -print > asm.lst
> find ../../../../../../src/libjava/classpath/tools/gnu/classpath/tools
> -name '*.java' -print > classes.lst
> if [ -f ../../vm-tools-packages ]; then \
> for pkg in `cat ../../vm-tools-packages`; do \
> /usr/bin/find
> ../../../../../../src/libjava/classpath/../$pkg -follow -name '*.java'
> -print >> vm-tools.lst; \
> done \
> else \
> echo -n > vm-tools.lst; \
> fi
> cat classes.lst asm.lst vm-tools.lst > all-classes.lst
> AC=`echo /home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/gcc/gcj
> -B/home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/i486-linux-gnu/6
> 4/libjava/ -B/home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/gcc/ -C
> -encoding UTF-8 -bootclasspath '../../../../../../src/libjava/cl
> asspath/lib' -classpath
> ../../../../../../src/libjava/classpath/tools/asm:. | sed -e
> 's/UTF-8/ISO-8859-1/g'`; \
> $AC -g -w -d
> ../../../../../../src/libjava/classpath/tools/asm @asm.lst
> /home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/gcc/gcj
> -B/home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/i486-linux-gnu/64/libjava
>
> / -B/home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/gcc/ -C
> -encoding UTF-8 -bootclasspath '../../../../../../src/libjava/classpath/l
> ib' -classpath ../../../../../../src/libjava/classpath/tools/asm:. -g
> -w -d ../../../../../../src/libjava/classpath/tools/classes @clas
> ses.lst @vm-tools.lst
> File
> ../../../../../../src/libjava/classpath/../gnu/gcj/tools/gc_analyze/SymbolLookup.java
> is specified more than once
> make[8]: *** [tools.zip] Error 1
> make[8]: Leaving directory
> `/home/packages/gcc/4.2/gcc-4.2-4.2-20070304/build/i486-linux-gnu/64/libjava/classpath/tools'
>
> make[7]: *** [all-recursive] Error 1
More information about the Java
mailing list