Bug#388070: GC Warning: Couldn't read /proc/stat

Max Kellermann max at duempel.org
Mon Sep 18 12:30:00 UTC 2006


Package: ecj-bootstrap
Version: 3.2-3
Tags: ftbfs
Severity: serious

ecj-bootstrap won't build when /proc is not mounted.  Also note the
invalid free() call which was reported by glibc.

find build/bin -name '*.java' -exec rm -f {} \;
find build/bin -name '*.html' -exec rm -f {} \;
mkdir -p build/bootstrap
fastjar -c -C build/bin . -f build/bootstrap/ecj.jar
rm -rf build/bin
mkdir -p build/bin
cp -r src/org.eclipse.jdt.core/org build/bin/
gij-4.1 \
            -classpath
build/bootstrap/ecj.jar:/usr/share/ant/lib/ant.jar \
            org.eclipse.jdt.internal.compiler.batch.Main \
            -bootclasspath /usr/share/java/libgcj-4.1.jar \
            build/bin
GC Warning: Couldn't read /proc/stat
*** glibc detected *** free(): invalid pointer: 0x00007fff22392720 ***
GC Warning: GC_get_nprocs() returned -1
make: *** [build/stamp] Aborted
Build command 'cd ecj-bootstrap-3.2 && dpkg-buildpackage -b -uc'
failed.





More information about the pkg-java-maintainers mailing list