public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors
@ 2013-08-30 16:08 smith_winston_6079 at hotmail dot com
  2013-08-31  9:45 ` [Bug java/58284] " smith_winston_6079 at hotmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: smith_winston_6079 at hotmail dot com @ 2013-08-30 16:08 UTC (permalink / raw)
  To: java-prs

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'
... <lots of such errors, omitted for brevity>
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.


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

* [Bug java/58284] Compiling jvgenmain failes with lots of "undefined reference" errors
  2013-08-30 16:08 [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors smith_winston_6079 at hotmail dot com
@ 2013-08-31  9:45 ` smith_winston_6079 at hotmail dot com
  2013-09-01  9:49 ` smith_winston_6079 at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: smith_winston_6079 at hotmail dot com @ 2013-08-31  9:45 UTC (permalink / raw)
  To: java-prs

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

--- Comment #1 from Winston Smith <smith_winston_6079 at hotmail dot com> ---
The same happens if the build dir is not a symlink.


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

* [Bug java/58284] Compiling jvgenmain failes with lots of "undefined reference" errors
  2013-08-30 16:08 [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors smith_winston_6079 at hotmail dot com
  2013-08-31  9:45 ` [Bug java/58284] " smith_winston_6079 at hotmail dot com
@ 2013-09-01  9:49 ` smith_winston_6079 at hotmail dot com
  2013-09-01 18:03 ` pinskia at gcc dot gnu.org
  2013-09-02 13:10 ` smith_winston_6079 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: smith_winston_6079 at hotmail dot com @ 2013-09-01  9:49 UTC (permalink / raw)
  To: java-prs

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

--- Comment #2 from Winston Smith <smith_winston_6079 at hotmail dot com> ---
Same error with 4.7.3, but 4.8.1 gets past it. Until it hit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57900.


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

* [Bug java/58284] Compiling jvgenmain failes with lots of "undefined reference" errors
  2013-08-30 16:08 [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors smith_winston_6079 at hotmail dot com
  2013-08-31  9:45 ` [Bug java/58284] " smith_winston_6079 at hotmail dot com
  2013-09-01  9:49 ` smith_winston_6079 at hotmail dot com
@ 2013-09-01 18:03 ` pinskia at gcc dot gnu.org
  2013-09-02 13:10 ` smith_winston_6079 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-09-01 18:03 UTC (permalink / raw)
  To: java-prs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>--enable-stage1-languages=all

Don't use that, it is not useful really.


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

* [Bug java/58284] Compiling jvgenmain failes with lots of "undefined reference" errors
  2013-08-30 16:08 [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors smith_winston_6079 at hotmail dot com
                   ` (2 preceding siblings ...)
  2013-09-01 18:03 ` pinskia at gcc dot gnu.org
@ 2013-09-02 13:10 ` smith_winston_6079 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: smith_winston_6079 at hotmail dot com @ 2013-09-02 13:10 UTC (permalink / raw)
  To: java-prs

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

--- Comment #4 from Winston Smith <smith_winston_6079 at hotmail dot com> ---
I see. Is that the cause for the issue?


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

end of thread, other threads:[~2013-09-02 13:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 16:08 [Bug java/58284] New: Compiling jvgenmain failes with lots of "undefined reference" errors smith_winston_6079 at hotmail dot com
2013-08-31  9:45 ` [Bug java/58284] " smith_winston_6079 at hotmail dot com
2013-09-01  9:49 ` smith_winston_6079 at hotmail dot com
2013-09-01 18:03 ` pinskia at gcc dot gnu.org
2013-09-02 13:10 ` smith_winston_6079 at hotmail 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).