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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #9 from Sam James <sam at gentoo dot org> ---
Thanks Nick!

I'm going to dig a bit more to make sure I'm happy with the reason for the 2nd
patch.

Digging in a bit:
```
$ readelf /lib64/libc.so.6 -n # <-- glibc-2.37 with workaround in place
(disabling ISA stuff), built with -march=native on znver2

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000020       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 feature used: x86, x87, XMM, YMM, ZMM, MASK
        x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0
```

```
$ cat dump.out # <-- for property-3 with non-ISAified glibc
Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000040       NT_GNU_PROPERTY_TYPE_0
      Properties: stack size: 0x800000
        x86 ISA needed: x86-64-baseline, x86-64-v2
        x86 feature used: x86
        x86 ISA used: x86-64-v2, x86-64-v4

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0
```

```
$ readelf /lib64/libc.so.6 -n # <-- glibc-2.37 with ISA workarounds removed,
built with -march=native on znver2

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000030       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3
        x86 feature used: x86, x87, XMM, YMM, ZMM, MASK
        x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0
```

```
$ cat dump.out # <-- for property-3 with ISAified glibc
Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000040       NT_GNU_PROPERTY_TYPE_0
      Properties: stack size: 0x800000
        x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3
        x86 feature used: x86
        x86 ISA used: x86-64-v2, x86-64-v4

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0
```

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

Reply via email to