public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28143]  New: gcc.c-torture/execute/frame-address.c execution FAIL  on sparc64
@ 2006-06-23 15:16 christian dot joensson at gmail dot com
  2007-05-17 14:53 ` [Bug c/28143] " ebotcazou at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: christian dot joensson at gmail dot com @ 2006-06-23 15:16 UTC (permalink / raw)
  To: gcc-bugs

Well, I see gcc.c-torture/execute/frame-address.c execution FAIL on sparc64,
linux and solaris,
http://gcc.gnu.org/ml/gcc-testresults/2006-06/msg00985.html,
http://gcc.gnu.org/ml/gcc-testresults/2006-06/msg00962.html, and
http://gcc.gnu.org/ml/gcc-testresults/2006-06/msg00907.html.

I still see it on my currently running test run, LAST_UPDATED: Thu Jun
22 17:11:44 UTC 2006 (revision 114896)

the test program aborts, I can't run gdb on the binary so here's a strace64 on
execution (-O0):

strace64 ./frame-address.x0
execve("./frame-address.x0", ["./frame-address.x0"], [/* 22 vars */]) = 0
uname({sys="Linux", node="arnljot", ...}) = 0
brk(0)                                  = 0x202000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=35520, ...}) = 0
mmap(NULL, 35520, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffff80100000000
close(3)                                = 0
open("/lib64/libm.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0+\0\0\0\1\0\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1454502, ...}) = 0
mmap(NULL, 1878880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xfffff8010000c000
mprotect(0xfffff801000d2000, 1067872, PROT_NONE) = 0
mmap(0xfffff801001d0000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc4000) = 0xfffff801001d0000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0+\0\0\0\1\0\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=8575053, ...}) = 0
mmap(NULL, 2421912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xfffff801001d8000
mprotect(0xfffff8010031c000, 1094808, PROT_NONE) = 0
mmap(0xfffff8010041a000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142000) = 0xfffff8010041a000
mmap(0xfffff80100424000, 13464, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffff80100424000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xfffff8010000a000
mprotect(0xfffff8010041a000, 16384, PROT_READ) = 0
mprotect(0xfffff801001d0000, 8192, PROT_READ) = 0
mprotect(0xfffff801c903a000, 8192, PROT_READ) = 0
munmap(0xfffff80100000000, 35520)       = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
getpid()                                = 15465
kill(15465, SIGABRT)                    = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

This specific was on 

Aurora SPARC Linux release 2.1 (Snowshoe FC3)/TI UltraSparc IIi (Sabre) sun4u:

binutils 2.17.50 20060610
bison-1.875c-2.sparc
dejagnu-1.4.4-2.noarch
expect-5.42.1-1.sparc
gcc-3.4.2-6.fc3.sparc
gcc-c++-3.4.2-6.fc3.sparc
gcc-gnat-3.4.2-6.fc3.sparc
glibc-2.3.6-0.fc3.1.sparc64
glibc-2.3.6-0.fc3.1.sparcv9
glibc-devel-2.3.6-0.fc3.1.sparc64
glibc-devel-2.3.6-0.fc3.1.sparc
glibc-headers-2.3.6-0.fc3.1.sparc
glibc-kernheaders-2.6-20sparc.sparc
gmp-4.1.4-3sparc.sparc
gmp-4.1.4-3sparc.sparc64
gmp-devel-4.1.4-3sparc.sparc
gmp-devel-4.1.4-3sparc.sparc64
kernel-2.6.16-1.2241sp1.sparc64
kernel-devel-2.6.16-1.2241sp1.sparc64
libgcc-3.4.2-6.fc3.sparc
libgcc-3.4.2-6.fc3.sparc64
libgcj-3.4.2-6.fc3.sparc
libgcj-devel-3.4.2-6.fc3.sparc
libstdc++-3.4.2-6.fc3.sparc
libstdc++-3.4.2-6.fc3.sparc64
libstdc++-devel-3.4.2-6.fc3.sparc
libstdc++-devel-3.4.2-6.fc3.sparc64
make-3.80-5.sparc
nptl-devel-2.3.6-0.fc3.1.sparcv9
tcl-8.4.7-2.sparc


-- 
           Summary: gcc.c-torture/execute/frame-address.c execution FAIL  on
                    sparc64
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: christian dot joensson at gmail dot com
 GCC build triplet: sparc64-*
  GCC host triplet: sparc64-*
GCC target triplet: sparc64-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28143


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/28143] gcc.c-torture/execute/frame-address.c execution FAIL  on sparc64
  2006-06-23 15:16 [Bug c/28143] New: gcc.c-torture/execute/frame-address.c execution FAIL on sparc64 christian dot joensson at gmail dot com
@ 2007-05-17 14:53 ` ebotcazou at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-05-17 14:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2007-05-17 15:53 -------
2006-10-03  Eric Botcazou  <ebotcazou@libertysurf.fr>

        * builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
        * doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX.
        * config/sparc/sparc.h (FRAME_ADDR_RTX): Define.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28143


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-17 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-23 15:16 [Bug c/28143] New: gcc.c-torture/execute/frame-address.c execution FAIL on sparc64 christian dot joensson at gmail dot com
2007-05-17 14:53 ` [Bug c/28143] " ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).