public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pending/25870]  New: GCC 3.4.5 java compiler bootstrap failure.
@ 2006-01-20  6:46 gcc-bugzilla at gcc dot gnu dot org
  2006-01-20 14:06 ` [Bug pending/25870] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2006-01-20  6:46 UTC (permalink / raw)
  To: gcc-bugs

NOTE: Defaulting component because reported component no longer exists
When list of languages has java (--enable-languages=c,c++,ada,f77,objc,java)
passed then make bootstrap fails on java with the following error:

Making all in gcj
make[5]: Entering directory
`/root/gcc-build/x86_64-slackware-linux/32/libjava/gcj'
make[5]: Leaving directory
`/root/gcc-build/x86_64-slackware-linux/32/libjava/gcj'
Making all in include
make[5]: Entering directory
`/root/gcc-build/x86_64-slackware-linux/32/libjava/include'
make[5]: Leaving directory
`/root/gcc-build/x86_64-slackware-linux/32/libjava/include'
make[5]: Entering directory `/root/gcc-build/x86_64-slackware-linux/32/libjava'
/bin/sh ./libtool --tag=CXX --mode=compile /root/gcc-build/gcc/xgcc
-shared-libgcc -B/root/gcc-build/gcc/ -nostdinc++
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src/.libs
-B/usr/x86_64-slackware-linux/bin/ -B/usr/x86_64-slackware-linux/lib/ -isystem
/usr/x86_64-slackware-linux/include -isystem
/usr/x86_64-slackware-linux/sys-include  -m32 -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.4.5/libjava -I./include -I./gcj
-I../../../../gcc-3.4.5/libjava -Iinclude
-I../../../../gcc-3.4.5/libjava/include -I/root/gcc-3.4.5/boehm-gc/include 
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -DUSE_MMAP=1  
-I../../../../gcc-3.4.5/libjava/libltdl -I../../../../gcc-3.4.5/libjava/libltdl
 -I../../../../gcc-3.4.5/libjava/.././libjava/../gcc
-I../../../../gcc-3.4.5/libjava/../zlib -I../../../../gcc-!
 3.4.5/libjava/../libffi/include -I../libffi/include  -O2 -g -O2 -fno-rtti
-fnon-call-exceptions  -fdollars-in-identifiers -Wswitch-enum -ffloat-store
-fno-omit-frame-pointer  -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE
-DPREFIX="\"/usr\"" -DLIBDIR="\"/usr/lib\""
-DBOOT_CLASS_PATH="\"/usr/share/java/libgcj-3.4.5.jar\"" -g -O2 -D_GNU_SOURCE 
-m32 -c ../../../../gcc-3.4.5/libjava/jni.cc
/bin/sh ./libtool --tag=CXX --mode=compile /root/gcc-build/gcc/xgcc
-shared-libgcc -B/root/gcc-build/gcc/ -nostdinc++
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src/.libs
-B/usr/x86_64-slackware-linux/bin/ -B/usr/x86_64-slackware-linux/lib/ -isystem
/usr/x86_64-slackware-linux/include -isystem
/usr/x86_64-slackware-linux/sys-include  -m32 -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.4.5/libjava -I./include -I./gcj
-I../../../../gcc-3.4.5/libjava -Iinclude
-I../../../../gcc-3.4.5/libjava/include -I/root/gcc-3.4.5/boehm-gc/include 
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -DUSE_MMAP=1  
-I../../../../gcc-3.4.5/libjava/libltdl -I../../../../gcc-3.4.5/libjava/libltdl
 -I../../../../gcc-3.4.5/libjava/.././libjava/../gcc
-I../../../../gcc-3.4.5/libjava/../zlib -I../../../../gcc-!
 3.4.5/libjava/../libffi/include -I../libffi/include  -O2 -g -O2 -fno-rtti
-fnon-call-exceptions  -fdollars-in-identifiers -Wswitch-enum -ffloat-store
-fno-omit-frame-pointer  -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE
-DPREFIX="\"/usr\"" -DLIBDIR="\"/usr/lib\""
-DBOOT_CLASS_PATH="\"/usr/share/java/libgcj-3.4.5.jar\"" -g -O2 -D_GNU_SOURCE 
-m32 -c ../../../../gcc-3.4.5/libjava/prims.cc
mkdir .libs
/root/gcc-build/gcc/xgcc -shared-libgcc -B/root/gcc-build/gcc/ -nostdinc++
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src/.libs
-B/usr/x86_64-slackware-linux/bin/ -B/usr/x86_64-slackware-linux/lib/ -isystem
/usr/x86_64-slackware-linux/include -isystem
/usr/x86_64-slackware-linux/sys-include -m32 -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.4.5/libjava -I./include -I./gcj
-I../../../../gcc-3.4.5/libjava -Iinclude
-I../../../../gcc-3.4.5/libjava/include -I/root/gcc-3.4.5/boehm-gc/include
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -DUSE_MMAP=1
-I../../../../gcc-3.4.5/libjava/libltdl -I../../../../gcc-3.4.5/libjava/libltdl
-I../../../../gcc-3.4.5/libjava/.././libjava/../gcc
-I../../../../gcc-3.4.5/libjava/../zlib
-I../../../../gcc-3.4.5/libjava/../libffi/include -I../libffi/incl!
 ude -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers
-Wswitch-enum -ffloat-store -fno-omit-frame-pointer -I/usr/X11R6/include -W
-Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\"
-DBOOT_CLASS_PATH=\"/usr/share/java/libgcj-3.4.5.jar\" -g -O2 -D_GNU_SOURCE
-m32 -Wp,-MD,.deps/jni.pp -c ../../../../gcc-3.4.5/libjava/jni.cc  -fPIC -DPIC
-o .libs/jni.o
In file included from ../../../../gcc-3.4.5/libjava/jni.cc:38:
./java/lang/Integer.h:45: warning: this decimal constant is unsigned only in
ISO C90
/root/gcc-build/gcc/xgcc -shared-libgcc -B/root/gcc-build/gcc/ -nostdinc++
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src/.libs
-B/usr/x86_64-slackware-linux/bin/ -B/usr/x86_64-slackware-linux/lib/ -isystem
/usr/x86_64-slackware-linux/include -isystem
/usr/x86_64-slackware-linux/sys-include -m32 -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.4.5/libjava -I./include -I./gcj
-I../../../../gcc-3.4.5/libjava -Iinclude
-I../../../../gcc-3.4.5/libjava/include -I/root/gcc-3.4.5/boehm-gc/include
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -DUSE_MMAP=1
-I../../../../gcc-3.4.5/libjava/libltdl -I../../../../gcc-3.4.5/libjava/libltdl
-I../../../../gcc-3.4.5/libjava/.././libjava/../gcc
-I../../../../gcc-3.4.5/libjava/../zlib
-I../../../../gcc-3.4.5/libjava/../libffi/include -I../libffi/incl!
 ude -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers
-Wswitch-enum -ffloat-store -fno-omit-frame-pointer -I/usr/X11R6/include -W
-Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\"
-DBOOT_CLASS_PATH=\"/usr/share/java/libgcj-3.4.5.jar\" -g -O2 -D_GNU_SOURCE
-m32 -Wp,-MD,.deps/prims.pp -c ../../../../gcc-3.4.5/libjava/prims.cc  -fPIC
-DPIC -o .libs/prims.o
../../../../gcc-3.4.5/libjava/jni.cc:2055: warning: unused parameter
'args_size'
../../../../gcc-3.4.5/libjava/prims.cc: In function `jint
_Jv_CreateJavaVM(void*)':
../../../../gcc-3.4.5/libjava/prims.cc:944: error: `SYS_sigaction' was not
declared in this scope
../../../../gcc-3.4.5/libjava/prims.cc:944: warning: unused variable
'SYS_sigaction'
../../../../gcc-3.4.5/libjava/prims.cc:946: error: `SYS_sigaction' was not
declared in this scope
../../../../gcc-3.4.5/libjava/prims.cc:946: warning: unused variable
'SYS_sigaction'
./include/java-signal-aux.h: At global scope:
./include/java-signal-aux.h:125: warning: 'void restore()' declared `static'
but never defined
make[5]: *** [prims.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
/root/gcc-build/gcc/xgcc -shared-libgcc -B/root/gcc-build/gcc/ -nostdinc++
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src
-L/root/gcc-build/x86_64-slackware-linux/32/libstdc++-v3/src/.libs
-B/usr/x86_64-slackware-linux/bin/ -B/usr/x86_64-slackware-linux/lib/ -isystem
/usr/x86_64-slackware-linux/include -isystem
/usr/x86_64-slackware-linux/sys-include -m32 -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.4.5/libjava -I./include -I./gcj
-I../../../../gcc-3.4.5/libjava -Iinclude
-I../../../../gcc-3.4.5/libjava/include -I/root/gcc-3.4.5/boehm-gc/include
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -DUSE_MMAP=1
-I../../../../gcc-3.4.5/libjava/libltdl -I../../../../gcc-3.4.5/libjava/libltdl
-I../../../../gcc-3.4.5/libjava/.././libjava/../gcc
-I../../../../gcc-3.4.5/libjava/../zlib
-I../../../../gcc-3.4.5/libjava/../libffi/include -I../libffi/incl!
 ude -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers
-Wswitch-enum -ffloat-store -fno-omit-frame-pointer -I/usr/X11R6/include -W
-Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\"
-DBOOT_CLASS_PATH=\"/usr/share/java/libgcj-3.4.5.jar\" -g -O2 -D_GNU_SOURCE
-m32 -Wp,-MD,.deps/jni.pp -c ../../../../gcc-3.4.5/libjava/jni.cc -o jni.o
>/dev/null 2>&1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/root/gcc-build/x86_64-slackware-linux/32/libjava'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/gcc-build/x86_64-slackware-linux/32/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/root/gcc-build/x86_64-slackware-linux/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/root/gcc-build/x86_64-slackware-linux/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/root/gcc-build'
make: *** [bootstrap] Error 2
root@blaze:~/gcc-build#

Environment:
System: Linux blaze 2.6.15 #1 SMP PREEMPT Sun Jan 8 17:11:41 EST 2006 x86_64
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
Architecture: x86_64


host: x86_64-slackware-linux-gnu
build: x86_64-slackware-linux-gnu
target: x86_64-slackware-linux-gnu
configured with: ../gcc-3.4.5/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=x86_64-slackware-linux --host=x86_64-slackware-linux
--enable-languages=c,c++,ada,f77,objc

How-To-Repeat:
Configure gcc-3.4.5 with java added to --enable-languages.


------- Comment #1 from paulb at blazebox dot homeip dot net  2006-01-20 06:46 -------
Fix:
None known.


-- 
           Summary: GCC 3.4.5 java compiler bootstrap failure.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: pending
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: paulb at blazebox dot homeip dot net
 GCC build triplet: x86_64-slackware-linux-gnu
  GCC host triplet: x86_64-slackware-linux-gnu
GCC target triplet: x86_64-slackware-linux-gnu


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug pending/25870] GCC 3.4.5 java compiler bootstrap failure.
  2006-01-20  6:46 [Bug pending/25870] New: GCC 3.4.5 java compiler bootstrap failure gcc-bugzilla at gcc dot gnu dot org
@ 2006-01-20 14:06 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-20 14:06 -------
This is a bug in your installation (distro's problem) of GNU/Linux.

Use --disable-mulitlib unless you need a 32bit gcj and if you do please report
the issue to slackware as it is an issue there and not in GCC.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-20 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-20  6:46 [Bug pending/25870] New: GCC 3.4.5 java compiler bootstrap failure gcc-bugzilla at gcc dot gnu dot org
2006-01-20 14:06 ` [Bug pending/25870] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).