public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12460] New: AVX audit test failures with gcc 4.6
@ 2011-02-02 21:42 hjl.tools at gmail dot com
  2011-02-02 21:56 ` [Bug libc/12460] " hjl.tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-02 21:42 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

           Summary: AVX audit test failures with gcc 4.6
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: hjl.tools@gmail.com


On Linux/x86-64, gcc 4.6.0 gave:

/bin/sh: line 1:  9941 Illegal instruction    
GCONV_PATH=/export/build/gnu/glibc/build-x86_64-linux/iconvdata LC_ALL=C
LD_AUDIT=/export/build/gnu/glibc/build-x86_64-linux/elf/tst-auditmod4b.so
/export/build/gnu/glibc/build-x86_64-linux/elf/ld-linux-x86-64.so.2
--library-path
/export/build/gnu/glibc/build-x86_64-linux:/export/build/gnu/glibc/build-x86_64-linux/math:/export/build/gnu/glibc/build-x86_64-linux/elf:/export/build/gnu/glibc/build-x86_64-linux/dlfcn:/export/build/gnu/glibc/build-x86_64-linux/nss:/export/build/gnu/glibc/build-x86_64-linux/nis:/export/build/gnu/glibc/build-x86_64-linux/rt:/export/build/gnu/glibc/build-x86_64-linux/resolv:/export/build/gnu/glibc/build-x86_64-linux/crypt:/export/build/gnu/glibc/build-x86_64-linux/nptl
/export/build/gnu/glibc/build-x86_64-linux/elf/tst-audit4 >
/export/build/gnu/glibc/build-x86_64-linux/elf/tst-audit4.out
/bin/sh: line 1:  9952 Illegal instruction    
GCONV_PATH=/export/build/gnu/glibc/build-x86_64-linux/iconvdata LC_ALL=C
LD_AUDIT=/export/build/gnu/glibc/build-x86_64-linux/elf/tst-auditmod7b.so
/export/build/gnu/glibc/build-x86_64-linux/elf/ld-linux-x86-64.so.2
--library-path
/export/build/gnu/glibc/build-x86_64-linux:/export/build/gnu/glibc/build-x86_64-linux/math:/export/build/gnu/glibc/build-x86_64-linux/elf:/export/build/gnu/glibc/build-x86_64-linux/dlfcn:/export/build/gnu/glibc/build-x86_64-linux/nss:/export/build/gnu/glibc/build-x86_64-linux/nis:/export/build/gnu/glibc/build-x86_64-linux/rt:/export/build/gnu/glibc/build-x86_64-linux/resolv:/export/build/gnu/glibc/build-x86_64-linux/crypt:/export/build/gnu/glibc/build-x86_64-linux/nptl
/export/build/gnu/glibc/build-x86_64-linux/elf/tst-audit7 >
/export/build/gnu/glibc/build-x86_64-linux/elf/tst-audit7.out
/bin/sh: line 1:  9951 Illegal instruction    
GCONV_PATH=/export/build/gnu/glibc/build-x86_64-linux/iconvdata LC_ALL=C
LD_AUDIT=/export/build/gnu/glibc/build-x86_64-linux/elf/tst-auditmod6b.so:/export/build/gnu/glibc/build-x86_64-linux/elf/tst-auditmod6c.so
/export/build/gnu/glibc/build-x86_64-linux/elf/ld-linux-x86-64.so.2
--library-path
/export/build/gnu/glibc/build-x86_64-linux:/export/build/gnu/glibc/build-x86_64-linux/math:/export/build/gnu/glibc/build-x86_64-linux/elf:/export/build/gnu/glibc/build-x86_64-linux/dlfcn:/export/build/gnu/glibc/build-x86_64-linux/nss:/export/build/gnu/glibc/build-x86_64-linux/nis:/export/build/gnu/glibc/build-x86_64-linux/rt:/export/build/gnu/glibc/build-x86_64-linux/resolv:/export/build/gnu/glibc/build-x86_64-linux/crypt:/export/build/gnu/glibc/build-x86_64-linux/nptl
/export/build/gnu/glibc/build-x86_64-linux/elf/tst-audit6 >
/export/build/gnu/glibc/build-x86_64-linux/elf/tst-audit6.out

Gcc 4.5 is OK.  This is caused by the vzeroupper optimization in
gcc 4.6. Gcc will add vzeroupper before function return even if AVX
isn't supported. Due to nature of special codes in AVX audit tests,
we can't use __builtin_ia32_vzeroupper in AVX audit tests.  We need
to add -mno-vzeroupper for those tests if needed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
@ 2011-02-02 21:56 ` hjl.tools at gmail dot com
  2011-02-03  0:30 ` drepper.fsp at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-02 21:56 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://sourceware.org/ml/li
                   |                            |bc-alpha/2011-02/msg00007.h
                   |                            |tml

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-02 21:56:27 UTC ---
A patch is posted at

http://sourceware.org/ml/libc-alpha/2011-02/msg00007.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
  2011-02-02 21:56 ` [Bug libc/12460] " hjl.tools at gmail dot com
  2011-02-03  0:30 ` drepper.fsp at gmail dot com
@ 2011-02-03  0:30 ` drepper.fsp at gmail dot com
  2011-02-03  1:19 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-02-03  0:30 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-02-03 00:30:30 UTC ---
Applied to git.

--- Comment #3 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-02-03 00:30:30 UTC ---
Applied to git.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
  2011-02-02 21:56 ` [Bug libc/12460] " hjl.tools at gmail dot com
@ 2011-02-03  0:30 ` drepper.fsp at gmail dot com
  2011-02-03  0:30 ` drepper.fsp at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-02-03  0:30 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-02-03 00:30:30 UTC ---
Applied to git.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-02-03  0:30 ` drepper.fsp at gmail dot com
@ 2011-02-03  1:19 ` hjl.tools at gmail dot com
  2011-02-03  1:22 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-03  1:19 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-03 01:18:45 UTC ---
Top level configure.in/configure change isn't applied.
They are needed to set config-cflags-novzeroupper in
config.make.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-02-03  1:19 ` hjl.tools at gmail dot com
@ 2011-02-03  1:22 ` hjl.tools at gmail dot com
  2011-02-03  4:04 ` drepper.fsp at gmail dot com
  2014-06-27 13:52 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-03  1:22 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-03 01:21:53 UTC ---
(In reply to comment #4)
> Top level configure.in/configure change isn't applied.
> They are needed to set config-cflags-novzeroupper in
> config.make.

I just send it, which I missed in my first patch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2011-02-03  1:22 ` hjl.tools at gmail dot com
@ 2011-02-03  4:04 ` drepper.fsp at gmail dot com
  2014-06-27 13:52 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-02-03  4:04 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12460

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-02-03 04:04:03 UTC ---
You are just creating more work by this stupid reopening of this bug.  I added
the patch you sent.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12460] AVX audit test failures with gcc 4.6
  2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2011-02-03  4:04 ` drepper.fsp at gmail dot com
@ 2014-06-27 13:52 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:52 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-27 13:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02 21:42 [Bug libc/12460] New: AVX audit test failures with gcc 4.6 hjl.tools at gmail dot com
2011-02-02 21:56 ` [Bug libc/12460] " hjl.tools at gmail dot com
2011-02-03  0:30 ` drepper.fsp at gmail dot com
2011-02-03  0:30 ` drepper.fsp at gmail dot com
2011-02-03  1:19 ` hjl.tools at gmail dot com
2011-02-03  1:22 ` hjl.tools at gmail dot com
2011-02-03  4:04 ` drepper.fsp at gmail dot com
2014-06-27 13:52 ` fweimer at redhat 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).