bug-binutils
[Top][All Lists]
Advanced

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

[Bug libctf/30013] [2.40 regression] Assertion failed: one_type != two_t


From: nick.alcock at oracle dot com
Subject: [Bug libctf/30013] [2.40 regression] Assertion failed: one_type != two_type, file libctf/ctf-dedup.c, line 2342, function sort_output_mapping
Date: Thu, 19 Jan 2023 14:36:57 +0000

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

Nick Alcock <nick.alcock at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |nick.alcock at oracle 
dot com

--- Comment #1 from Nick Alcock <nick.alcock at oracle dot com> ---
Looks like it. This is strange because the no-qsort case is *meant* to get
routinely tested... as is Solaris 11.3. But I don't often do full GCC
bootstraps on it, so I guess we can see how this got past.

I bet the underlying problem is that I missed the case where
sort_output_mapping is called with the same arg twice (in which case it should
obviously return 0). Some qsort implementations will do that, some won't, and I
don't see anything preventing ctf-qsort.c from doing that :/

Taken, will fix and backport to 2.40.

-- 
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]