Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: gcc-gcj 6.3.1-2

Git Clone URL: https://aur-dev.archlinux.org/gcc-gcj.git (read-only)
Package Base: gcc-gcj
Description: The GNU Compiler for Java
Upstream URL: http://gcc.gnu.org
Licenses: GPL, LGPL
Submitter: Allan
Maintainer: valandil
Last Packager: valandil
Votes: 243
Popularity: 3.271133
First Submitted: 2009-05-08 17:48
Last Updated: 2017-01-14 15:55

Pinned Comments

valandil commented on 2016-05-11 14:02

This package, gcc-gcj, is a subset of the GNU Compiler Collection, specifically the Java compiler part. In Arch Linux, it is mostly used to compile pdftk, a very nifty command-line PDF tool.

When reporting any build issue, please provide your current version of gcc and any error message.

It is *very* long to compile and takes up a lot of disk space while doing so. Do not use AUR helpers to compile this thing, you'll probably end up filling your /tmp partition and crash the compilation process. Download the PKGBUILD (either with yaourt -G gcc-gcj, with the helper of your choice or even manually) and run makepkg.

If you do not want to compile this and only need it for pdftk, consider using pdftk-bin. As its name indicates, it is a precompiled version of pdftk and depends only on libgcj, also precompiled.

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8 9 10 11 12 13 ... Next › Last »

hoobastank commented on 2015-01-28 11:50

Hi,

I'm getting the error which is below. On the other hand to avoid from this error I've tried to install it's binary version via pacman using kps repository, but it wasn't in the repo. There is no file something like that "gcc-gcj-4.9-2-2-any.pkg.tar.xz" whereas I need this package very urgent :( Is there anyone else can help me please? Thanks in advance.

************************ error ************************
build/genchecksum cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \
checksum-options > cc1plus-checksum.c.tmp && \
../../gcc/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c
g++ -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace -DCLOOG_INT_GMP -I/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build/./cloog/include -I/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/cloog/include -I../cloog/include -I/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build/./isl/include -I/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/isl/include -D_FORTIFY_SOURCE=2 -O2 -o cc1plus-checksum.o -MT cc1plus-checksum.o -MMD -MP -MF ./.deps/cc1plus-checksum.TPo cc1plus-checksum.c
g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o cc1plus \
cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o cc1plus-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build/./cloog/.libs -lcloog-isl -L/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build/./isl/.libs -lisl -lmpc -lmpfr -lgmp -lz
collect2: error: ld returned 1 exit status
make[3]: *** [cc1plus] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-vodoo/aur-gcc-gcj/src/gcc-4.9.2/build'
make: *** [all] Error 2
************************ error ************************

hoobastank commented on 2015-01-28 10:57

Hi,

I'm getting the error which is below. On the other hand to avoid from this error I've tried to install it's binary version via pacman using kps repository, but it wasn't in the repo. There is no file something like that "gcc-gcj-4.9-2-2-any.pkg.tar.xz" whereas I need this package very urgent :( Is there anyone else can help me please? Thanks in advance.

************************ error ************************
build/genchecksum cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \
checksum-options > cc1plus-checksum.c.tmp && \
../../gcc/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c
g++ -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace -DCLOOG_INT_GMP -I/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build/./cloog/include -I/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/cloog/include -I../cloog/include -I/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build/./isl/include -I/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/isl/include -D_FORTIFY_SOURCE=2 -O2 -o cc1plus-checksum.o -MT cc1plus-checksum.o -MMD -MP -MF ./.deps/cc1plus-checksum.TPo cc1plus-checksum.c
g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o cc1plus \
cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o cc1plus-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build/./cloog/.libs -lcloog-isl -L/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build/./isl/.libs -lisl -lmpc -lmpfr -lgmp -lz
collect2: error: ld returned 1 exit status
make[3]: *** [cc1plus] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-mathman/aur-gcc-gcj/src/gcc-4.9.2/build'
make: *** [all] Error 2
************************ error ************************

gyurman commented on 2014-12-24 15:37

Thanks the information, valandil. ;-)

valandil commented on 2014-12-19 16:52

Hi gyurman,

I must say I am not surprised. The kps repository is an old one, and doesn't seem to be maintained. If you need gcc-gcj for pdftk, install the binary version of the pdftk package. If you need a binary version of gcc-gcj for some other purpose, and other people do, I might consider creating a binary version of this package myself.

Cheers,

haawda commented on 2014-12-16 21:28

gyurman, at least you could write a proper report.

What did you do?

What happend (error messages...)?

And what is kps?

gyurman commented on 2014-12-16 16:18

Hello, I probed to install from kps. But, the problem is. I cannot install. The package is invalid. What can I do?
Thanks

valandil commented on 2014-11-19 16:36

Switched to in-tree build of isl/cloog to mirror the changes in the gcc package in [core] (https://www.archlinux.org/todo/remove-cloogisl-dependency-in-gcc-packages/), as isl-0.13 is now incompatible with gcc.

haawda commented on 2014-11-19 13:44

For the record, I uploaded PKGBUILDs of isl and cloog to AUR and orphaned them.

valandil commented on 2014-11-19 13:01

I'll check this out and report back.

haawda commented on 2014-11-19 11:16

cloog was in [core], I believe. The gcc in [core] does not have it as makedependency anymore.