public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/46575] New: relocation overflow when compile libgcj_tools_la-tools.o
@ 2010-11-20 10:42 licheng.1212 at gmail dot com
  2010-11-20 11:25 ` [Bug java/46575] " licheng.1212 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: licheng.1212 at gmail dot com @ 2010-11-20 10:42 UTC (permalink / raw)
  To: java-prs

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

           Summary: relocation overflow when compile
                    libgcj_tools_la-tools.o
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: licheng.1212@gmail.com


I have ported the gcc-4.4.2 to my mips-elf platform, and it's run's OK.
But when I want to enable the jave language support and enable libgcj,it will
cause a crash when at make process.

I
[compiler_test@localhost libjava]$
/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/gcj -v
-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/mips-elf/libjava/
-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/ -fclasspath=
-fbootclasspath=../../../gcc-4.4.2/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -findirect-dispatch -fno-bootstrap-classes
-fno-indirect-classes -g -O2 -MT classpath/tools/libgcj_tools_la-tools.lo -MD
-MP -MF classpath/tools/.deps/libgcj_tools_la-tools.Tpo -c
classpath/tools/tools.zip -o classpath/tools/libgcj_tools_la-tools.o
Reading specs from /usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/specs
Reading specs from
/usr/local/src/coolsand-gcc/cross_csd/gcc_build/mips-elf/libjava/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: mips-elf
Configured with: ../gcc-4.4.2/configure
--prefix=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler --target=mips-elf
--with-newlib --with-headers=../newlib-1.18.0/newlib/libc/include/
--with-ar=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler/bin/mips-elf-ar
--with-as=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler/bin/mips-elf-as
--with-ld=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler/bin/mips-elf-ld
--with-mpfr=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler
--with-gmp=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler
--with-ppl=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler
--with-cloog=/usr/local/src/coolsand-gcc/cross_csd/crosscompiler
--enable-languages=c,c++,java --disable-multilib --disable-libgcj-bc
--enable-libgcj --enable-static --disable-rpath --disable-bootstrap
--disable-libgcj-multifile --disable-libjava-multilib
--with-gcc-version-trigger=../gcc-4.4.2/gcc/version.c --disable-libstdcxx-pch
--with-bugurl='In case of bug, please contact Coolsand Technologies.'
Thread model: single
gcc version 4.4.2 (Coolsand Version 1 - In test.) (GCC) 
COLLECT_GCC_OPTIONS='-v'
'-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/mips-elf/libjava/'
'-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/' '-fencoding=UTF-8'
'-Wno-deprecated' '-findirect-dispatch' '-fno-bootstrap-classes'
'-fno-indirect-classes' '-g' '-O2' '-MT'
'classpath/tools/libgcj_tools_la-tools.lo' '-MD' '-MP' '-MF'
'classpath/tools/.deps/libgcj_tools_la-tools.Tpo' '-c' '-o'
'classpath/tools/libgcj_tools_la-tools.o'
'-fbootclasspath=./:../../../gcc-4.4.2/libjava/classpath/lib/' '-s-bc-abi'
COLLECT_GCC_OPTIONS='-v'
'-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/mips-elf/libjava/'
'-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/' '-fencoding=UTF-8'
'-Wno-deprecated' '-findirect-dispatch' '-fno-bootstrap-classes'
'-fno-indirect-classes' '-g' '-O2' '-MT'
'classpath/tools/libgcj_tools_la-tools.lo' '-MD' '-MP' '-MF'
'classpath/tools/.deps/libgcj_tools_la-tools.Tpo' '-c' '-o'
'classpath/tools/libgcj_tools_la-tools.o'
'-fbootclasspath=./:../../../gcc-4.4.2/libjava/classpath/lib/' '-s-bc-abi'
 /usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/jc1
classpath/tools/tools.zip -fuse-divide-subroutine -fcheck-references
-fuse-boehm-gc -fkeep-inline-functions -quiet -dumpbase tools.zip
-auxbase-strip classpath/tools/libgcj_tools_la-tools.o -g -O2 -Wno-deprecated
-version -fencoding=UTF-8 -findirect-dispatch -fno-bootstrap-classes
-fno-indirect-classes
-fbootclasspath=./:../../../gcc-4.4.2/libjava/classpath/lib/ -MD_ -MT
classpath/tools/libgcj_tools_la-tools.lo -MF
classpath/tools/.deps/libgcj_tools_la-tools.Tpo -o /tmp/ccckNe4s.s
GNU Java (GCC) version 4.4.2 (Coolsand Version 1 - In test.) (mips-elf)
    compiled by GNU C version 4.5.1 20100924 (Red Hat 4.5.1-4), GMP version
4.3.2, MPFR version 2.4.2.
warning: GMP header version 4.3.2 differs from library version 4.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Class path starts here:
    ./
    ./ (system)
    ../../../gcc-4.4.2/libjava/classpath/lib/ (system)
COLLECT_GCC_OPTIONS='-v'
'-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/mips-elf/libjava/'
'-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/' '-fencoding=UTF-8'
'-Wno-deprecated' '-findirect-dispatch' '-fno-bootstrap-classes'
'-fno-indirect-classes' '-g' '-O2' '-MT'
'classpath/tools/libgcj_tools_la-tools.lo' '-MD' '-MP' '-MF'
'classpath/tools/.deps/libgcj_tools_la-tools.Tpo' '-c' '-o'
'classpath/tools/libgcj_tools_la-tools.o'
'-fbootclasspath=./:../../../gcc-4.4.2/libjava/classpath/lib/' '-s-bc-abi'
 /usr/local/src/coolsand-gcc/cross_csd/crosscompiler/bin/mips-elf-as -v -EB -O2
-g -no-mdebug -mabi=32 -v -o classpath/tools/libgcj_tools_la-tools.o
/tmp/ccckNe4s.s
GNU assembler version 2.20 (mips-elf) using BFD version (GNU Binutils) 2.20
(Coolsand Tech v.4)
/tmp/ccckNe4s.s: Assembler messages:
/tmp/ccckNe4s.s:19940: Error: relocation overflow
/tmp/ccckNe4s.s:20028: Error: relocation overflow
/tmp/ccckNe4s.s:20072: Error: relocation overflow
/tmp/ccckNe4s.s:20116: Error: relocation overflow
/tmp/ccckNe4s.s:20164: Error: relocation overflow
/tmp/ccckNe4s.s:20207: Error: relocation overflow
/tmp/ccckNe4s.s:20548: Error: relocation overflow
/tmp/ccckNe4s.s:21071: Error: relocation overflow
/tmp/ccckNe4s.s:21302: Error: relocation overflow
/tmp/ccckNe4s.s:21563: Error: relocation overflow
/tmp/ccckNe4s.s:21609: Error: relocation overflow
/tmp/ccckNe4s.s:21842: Error: relocation overflow
/tmp/ccckNe4s.s:22099: Error: relocation overflow
/tmp/ccckNe4s.s:22332: Error: relocation overflow
/tmp/ccckNe4s.s:22442: Error: relocation overflow
/tmp/ccckNe4s.s:22480: Error: relocation overflow
/tmp/ccckNe4s.s:22527: Error: relocation overflow
/tmp/ccckNe4s.s:22567: Error: relocation overflow
/tmp/ccckNe4s.s:22632: Error: relocation overflow
/tmp/ccckNe4s.s:22672: Error: relocation overflow
/tmp/ccckNe4s.s:22710: Error: relocation overflow
/tmp/ccckNe4s.s:22757: Error: relocation overflow
/tmp/ccckNe4s.s:22848: Error: relocation overflow
/tmp/ccckNe4s.s:22915: Error: relocation overflow
/tmp/ccckNe4s.s:22960: Error: relocation overflow
/tmp/ccckNe4s.s:23027: Error: relocation overflow
/tmp/ccckNe4s.s:23072: Error: relocation overflow
/tmp/ccckNe4s.s:23119: Error: relocation overflow
/tmp/ccckNe4s.s:23156: Error: relocation overflow
/tmp/ccckNe4s.s:23201: Error: relocation overflow
/tmp/ccckNe4s.s:23247: Error: relocation overflow
/tmp/ccckNe4s.s:23285: Error: relocation overflow
/tmp/ccckNe4s.s:23350: Error: relocation overflow
/tmp/ccckNe4s.s:23359: Error: relocation overflow
/tmp/ccckNe4s.s:23401: Error: relocation overflow
/tmp/ccckNe4s.s:23460: Error: relocation overflow
/tmp/ccckNe4s.s:23498: Error: relocation overflow
/tmp/ccckNe4s.s:23590: Error: relocation overflow
/tmp/ccckNe4s.s:23635: Error: relocation overflow
/tmp/ccckNe4s.s:23736: Error: relocation overflow
/tmp/ccckNe4s.s:23774: Error: relocation overflow
/tmp/ccckNe4s.s:23819: Error: relocation overflow
/tmp/ccckNe4s.s:23902: Error: relocation overflow
/tmp/ccckNe4s.s:23994: Error: relocation overflow
/tmp/ccckNe4s.s:24039: Error: relocation overflow
/tmp/ccckNe4s.s:24082: Error: relocation overflow
/tmp/ccckNe4s.s:24191: Error: relocation overflow
/tmp/ccckNe4s.s:24231: Error: relocation overflow
/tmp/ccckNe4s.s:24269: Error: relocation overflow
/tmp/ccckNe4s.s:24316: Error: relocation overflow
/tmp/ccckNe4s.s:24354: Error: relocation overflow
/tmp/ccckNe4s.s:24401: Error: relocation overflow
/tmp/ccckNe4s.s:24440: Error: relocation overflow
/tmp/ccckNe4s.s:24487: Error: relocation overflow
/tmp/ccckNe4s.s:24551: Error: relocation overflow
/tmp/ccckNe4s.s:24592: Error: relocation overflow
/tmp/ccckNe4s.s:24633: Error: relocation overflow
/tmp/ccckNe4s.s:24673: Error: relocation overflow
/tmp/ccckNe4s.s:24712: Error: relocation overflow
/tmp/ccckNe4s.s:24752: Error: relocation overflow
/tmp/ccckNe4s.s:24790: Error: relocation overflow
/tmp/ccckNe4s.s:24838: Error: relocation overflow
/tmp/ccckNe4s.s:24876: Error: relocation overflow
/tmp/ccckNe4s.s:24921: Error: relocation overflow
/tmp/ccckNe4s.s:24965: Error: relocation overflow
/tmp/ccckNe4s.s:25012: Error: relocation overflow
/tmp/ccckNe4s.s:25052: Error: relocation overflow
/tmp/ccckNe4s.s:25092: Error: relocation overflow
/tmp/ccckNe4s.s:25181: Error: relocation overflow
/tmp/ccckNe4s.s:25241: Error: relocation overflow
/tmp/ccckNe4s.s:26342: Error: relocation overflow
/tmp/ccckNe4s.s:26438: Error: relocation overflow
/tmp/ccckNe4s.s:26526: Error: relocation overflow
/tmp/ccckNe4s.s:26566: Error: relocation overflow
/tmp/ccckNe4s.s:26617: Error: relocation overflow
/tmp/ccckNe4s.s:26657: Error: relocation overflow
/tmp/ccckNe4s.s:26722: Error: relocation overflow
/tmp/ccckNe4s.s:26834: Error: relocation overflow
/tmp/ccckNe4s.s:26872: Error: relocation overflow
/tmp/ccckNe4s.s:26919: Error: relocation overflow
/tmp/ccckNe4s.s:27064: Error: relocation overflow
/tmp/ccckNe4s.s:27153: Error: relocation overflow
/tmp/ccckNe4s.s:27194: Error: relocation overflow
/tmp/ccckNe4s.s:27233: Error: relocation overflow
/tmp/ccckNe4s.s:27413: Error: relocation overflow
/tmp/ccckNe4s.s:27454: Error: relocation overflow
/tmp/ccckNe4s.s:27494: Error: relocation overflow
/tmp/ccckNe4s.s:27558: Error: relocation overflow
/tmp/ccckNe4s.s:27607: Error: relocation overflow
/tmp/ccckNe4s.s:27648: Error: relocation overflow
/tmp/ccckNe4s.s:27689: Error: relocation overflow
/tmp/ccckNe4s.s:27728: Error: relocation overflow
/tmp/ccckNe4s.s:27775: Error: relocation overflow

and, I alse do the folowing test

[compiler_test@localhost libjava]$
/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/gcj -v
-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/mips-elf/libjava/
-B/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/ -fclasspath=
-fbootclasspath=../../../gcc-4.4.2/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -findirect-dispatch -fno-bootstrap-classes
-fno-indirect-classes -g -O2 -MT classpath/tools/libgcj_tools_la-tools.lo -MD
-MP -MF classpath/tools/.deps/libgcj_tools_la-tools.Tpo -S
classpath/tools/tools.zip -o classpath/tools/libgcj_tools_la-tools.S


/libgcj_tools_la-tools.S is OK

[compiler_test@localhost libjava]$
/usr/local/src/coolsand-gcc/cross_csd/gcc_build/gcc/as 
classpath/tools/libgcj_tools_la-tools.S -o libgcj_tools_la-tools.o
classpath/tools/libgcj_tools_la-tools.S: Assembler messages:
classpath/tools/libgcj_tools_la-tools.S:19940: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:20028: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:20072: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:20116: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:20164: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:20207: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:20548: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:21071: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:21302: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:21563: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:21609: Error: relocation overflow
classpath/tools/libgcj_tools_la-tools.S:21842: Error: relocation overflow


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

* [Bug java/46575] relocation overflow when compile libgcj_tools_la-tools.o
  2010-11-20 10:42 [Bug java/46575] New: relocation overflow when compile libgcj_tools_la-tools.o licheng.1212 at gmail dot com
@ 2010-11-20 11:25 ` licheng.1212 at gmail dot com
  2010-11-22 12:40 ` [Bug libgcj/46575] " licheng.1212 at gmail dot com
  2011-05-26 12:47 ` licheng.1212 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: licheng.1212 at gmail dot com @ 2010-11-20 11:25 UTC (permalink / raw)
  To: java-prs

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

--- Comment #4 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2010-11-20 11:25:40 UTC ---
libgcj_tools_la-tools.S.tar.bz2 is too big to upload, so i spilt it to three
file.
please use cat x* > libgcj_tools_la-tools.S.tar.bz2  to get it


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

* [Bug libgcj/46575] relocation overflow when compile libgcj_tools_la-tools.o
  2010-11-20 10:42 [Bug java/46575] New: relocation overflow when compile libgcj_tools_la-tools.o licheng.1212 at gmail dot com
  2010-11-20 11:25 ` [Bug java/46575] " licheng.1212 at gmail dot com
@ 2010-11-22 12:40 ` licheng.1212 at gmail dot com
  2011-05-26 12:47 ` licheng.1212 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: licheng.1212 at gmail dot com @ 2010-11-22 12:40 UTC (permalink / raw)
  To: java-prs

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

licheng.1212@gmail.com <licheng.1212 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj

--- Comment #5 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2010-11-22 12:40:10 UTC ---
it's a libgcj bug


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

* [Bug libgcj/46575] relocation overflow when compile libgcj_tools_la-tools.o
  2010-11-20 10:42 [Bug java/46575] New: relocation overflow when compile libgcj_tools_la-tools.o licheng.1212 at gmail dot com
  2010-11-20 11:25 ` [Bug java/46575] " licheng.1212 at gmail dot com
  2010-11-22 12:40 ` [Bug libgcj/46575] " licheng.1212 at gmail dot com
@ 2011-05-26 12:47 ` licheng.1212 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: licheng.1212 at gmail dot com @ 2011-05-26 12:47 UTC (permalink / raw)
  To: java-prs

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

licheng.1212@gmail.com <licheng.1212 at gmail dot com> changed:

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

--- Comment #6 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2011-05-26 12:45:29 UTC ---
-EL will ok


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

end of thread, other threads:[~2011-05-26 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20 10:42 [Bug java/46575] New: relocation overflow when compile libgcj_tools_la-tools.o licheng.1212 at gmail dot com
2010-11-20 11:25 ` [Bug java/46575] " licheng.1212 at gmail dot com
2010-11-22 12:40 ` [Bug libgcj/46575] " licheng.1212 at gmail dot com
2011-05-26 12:47 ` licheng.1212 at gmail dot com

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).