[PATCH 2/3] Move ftime to a compatibility symbol
Florian Weimer
fweimer@redhat.com
Mon Oct 19 10:46:20 GMT 2020
* Tamar Christina:
>> Has SPEC ever fixed any standards violations? I don't have access to the SPEC
>> web site, so I don't know if they have released patches to fix conformance
>> bugs in benchmarks. (I recall several discussions about aliasing violations in
>> older benchmarks on the GCC lists.)
>
> They do, and have in the past, but while I can reasonably get one for
> SPEC2017, SPEC2006 is no longer maintained as far as I am aware.
Here they refused it for SPEC2017:
| q1. Will SPEC fix spec_qsort.c?
|
| a1. No. There are two reasons:
|
| That's the way it is in real life
| The module spec_qsort.c is based directly on the BSD version, as updated Thu Mar 5 17:17:11 2015 UTC in revision 279666: https://svnweb.freebsd.org/base/head/lib/libc/stdlib/qsort.c?revision=279666.
| No moving targets
| SPEC CPU®2017 has already been released. Once source code has been released for a benchmark, SPEC strongly prefers not to change the source code unless there are compelling portability reasons.
|
| Note, therefore, that the patch attached to GCC bug 83201 is not approved by SPEC and would not be allowed in a reportable run.
<https://www.spec.org/cpu2017/Docs/benchmarks/505.mcf_r.html>
> If the header was still there but empty I could do something at link
> time, but since it doesn't exist at all I have to provide my own local
> headers. Also if you have a list of interfaces glibc plans to remove
> we can also feed this on to them to avoid in the next SPEC release.
> https://www.spec.org/cpuv8/
There is no such list. There isn't even consensus among glibc
developers that it's necessary to provide a deprecation notice before
removal. Building with an appropriate version of _POSIX_SOURCE can help.
A good indicator is whether a function has been removed by POSIX.
Sometimes the manual pages also mark a function as obsolete. Usually,
that's sufficient reason to stay away from it. For ftime, this happened
some time before 2004.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list