[Bug java/9577] Linker error for legal Java/CNI code if method parameters are reversed

pinskia@physics.uc.edu gcc-bugzilla@gcc.gnu.org
Mon May 26 01:05:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-26 00:27:07
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-26 00:27 -------
still happens on the mainline (20030525):

tin:~/src/gnu/gcctest/9577>gcj --main=Foo Foo.java snafu.cc
/tmp/ccUDft0d.o(.data+0xc): undefined reference to `Foo::bar(JArray<java::lang::String*>
*, java::io::File*)'
/tmp/ccUDft0d.o(.data+0x64): undefined reference to `Foo::bar(JArray<java::lang::String*
>*, java::io::File*)'


Foo.o:
                   U _ZN3Foo3barEP6JArrayIPN4java4lang6StringEEPN4java2io4FileE
snafu.o:
00000000 T _ZN3Foo3barEP6JArrayIPN4java4lang6StringEEPNS1_2io4FileE

Looks like someone is mangling the function wrong.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list