bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30722] ld tests 'Build property 3', 'Build property 4', 'Build p


From: sam at gentoo dot org
Subject: [Bug ld/30722] ld tests 'Build property 3', 'Build property 4', 'Build property 5' fail (glibc-2.38?)
Date: Thu, 17 Aug 2023 04:09:02 +0000

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

[Prev in Thread] Current Thread [Next in Thread]