[bug #65438] Sort print-targets output.

2024-03-25 Thread Dmitry Goncharov
Follow-up Comment #5, bug #65438 (group make): > Regarding the hashing vs. endianness, I don't know. What do you think of changing hashing to produce the same result on little and big endian? > Regarding sorting, doesn't this basically mean just using strcmp (or a small > wrapper around it)

[bug #65438] Sort print-targets output.

2024-03-25 Thread Paul D. Smith
Follow-up Comment #4, bug #65438 (group make): Regarding the hashing vs. endianness, I don't know. The hash.{c,h} implementation we have was taken, basically verbatim, from the GNU idutils program. Regarding sorting, doesn't this basically mean just using strcmp (or a small wrapper around it)

[bug #65438] Sort print-targets output.

2024-03-24 Thread Dmitry Goncharov
Follow-up Comment #3, bug #65438 (group make): > I doubt most users will be able to map the output they see onto the input make reads except in simple situations. When you start having lots of include files etc. it becomes hard to follow. i was looking for some useful simple deterministic

[bug #65438] Sort print-targets output.

2024-03-24 Thread Paul D. Smith
Follow-up Comment #2, bug #65438 (group make): I think the term "sort" isn't really correct here: from the user's point of view they simply see the output in a different, and deterministic, but still more or less random, order than they did before. I doubt most users will be able to map the

[bug #65438] Sort print-targets output.

2024-03-08 Thread Dmitry Goncharov
Additional Item Attachment, bug #65438 (group make): File name: sv65438_fix.diff Size:6 KB File name: sv65438_test.diff Size:3 KB

[bug #65438] Sort print-targets output.

2024-03-08 Thread Dmitry Goncharov
Follow-up Comment #1, bug #65438 (group make): Sort print-targets output. print-targets prints the targets in the order they ended up hashed in the table. The hashing routine hashes differently on big and little endian machines. The result is that the test fails on big endian machines. This is

[bug #65438] Sort print-targets output.

2024-03-08 Thread Dmitry Goncharov
URL: Summary: Sort print-targets output. Group: make Submitter: dgoncharov Submitted: Sat 09 Mar 2024 03:34:40 AM UTC Severity: 3 - Normal Item Group: