1 msgCant build gcc 4.2 snapshot on MinGW (configure...
3 msgCompiling gcc-4.2 on 64 bit Ubuntu
3 msggcc 4.1.2 - Compile error with cygwin

Segmentation fault compiling java program with ...
\ Stephen Torri (27 Feb 2007)
. \ Segher Boessenkool (27 Feb 2007)
. \ Andrew Haley (27 Feb 2007)

2 msg__builtin_return_address from inline assembly o...
4 msggcc-3.4.2 Cross Compiler
1 msginstallation of gcc-3.4.2
2 msgRe: [LWOW] install gcc 3.2
3 msgA Qn on GCC generated ARM asm code
3 msgUnable to compile java file with gcj 4.1.1: und...
3 msgregarding autovectorization and prefetching
2 msgcompiling opts.c
2 msgpasses of gcc
2 msgsignificance of _builtin* functions
1 msgddg.c
4 msgUnderstandin Accessing protected member variabl...
2 msgRegarding building gcc-4.1.0 cross compiler
3 msgGCC backend: can C++ code be converted to C equ...
2 msgPossible missing files in gcc build
2 msgPerformance problem: unaligned loads/stores on ...
Subject:Re: Segmentation fault compiling java program with gcj 4.1.1 and -fprofile-arcs
Group:Gcc-help
From:Andrew Haley
Date:27 Feb 2007


Stephen Torri writes:
> When I try to compile the following program I get a segmentation fault
> from gcj:
>
> storri@base ~/Documents/StephenTorri/comp6210 $ gcj --main=Fibonacci Fibonacci.java -fprofile-arcs
> Fibonacci.java:1: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://bugs.gentoo.org/> for instructions.
>
> I tried to see if there was a back trace in gdb but I apparently did
> build in debugging information. There was no stack or debugging symbols
> found.
>
> The program I used is below. Do I need to rebuild gcj to have debugging
> information?

I don't think so; it's more likely either that -fprofile-arcs is
broken or that it's broken with gcj.

Andrew.


© 2004-2008 readlist.com