This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/26495] New: problems with gcj-dbtool
- From: "Thomas dot Arend at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 28 Feb 2006 12:06:56 -0000
- Subject: [Bug libgcj/26495] New: problems with gcj-dbtool
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
here is the result of a bootstrap under a recent cygwin using
../gcc-4.1.0-20060219/configure --prefix=/home/arend/opt/install/gcc-4.1.0
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-libgcj
--with-x --enable-java-awt=xlib --enable-threads
--enable-version-specific-runtime-libs --disable-win32-registry
--enable-libada --enable-libssp
--with-gmp=/home/arend/opt/install/gmp-4.1.4
--with-mpfr=/home/arend/opt/install/mpfr-2.2.0-20060220
--enable-target-optspace
Creation of the compilers was successful, but the java library tools made some
problems (snapshot from the 'make bootstrap' output):
...
/bin/sh ./libtool --tag=GCJ --mode=link /home/arend/tmp/build/gcc/gcj
-B/home/arend/tmp/build/i686-pc-cygwin/libjava/ -B/home/arend/tmp/build/gcc/
-L/home/arend/tmp/build/i686-pc-cygwin/libjava -ffloat-store
-fomit-frame-pointer -g -O2 -o gcj-dbtool.exe
--main=gnu.gcj.tools.gcj_dbtool.Main
-rpath /home/arend/opt/install/gcc-4.1.0/lib/gcc/i686-pc-cygwin/4.1.0
-shared-libgcc gnu/gcj/tools/gcj_dbtool/Main.o
gnu/gcj/tools/gcj_dbtool/natMain.o
-L/home/arend/tmp/build/i686-pc-cygwin/libjava/.libs libgcj.la
/home/arend/tmp/build/gcc/gcj -B/home/arend/tmp/build/i686-pc-cygwin/libjava/
-B/home/arend/tmp/build/gcc/ -ffloat-store -fomit-frame-pointer -g -O2
-o gcj-dbtool.exe --main=gnu.gcj.tools.gcj_dbtool.Main -shared-libgcc
gnu/gcj/tools/gcj_dbtool/Main.o gnu/gcj/tools/gcj_dbtool/natMain.o
-L/home/arend/tmp/build/i686-pc-cygwin/libjava
-L/home/arend/tmp/build/i686-pc-cygwin/libjava/.libs ./.libs/libgcj.a
-L/home/arend/tmp/build/i686-pc-cygwin/libstdc++-v3/src
-L/home/arend/tmp/build/i686-pc-cygwin/libstdc++-v3/src/.libs
-L/home/arend/tmp/build/./gcc
-L/home/arend/opt/install/gcc-4.1.0/lib/gcc/i686-pc-cygwin/4.1.0
-L/home/arend/opt/install/gcc-4.1.0/lib/gcc/i686-pc-cygwin/4.1.0/../../..
-lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc -Wl,--rpath
-Wl,/home/arend/opt/install/gcc-4.1.0/lib/gcc/i686-pc-cygwin/4.1.0
./gcj-dbtool -n classmap.db || touch classmap.db
error: could not create classmap.db: java.io.IOException: mmap not implemented
uname -a produced "CYGWIN_NT-5.1 hhn0001 1.5.19(0.150/4/2) 2006-01-20 13:28
i686 Cygwin", the binutils version seems to be 2.16.91 20050610.
My impression is that cygwin does not fully support mmap. But following the
cygwin changelogs there seems to be a lot of activity in this area.
Regards,
Thomas
--
Summary: problems with gcj-dbtool
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Thomas dot Arend at web dot de
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26495