From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22093 invoked by alias); 30 Aug 2013 16:08:36 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 22064 invoked by uid 48); 30 Aug 2013 16:08:35 -0000 From: "smith_winston_6079 at hotmail dot com" To: java-prs@gcc.gnu.org Subject: [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors Date: Fri, 30 Aug 2013 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: smith_winston_6079 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00008.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58284 Bug ID: 58284 Summary: Compiling jvgenmain failes with lots of "undefined reference" errors Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java Assignee: unassigned at gcc dot gnu.org Reporter: smith_winston_6079 at hotmail dot com I am compiling gcc-4.7.2 with the following configuration: $ /root/tmp/gcc-4.7.2/configure --prefix=/usr/ --with-local-prefix=/usr/local/ --with-native-system-header-dir=/usr/include/ --enable-libada --enable-libssp --enable-libquadmath --enable-libgcj --enable-nls --with-included-gettext --enable-fixed-point --enable-shared --enable-threads --enable-bootstrap --enable-languages=all,ada,go,obj-c++ --enable-stage1-languages=all --enable-werror --enable-checking=all --enable-stage1-checking=all --enable-gather-detailed-mem-stats --enable-libgcj-debug I am getting the following error when compiling jvgenmain: make[3]: Entering directory `/home/_/gcc-4.7.2-build/gcc' rm -f jvgenmain gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -o jvgenmain java/jvgenmain.o java/mangle_name.o \ libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a java/jvgenmain.o: In function `VEC_tree_base_last': /root/tmp/gcc-4.7.2/gcc/vecir.h:28: undefined reference to `vec_assert_fail' java/jvgenmain.o: In function `VEC_tree_base_index': /root/tmp/gcc-4.7.2/gcc/vecir.h:28: undefined reference to `vec_assert_fail' java/jvgenmain.o: In function `VEC_tree_base_space': /root/tmp/gcc-4.7.2/gcc/vecir.h:28: undefined reference to `vec_assert_fail' java/jvgenmain.o: In function `VEC_tree_base_splice': /root/tmp/gcc-4.7.2/gcc/vecir.h:28: undefined reference to `vec_assert_fail' java/jvgenmain.o: In function `VEC_tree_base_quick_push': /root/tmp/gcc-4.7.2/gcc/vecir.h:28: undefined reference to `vec_assert_fail' java/jvgenmain.o:/root/tmp/gcc-4.7.2/gcc/vecir.h:28: more undefined references to `vec_assert_fail' follow java/jvgenmain.o: In function `VEC_tree_gc_alloc': /root/tmp/gcc-4.7.2/gcc/vecir.h:29: undefined reference to `vec_gc_p_reserve_exact' ... java/mangle_name.o: In function `VEC_method_entry_gc_safe_grow': /root/tmp/gcc-4.7.2/gcc/java/java-tree.h:873: undefined reference to `vec_assert_fail' collect2: ld returned 1 exit status make[3]: *** [jvgenmain] Error 1 make[3]: Leaving directory `/home/_/gcc-4.7.2-build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/_/gcc-4.7.2-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/_/gcc-4.7.2-build' make: *** [all] Error 2 Is there anything wrong with the configure arguments that could cause this (I have scanned through the INSTALL directory html pages and could not find anything)? Googling does not seem to help either. One thing to mention: I am building in a directory in /root/tmp/gcc-4.7.2-build which lives on /, but there wasn't enough free space in that partition, so I symlinked it to /home/_/gcc-4.7.2-build/ (which lives on a different partition). Could this cause the issue? Thanks.