This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/38685] classmap.db is zero bytes long in 64 bit directory



------- Comment #8 from rob1weld at aol dot com  2009-02-13 15:55 -------
In revision 144149 we have this:

# gcc/xgcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure --build=i386-pc-solaris2.11
--target=i386-pc-solaris2.11
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-multilib --enable-decimal-float
--with-long-double-128 --with-included-gettext --enable-stage1-checking
--enable-checking=release --with-tune=k8 --with-cpu=k8 --with-arch=k8
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local
--without-ppl
Thread model: posix
gcc version 4.4.0 20090213 (experimental) [trunk revision 144149] (GCC) 


# gmake
...
./gcj-dbtool -n classmap.db || touch classmap.db
/bin/sh: line 1: 20225: Memory fault(coredump)
cp classpath/tools/tools.zip libgcj-tools-4.4.0.jar
[CTRL-C]
#


My fix:

/usr/local/bin/gcj-dbtool -n classmap.db || touch classmap.db


Result:

# ls -lrtA /usr/share/src/gcc_build/i386-pc-solaris2.11/amd64/libjava | tail
-rwxr-xr-x   1 root     root        4223 Feb 13 07:15 gnative2ascii
-rwxr-xr-x   1 root     root        4191 Feb 13 07:15 gorbd
-rwxr-xr-x   1 root     root        4191 Feb 13 07:15 grmid
-rwxr-xr-x   1 root     root        4211 Feb 13 07:15 gserialver
-rwxr-xr-x   1 root     root        4211 Feb 13 07:15 gtnameserv
drwxr-xr-x   2 root     root          89 Feb 13 07:15 .libs
-rwxr-xr-x   1 root     root        4221 Feb 13 07:15 gc-analyze
-rw-r--r--   1 root     root     1166776 Feb 13 07:15 libgcj-tools-4.4.0.jar
-rw-------   1 root     root     74276701 Feb 13 07:19 core
-rw-r--r--   1 root     root     1441792 Feb 13 07:20 classmap.db


Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38685


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]