public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15756] New: Check ABI for completeness
@ 2013-07-19 14:01 schwab@linux-m68k.org
  2013-07-19 20:19 ` [Bug libc/15756] " joseph at codesourcery dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2013-07-19 14:01 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15756

            Bug ID: 15756
           Summary: Check ABI for completeness
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
                CC: drepper.fsp at gmail dot com

There should be a check that an architecture has all the expected interfaces in
its abilist files, to avoid repeating the mistakes with fallocate64 in 2.10
(missing for all 32-bit archtectures) or mcount in 2.17 (missing for aarch64).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15756] Check ABI for completeness
  2013-07-19 14:01 [Bug libc/15756] New: Check ABI for completeness schwab@linux-m68k.org
@ 2013-07-19 20:19 ` joseph at codesourcery dot com
  2014-06-13 13:23 ` fweimer at redhat dot com
  2015-08-27 22:16 ` [Bug build/15756] " jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: joseph at codesourcery dot com @ 2013-07-19 20:19 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15756

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Such a tools may well be useful to find existing problems and for checking 
new architectures (with testing, overlapping tests for similar things can 
often be useful), but as I said in 
<http://sourceware.org/ml/libc-alpha/2013-07/msg00380.html> I think this 
is mainly an API issue not an ABI one.

Taking bug 15666 (alpha __sqrt*_finite) as an example, the real bug isn't 
the missing symbols, it's that calling certain functions in code built 
with -ffinite-math-only would have resulted in undefined symbols.  And 
it's not a bug that IA64 doesn't have those symbols, instead having its 
own bits/math-finite.h that avoids needing them.  Nor is it a bug that 
architectures where long double functions are aliases for double functions 
don't have *l_finite at all - bits/math-finite.h ensures the right 
functions get used in that case.  If anything, it's an ABI mistake that 
IA64 *does* have the *_finite symbols for Bessel functions (since it gets 
those functions from generic libm), even though its bits/math-finite.h 
won't use them.  (Since those are part of the public ABI now, the only 
sensible fix would be to make IA64 bits/math-finite.h use those functions 
rather than completely disabling *_finite.)

For all of those architecture variations that aren't bugs, a test that 
verifies calling functions with -ffinite-math-only works would work 
smoothly in the presence of such variations without needing any special 
cases, while detecting the actual bug on alpha before it was fixed, but a 
test based on comparing ABI lists would need special cases or manual 
architecture maintainer review to determine that the differences are OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15756] Check ABI for completeness
  2013-07-19 14:01 [Bug libc/15756] New: Check ABI for completeness schwab@linux-m68k.org
  2013-07-19 20:19 ` [Bug libc/15756] " joseph at codesourcery dot com
@ 2014-06-13 13:23 ` fweimer at redhat dot com
  2015-08-27 22:16 ` [Bug build/15756] " jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 13:23 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug build/15756] Check ABI for completeness
  2013-07-19 14:01 [Bug libc/15756] New: Check ABI for completeness schwab@linux-m68k.org
  2013-07-19 20:19 ` [Bug libc/15756] " joseph at codesourcery dot com
  2014-06-13 13:23 ` fweimer at redhat dot com
@ 2015-08-27 22:16 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:16 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com
          Component|libc                        |build

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-27 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-19 14:01 [Bug libc/15756] New: Check ABI for completeness schwab@linux-m68k.org
2013-07-19 20:19 ` [Bug libc/15756] " joseph at codesourcery dot com
2014-06-13 13:23 ` fweimer at redhat dot com
2015-08-27 22:16 ` [Bug build/15756] " jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).