Subject: port-amiga/4332: PR 3123 test program makes 68060 panic if compiled with old gcc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ignatios@macone.cs.uni-bonn.de>
List: netbsd-bugs
Date: 10/24/1997 14:39:20
>Number: 4332
>Category: port-amiga
>Synopsis: PR3123 test program makes 68060 panic if compiled with old gcc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 24 05:50:02 1997
>Last-Modified:
>Originator: Ignatios Souvatzis
>Organization:
University of Bonn, CS department, Chair V
>Release: ca. 1997 Oct 20
>Environment:
NetBSD/Amiga on 68060
>Description:
If you run the test program from PR 3123, compiled with the faulty gcc,
it will not get a SIGBUS, but panic the machine.
The FSLW reported by the panic says "invalid root level pointer", which is
very fishy, as the virtual address in error is in the user stack area (and in
its first page, which should be there as soon as the process has started to
run).
>How-To-Repeat:
cc -o trampoline trampoline.c
./trampoline
>Fix:
Workaround: fix gcc to produce correct code.
Of course, the trap handler needs to be fixed.
>Audit-Trail:
>Unformatted: