This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
NPE with gcc 3.4 when trying to open a tcp-socket
- From: Andrew Haley <aph at redhat dot com>
- To: Jörg Maisenbacher <joerg at maisenbachers dot de>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 15 Sep 2003 18:08:01 +0100
- Subject: NPE with gcc 3.4 when trying to open a tcp-socket
- References: <3F65EF88.7040308@maisenbachers.de>
Jörg Maisenbacher writes:
>
> I just build gcc 3.4 from cvs, and compiled an application. But this app
> crashes with an NPE right at the start (when it tries to open a tcp-socket):
I'd love to investigate this, but without a test case I can't do much.
> this does _not_ happen with gcc 3.3
>
> This is not directly related to the topic above, but if i link my files
> with -static, the application segfaults.
> Do i have to look for something special when linking static with gcj-build?
Not usually. However, anything that uses reflection may break when
linked statically.
Andrew.