On Tue, Nov 1, 2011 at 6:42 PM, [email protected] <[email protected]> wrote:

> Hello,
>
> I first compile marss:
> scons -Q c=4
> and then start simulation, but at the very begining, it reports
> segmentation fault
>
> Completed             0 cycles,             0 commits:         0 Hz,
>   0 insns/sec: rip 0000000000401e1e 000000000040e340 0000000000400aef
> 0000000000411794Segmentation fault
>
>
> However, when I wanna use gdb to find out the bug
> scons -Q c=4 debug=1
>
> then start simulation, it runs smoothly.
>
> Quite confused about this, can anyone help me out? Thanks,
>
> There was one bug that was sensitive to optimization in gcc. This bug was
showing up only when we compile with full optimization (without debug=1).
What is the git commit ID that your running?
Also, compile without debug option and run it under gdb, it will show the
stack trace that will help to identify the bug.

- Avadh

> Kuniors
>
> ______________________________**_________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected].**edu <[email protected]>
> https://www.cs.binghamton.edu/**mailman/listinfo/marss86-devel<https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to