public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18661] New: Some x86-64 assembly codes don't align stack to 16 bytes
@ 2015-07-12 20:09 hjl.tools at gmail dot com
  2015-07-31 12:33 ` [Bug libc/18661] " cvs-commit at gcc dot gnu.org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-12 20:09 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18661

            Bug ID: 18661
           Summary: Some x86-64 assembly codes don't align stack to 16
                    bytes
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Some x86-64 assembly codes don't align stack to 16 bytes, which
lead to

(gdb) r
Starting program:
/export/build/gnu/glibc-test/build-x86_64-linux/math/test-float-vlen4 
testing float vector math (without inline functions)

Program received signal SIGSEGV, Segmentation fault.
_dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:89
89              movaps %xmm0, REGISTER_SAVE_XMM0(%rsp)
(gdb) bt
#0  _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:89
#1  0x00007ffff7b0d447 in cosf () at ../sysdeps/x86_64/fpu/s_cosf.S:314
#2  0x00007ffff78ba498 in _ZGVbN4v_cosf_sse4 ()
    at ../sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S:223
#3  0x0000000000403764 in cosf_vlen4 (x=<optimized out>)
    at ../sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c:24
#4  0x0000000000402f62 in cos_test ()
    at /export/build/gnu/glibc-test/build-x86_64-linux/math/libm-test.c:65576
#5  0x0000000000401aa8 in main (argc=<optimized out>, argv=<optimized out>)
    at /export/build/gnu/glibc-test/build-x86_64-linux/math/libm-test.c:150244
(gdb) p $rsp
$1 = (void *) 0x7fffffffdaa8
(gdb) 

when this patch:

https://sourceware.org/ml/libc-alpha/2015-07/msg00365.html

is applied and GCC bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066

is fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2015-08-06 19:45 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-12 20:09 [Bug libc/18661] New: Some x86-64 assembly codes don't align stack to 16 bytes hjl.tools at gmail dot com
2015-07-31 12:33 ` [Bug libc/18661] " cvs-commit at gcc dot gnu.org
2015-08-01 15:54 ` cvs-commit at gcc dot gnu.org
2015-08-01 20:06 ` cvs-commit at gcc dot gnu.org
2015-08-01 22:23 ` cvs-commit at gcc dot gnu.org
2015-08-01 22:25 ` cvs-commit at gcc dot gnu.org
2015-08-02  3:55 ` cvs-commit at gcc dot gnu.org
2015-08-02 12:33 ` cvs-commit at gcc dot gnu.org
2015-08-02 13:57 ` cvs-commit at gcc dot gnu.org
2015-08-02 17:41 ` cvs-commit at gcc dot gnu.org
2015-08-02 17:43 ` cvs-commit at gcc dot gnu.org
2015-08-03  4:47 ` cvs-commit at gcc dot gnu.org
2015-08-03  4:50 ` cvs-commit at gcc dot gnu.org
2015-08-03 17:21 ` cvs-commit at gcc dot gnu.org
2015-08-03 19:32 ` cvs-commit at gcc dot gnu.org
2015-08-03 21:25 ` cvs-commit at gcc dot gnu.org
2015-08-03 21:36 ` cvs-commit at gcc dot gnu.org
2015-08-05 14:34 ` cvs-commit at gcc dot gnu.org
2015-08-05 14:35 ` cvs-commit at gcc dot gnu.org
2015-08-05 15:50 ` cvs-commit at gcc dot gnu.org
2015-08-05 16:21 ` joseph at codesourcery dot com
2015-08-06 11:06 ` hjl.tools at gmail dot com
2015-08-06 19:45 ` jsweval at arxan dot com

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).