News for hackers. Stuff that matters.
Re:Glibc sysdeps: dl_platform detection effectively performs... by acqq on Sunday September 08, 2019 @05:58AM (#20909547)
> It is not wrong to not do something that benefits others.

The patch however sneakily removes the chance that the features existing and working on the competing processors are properly detected and used.

In free software it’s clearly evil.

Re:Glibc sysdeps: dl_platform detection effectively performs... by luser1024 on Sunday September 08, 2019 @11:54AM (#20911270)
> The patch however sneakily removes the chance ...

If they haven't tested on other processors, should they leave code in because it has a "chance" to work on something else? I think both sides of this question could be legitimately argued so I wouldn't jump to calling it "evil".

Re:Glibc sysdeps: dl_platform detection effectively performs... by Dylan16807 on Sunday September 08, 2019 @05:35PM (#20913589)
What do you mean `"chance" to work`? If the CPU claims to support an instruction, it's perfectly fine to treat it as supporting the instruction.
Re:Glibc sysdeps: dl_platform detection effectively performs... by ori_b on Sunday September 08, 2019 @06:10AM (#20909581)
So patch it. That's the point of free software: the freedom to modify it to your needs.
Re:Glibc sysdeps: dl_platform detection effectively performs... by segfaultbuserr on Sunday September 08, 2019 @06:57AM (#20909747)
This is why a bug is reported, when it is patched, the bug will be closed. This is the point of a bug tracker in a free software project: document the current issues that need to be solved or improved.
Re:Glibc sysdeps: dl_platform detection effectively performs... by smcl on Sunday September 08, 2019 @06:26AM (#20909638)
Well the patch certainly met Intel's needs (a nice little performance bump over its ascendant rival) ... and since someone with a keen eye spotted it, now the rest of us can submit a patch to correct that. But I'm not sure that a back-and-forth war of self-serving patches is very productive or serves anyone very well.
Re:Glibc sysdeps: dl_platform detection effectively performs... by randallsquared on Sunday September 08, 2019 @06:39AM (#20909681)
In this scenario, is not each self-serving patch strictly an improvement? It's at least arguable that a back-and-forth competition to provide improvements serves everyone well.
Re:Glibc sysdeps: dl_platform detection effectively performs... by jlg23 on Sunday September 08, 2019 @06:37AM (#20909673)
> But I'm not sure that a back-and-forth war of self-serving patches is very productive or serves anyone very well.

In large FOSS projects you have enough eyes on those patches to ensure they actually converge towards some (unbiased) optimum.

Re:Glibc sysdeps: dl_platform detection effectively performs... by alacombe on Sunday September 08, 2019 @02:52PM (#20912554)
That's a myth. When was the last time you reviewed the technical aspect of heavily specific platform code in the glibc ?
Re:Glibc sysdeps: dl_platform detection effectively performs... by jlg23 on Sunday September 08, 2019 @07:05PM (#20913945)
about 3 months ago, in a code audit.