🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gmane.comp.gcc.bugs
5 messages
5 total messages Started by "steve.reinke at Tue, 25 Jan 2011 11:19
[Bug java/47456] New: internal compiler error: Segmentation fault while using jna
#307767
Author: "steve.reinke at
Date: Tue, 25 Jan 2011 11:19
38 lines
1196 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG456

           Summary: internal compiler error: Segmentation fault while
                    using jna
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: steve.reinke@iws.fraunhofer.de


i tried to use the java native compiler 1.1.1 application for compiling java
code to native code. i use gcj for compiling for windows.
in the application i use jna. in the line where i try to load the dmx4all.dll
the compiler breaks with the following error:

creating "Main.exe" for Windows
- processing 3D_Viewer_NEW.jar
    de/fraunhofer/iws/dmxcontrol/DMXControl.java:29: internal compiler error:
        Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.

failed...

that's why I'm reporting this bug. can you help me or fix this bug so that i
can compile my project?

the version of the compiler is "gcc-122233-win.zip". i got it from your
homepage.

regards

steve reinke
[Bug java/47456] internal compiler error: Segmentation fault while using jna
#307769
Author: "steve.reinke at
Date: Tue, 25 Jan 2011 11:21
7 lines
288 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG456

steve.reinke at iws dot fraunhofer.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
[Bug java/47456] internal compiler error: Segmentation fault while using jna
#307919
Author: "pinskia at gcc
Date: Wed, 26 Jan 2011 00:20
14 lines
698 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG456

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.01.26 00:20:46
     Ever Confirmed|0                           |1
           Severity|blocker                     |normal

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-26 00:20:46 UTC ---
Can you provide the exact output of "gcc -v"?  And also attach the jar file
which you are trying to compile with the exact command line?
[Bug java/47456] internal compiler error: Segmentation fault while using jna
#307934
Author: "steve.reinke at
Date: Wed, 26 Jan 2011 06:32
37 lines
1389 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG456

--- Comment #2 from steve.reinke at iws dot fraunhofer.de 2011-01-26 06:32:43 UTC ---
the out put of "gcj -v" is the following:

C:\Dokumente und
Einstellungen\reinke\Desktop\JavaNativeCompiler-1.1.1\libs\win\
gcc-122233-win\bin>gcj -v
Using built-in specs.
Reading specs from c:/dokumente und
einstellungen/reinke/desktop/javanativecompi
ler-1.1.1/libs/win/gcc-122233-win/bin/../lib/gcc/i686-pc-mingw32/4.3.0/../../../
libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: i686-pc-mingw32
Configured with: /usr/local/src/gcc/configure
--prefix=/home/Marco/Desktop/compi
le-win-win/gcc-XYZXYZ-win
--with-sysroot=/home/Marco/Desktop/compile-win-win/gcc
-XYZXYZ-win/sys-root --build=i686-pc-linux-gnu --host=i686-pc-mingw32
--target=i
686-pc-mingw32 --enable-languages=c,c++,java --enable-libgcj --disable-shared
--
with-gnu-as --with-gnu-ld --disable-nls --disable-debug --disable-checking
--ena
ble-threads=win32 --disable-win32-registry --enable-java-gc=boehm
--enable-java-
maintainer-mode --with-gmp=/home/Marco/Desktop/compile-win-win/gmp-out
--with-mp
fr=/home/Marco/Desktop/compile-win-win/mpfr-out --enable-sjlj-exceptions
--with-
build-sysroot=/home/Marco/Desktop/compile-win-win/gcc-XYZXYZ-win/sys-root
--with
-gcj=i686-pc-mingw32-gcj
Thread model: win32
gcc version 4.3.0 20070222 (experimental)
[Bug java/47456] internal compiler error: Segmentation fault while using jna
#307936
Author: "steve.reinke at
Date: Wed, 26 Jan 2011 06:57
9 lines
323 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idG456

--- Comment #3 from steve.reinke at iws dot fraunhofer.de 2011-01-26 06:57:14 UTC ---
i can't attach the jar file but i can add the line where the error occurs.

line 29:

DMXLibrary INSTANCE = (DMXLibrary) Native.loadLibrary("DMX4ALL",
                DMXLibrary.class);
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads