This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Is this a name mangling problem?
- To: java at gcc dot gnu dot org
- Subject: Is this a name mangling problem?
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- Date: Wed, 31 Jan 2001 17:23:56 +0100
- Reply-To: martin dot kahlert at infineon dot com
Hi,
i use to compile a very large collection of class files into an
executable. This worked well with previous snapshots.
Now with gcc-20010129 i get ~3544 errors of the kind
lib/libtmc_LINUX_GCC.a(VCG_Node.o): \
In function `VHDL::VG::VCG::VCG_Node::write(java::io::PrintWriter*) ':
/home/kahlert/LOCAL/TMC_JAVA/VHDL/VG/VCG/VCG_Node.class(.text+0x38c): \
undefined reference to `VHDL::VG::VCG::VCG_Node::class$VHDL$VG$VCG$VCGA_Title '
/home/kahlert/LOCAL/TMC_JAVA/VHDL/VG/VCG/VCG_Node.class(.text+0x3a1): \
undefined reference to `VHDL::VG::VCG::VCG_Node::class$VHDL$VG$VCG$VCGA_Title '
/home/kahlert/LOCAL/TMC_JAVA/VHDL/VG/VCG/VCG_Node.class(.text+0x3d4): \
undefined reference to `VHDL::VG::VCG::VCG_Node::class$VHDL$VG$VCG$VCGA_Title '
This 'VHDL::VG::VCG::VCG_Node::class$VHDL$VG$VCG$VCGA_Title' looks like a
doubled name to me.
I tried with a very small app and 'forgot' a class file and got
hello.o: In function `hello::main(JArray<java::lang::String*>*) ':
/home/kahlert/LOCAL/Hello/hello.java:5: undefined reference to `holla::class$ '
/home/kahlert/LOCAL/Hello/hello.java:5: undefined reference to `holla::holla()'
(No holla::class$holla or anything like that.)
Did i make a silly mistake or is this a (perhaps known) bug?
Thanks,
Martin.
PS: My small apps continue to work wonderfully.
--
The early bird gets the worm. If you want something else for
breakfast, get up later.