Bug 61356 - make error in gcj
Summary: make error in gcj
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-29 15:10 UTC by Piyush Chauhan
Modified: 2016-09-30 22:53 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piyush Chauhan 2014-05-29 15:10:22 UTC
GCC Version: 4.7.2 ( I'm trying to install )
OS: GhostBSD-3.5 ( FreeBSD release 9.2 based )
Shell: Fish

Command issued: cd /usr/ports/lang/gcc && make install clean

Error:
libtool: compile:  /usr/ports/lang/gcc/work/build/./gcc/gcj -B/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd9.2/libjava/ -B/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd9.2/bin/ -B/usr/local/x86_64-portbld-freebsd9.2/lib/ -isystem /usr/local/x86_64-portbld-freebsd9.2/include -isystem /usr/local/x86_64-portbld-freebsd9.2/sys-include -fomit-frame-pointer -Usun -fclasspath= -fbootclasspath=../.././../gcc-4.7.3/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -findirect-dispatch -fno-bootstrap-classes -fno-indirect-classes -fsource-filename=/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd9.2/libjava/classpath/tools/all-classes.lst -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  -fPIC -o classpath/tools/.libs/libgcj_tools_la-tools.o
gcj: internal compiler error: Killed: 9 (program jc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [classpath/tools/libgcj_tools_la-tools.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd9.2/libjava'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd9.2/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/lang/gcc.
*** [install] Error code 1

Stop in /usr/ports/lang/gcc.
*** [build-depends] Error code 1

Stop in /usr/ports/www/firefox.
*** [install] Error code 1

Stop in /usr/ports/www/firefox.
--------------------------------------------------

I ran make install clean 2 times but same error popped up and at same line libtool. Suggest something please because I would like to install firefox 29 latest version and it requires gcc47 as dependency.
Comment 1 Andreas Schwab 2014-05-29 15:25:24 UTC
Something has forcefully killed the compiler, probably due to OOM.
Comment 2 Piyush Chauhan 2014-05-29 19:46:53 UTC
I have re-installed the gcc-4.7.3 without java build option just gcc,g++,objc,FORTRAN packages. Now it's working fine.
I don't know what happened with gcj!

You can close the issue/bug, from my side no problemo :)
Comment 3 Andrew Pinski 2016-09-30 22:53:37 UTC
Closing as won't fix as libgcj (and the java front-end) has been removed from the trunk.