public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/19124] New: ld.so failed to build with older assmebler
@ 2015-10-13 16:22 hjl.tools at gmail dot com
  2015-10-13 17:37 ` [Bug dynamic-link/19124] " cvs-commit at gcc dot gnu.org
  2015-10-13 17:38 ` hjl.tools at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2015-10-13 16:22 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 19124
           Summary: ld.so failed to build with older assmebler
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: x86-64

With binutils 2.23.52-20130219, I got

gcc ../sysdeps/x86_64/dl-trampoline.S -c     -I../include
-I/export/build/gnu/glibc-test/build-x86_64-linux/elf 
-I/export/build/gnu/glibc-test/build-x86_64-linux 
-I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64 
-I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/unix/sysv/linux/wordsize-64 
-I../sysdeps/x86_64/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread 
-I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv 
-I../sysdeps/unix/x86_64  -I../sysdeps/unix  -I../sysdeps/posix 
-I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch 
-I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu 
-I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86 
-I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64/wordsize-64 
-I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32 
-I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I..
-I../libio -I.   -D_LIBC_REENTRANT -include
/export/build/gnu/glibc-test/build-x86_64-linux/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h       -DASSEMBLER  -g
-Werror=undef -Wa,--noexecstack   -o
/export/build/gnu/glibc-test/build-x86_64-linux/elf/dl-trampoline.o -MD -MP -MF
/export/build/gnu/glibc-test/build-x86_64-linux/elf/dl-trampoline.o.dt -MT
/export/build/gnu/glibc-test/build-x86_64-linux/elf/dl-trampoline.o
../sysdeps/x86_64/dl-trampoline.h: Assembler messages:
../sysdeps/x86_64/dl-trampoline.h:81: Error: no such instruction: `vmovdqa64
%zmm0,(0)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:82: Error: no such instruction: `vmovdqa64
%zmm1,(0+64)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:83: Error: no such instruction: `vmovdqa64
%zmm2,(0+64 * 2)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:84: Error: no such instruction: `vmovdqa64
%zmm3,(0+64 * 3)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:85: Error: no such instruction: `vmovdqa64
%zmm4,(0+64 * 4)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:86: Error: no such instruction: `vmovdqa64
%zmm5,(0+64 * 5)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:87: Error: no such instruction: `vmovdqa64
%zmm6,(0+64 * 6)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:88: Error: no such instruction: `vmovdqa64
%zmm7,(0+64 * 7)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:101: Warning: value 0x200 truncated to 0x0
../sysdeps/x86_64/dl-trampoline.h:103: Warning: value 0x210 truncated to 0x10
../sysdeps/x86_64/dl-trampoline.h:104: Warning: value 0x220 truncated to 0x20
../sysdeps/x86_64/dl-trampoline.h:105: Warning: value 0x230 truncated to 0x30
../sysdeps/x86_64/dl-trampoline.h:123: Warning: value 0x230 truncated to 0x30
../sysdeps/x86_64/dl-trampoline.h:124: Warning: value 0x220 truncated to 0x20
../sysdeps/x86_64/dl-trampoline.h:125: Warning: value 0x210 truncated to 0x10
../sysdeps/x86_64/dl-trampoline.h:129: Warning: value 0x200 truncated to 0x0
../sysdeps/x86_64/dl-trampoline.h:141: Error: no such instruction: `vmovdqa64
(0)(%rsp),%zmm0'
../sysdeps/x86_64/dl-trampoline.h:142: Error: no such instruction: `vmovdqa64
(0+64)(%rsp),%zmm1'
../sysdeps/x86_64/dl-trampoline.h:143: Error: no such instruction: `vmovdqa64
(0+64 * 2)(%rsp),%zmm2'
../sysdeps/x86_64/dl-trampoline.h:144: Error: no such instruction: `vmovdqa64
(0+64 * 3)(%rsp),%zmm3'
../sysdeps/x86_64/dl-trampoline.h:145: Error: no such instruction: `vmovdqa64
(0+64 * 4)(%rsp),%zmm4'
../sysdeps/x86_64/dl-trampoline.h:146: Error: no such instruction: `vmovdqa64
(0+64 * 5)(%rsp),%zmm5'
../sysdeps/x86_64/dl-trampoline.h:147: Error: no such instruction: `vmovdqa64
(0+64 * 6)(%rsp),%zmm6'
../sysdeps/x86_64/dl-trampoline.h:148: Error: no such instruction: `vmovdqa64
(0+64 * 7)(%rsp),%zmm7'
../sysdeps/x86_64/dl-trampoline.h:253: Error: no such instruction: `vmovdqa64
%zmm0,(192)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:254: Error: no such instruction: `vmovdqa64
%zmm1,(192+64)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:255: Error: no such instruction: `vmovdqa64
%zmm2,(192+64*2)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:256: Error: no such instruction: `vmovdqa64
%zmm3,(192+64*3)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:257: Error: no such instruction: `vmovdqa64
%zmm4,(192+64*4)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:258: Error: no such instruction: `vmovdqa64
%zmm5,(192+64*5)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:259: Error: no such instruction: `vmovdqa64
%zmm6,(192+64*6)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:260: Error: no such instruction: `vmovdqa64
%zmm7,(192+64*7)(%rsp)'
../sysdeps/x86_64/dl-trampoline.h:306: Error: no such instruction: `vmovdqa64
(192)(%rsp),%zmm0'
../sysdeps/x86_64/dl-trampoline.h:315: Error: no such instruction: `vmovdqa64
(192+64)(%rsp),%zmm1'
../sysdeps/x86_64/dl-trampoline.h:324: Error: no such instruction: `vmovdqa64
(192+64*2)(%rsp),%zmm2'
../sysdeps/x86_64/dl-trampoline.h:333: Error: no such instruction: `vmovdqa64
(192+64*3)(%rsp),%zmm3'
../sysdeps/x86_64/dl-trampoline.h:342: Error: no such instruction: `vmovdqa64
(192+64*4)(%rsp),%zmm4'
../sysdeps/x86_64/dl-trampoline.h:351: Error: no such instruction: `vmovdqa64
(192+64*5)(%rsp),%zmm5'
../sysdeps/x86_64/dl-trampoline.h:360: Error: no such instruction: `vmovdqa64
(192+64*6)(%rsp),%zmm6'
../sysdeps/x86_64/dl-trampoline.h:369: Error: no such instruction: `vmovdqa64
(192+64*7)(%rsp),%zmm7'
../sysdeps/x86_64/dl-trampoline.h:465: Error: no such instruction: `vmovdqa64
%zmm0,80(%rcx)'
../sysdeps/x86_64/dl-trampoline.h:466: Error: no such instruction: `vmovdqa64
%zmm1,144(%rcx)'
../sysdeps/x86_64/dl-trampoline.h:505: Error: no such instruction: `vmovdqa64
80(%rsp),%zmm0'
../sysdeps/x86_64/dl-trampoline.h:511: Error: no such instruction: `vmovdqa64
144(%rsp),%zmm1'
../sysdeps/x86_64/dl-trampoline.h:101: Warning: value 0x100 truncated to 0x0
../sysdeps/x86_64/dl-trampoline.h:103: Warning: value 0x110 truncated to 0x10
../sysdeps/x86_64/dl-trampoline.h:104: Warning: value 0x120 truncated to 0x20
../sysdeps/x86_64/dl-trampoline.h:105: Warning: value 0x130 truncated to 0x30
../sysdeps/x86_64/dl-trampoline.h:123: Warning: value 0x130 truncated to 0x30
../sysdeps/x86_64/dl-trampoline.h:124: Warning: value 0x120 truncated to 0x20
../sysdeps/x86_64/dl-trampoline.h:125: Warning: value 0x110 truncated to 0x10
../sysdeps/x86_64/dl-trampoline.h:129: Warning: value 0x100 truncated to 0x0
/export/build/gnu/glibc-test/build-x86_64-linux/sysd-rules:1957: recipe for
target '/export/build/gnu/glibc-test/build-x86_64-linux/elf/dl-trampoline.o'
failed
make[4]: ***
[/export/build/gnu/glibc-test/build-x86_64-linux/elf/dl-trampoline.o] Error

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


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

* [Bug dynamic-link/19124] ld.so failed to build with older assmebler
  2015-10-13 16:22 [Bug dynamic-link/19124] New: ld.so failed to build with older assmebler hjl.tools at gmail dot com
@ 2015-10-13 17:37 ` cvs-commit at gcc dot gnu.org
  2015-10-13 17:38 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-10-13 17:37 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  0a5768fe9c2e2870269c3a0920f88d9c22d73e33 (commit)
      from  2020748d8efb7fbadd43a49cc3859dcf4a93472e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0a5768fe9c2e2870269c3a0920f88d9c22d73e33

commit 0a5768fe9c2e2870269c3a0920f88d9c22d73e33
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Oct 13 10:29:45 2015 -0700

    Support x86-64 assmebler without AVX512

    When x86-64 assmebler doesn't support AVX512, we should make
    _dl_runtime_resolve_avx512/_dl_runtime_profile_avx512 as aliases of
    _dl_runtime_resolve_avx/_dl_runtime_profile_avx.  Tested on x86-64
    using GCC 5.2 with binutils 20151008 and GCC 4.8 with binutils 20130219.
    There are no differences in ld.so with binutils 20151008.  There are no
    unexpected failures with binutils 20130219 and 20151008.

        [BZ #19124]
        * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
        (_dl_runtime_resolve_avx512): Make it a hidden alias of
        _dl_runtime_resolve_avx.
        (_dl_runtime_profile_avx512): Make it a hidden alias of
        _dl_runtime_profile_avx.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |    9 +++++++++
 NEWS                           |    2 +-
 sysdeps/x86_64/dl-trampoline.S |   40 ++++++++++++++++++++++++----------------
 3 files changed, 34 insertions(+), 17 deletions(-)

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


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

* [Bug dynamic-link/19124] ld.so failed to build with older assmebler
  2015-10-13 16:22 [Bug dynamic-link/19124] New: ld.so failed to build with older assmebler hjl.tools at gmail dot com
  2015-10-13 17:37 ` [Bug dynamic-link/19124] " cvs-commit at gcc dot gnu.org
@ 2015-10-13 17:38 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2015-10-13 17:38 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.

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


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

end of thread, other threads:[~2015-10-13 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-13 16:22 [Bug dynamic-link/19124] New: ld.so failed to build with older assmebler hjl.tools at gmail dot com
2015-10-13 17:37 ` [Bug dynamic-link/19124] " cvs-commit at gcc dot gnu.org
2015-10-13 17:38 ` hjl.tools at gmail 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).