This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/19269] New: tst-audit4 and tst-audit10 failures with gcc-6 on non avx machine


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

            Bug ID: 19269
           Summary: tst-audit4 and tst-audit10 failures with gcc-6 on non
                    avx machine
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: markus at trippelsdorf dot de
                CC: carlos at redhat dot com
  Target Milestone: ---

tst-audit4 and tst-audit10 fail (with illegal instruction) on my
non avx machine when build with gcc-6 and -O3. The reason is that
gcc-6 emits avx instructions for test-skeleton.c:

markus@x4 elf % gcc -w -S -c -O3 -mavx test-skeleton.i -o - | grep vmovaps
        vmovaps %xmm0, 16(%rsp)
        vmovaps %xmm0, (%rsp)

-O2 and older gcc versions are fine:

markus@x4 elf % gcc -w -S -c -O2 -mavx test-skeleton.i -o - | grep vmovaps
markus@x4 elf % /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gcc -w -S -c -O3 -mavx
test-skeleton.i -o - | grep vmovaps
markus@x4 elf % /usr/x86_64-pc-linux-gnu/gcc-bin/5.2.1/gcc -w -S -c -O3 -mavx
test-skeleton.i -o - | grep vmovaps
markus@x4 elf %

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]