This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x86 siginfo_t was broken by commit 8eb6281eaadd5a71f04d5ec4c11da2339b382b10


On Sun, 21 Jul 2013, Rich Felker wrote:

> 1. The C++ ABI: the underlying type of siginfo_t changed from "struct
> siginfo" to a struct with no tag (whose original typedef name then
> becomes the tag for C++ name mangling purposes).

No, that was an earlier commit (4efeffc1d583597e4f52985b9747269e47b754e2).  
And it was impossible to avoid that C++ breakage because the name 
"siginfo" is not in the POSIX namespace; the renaming was to fix a POSIX 
namespace bug.

> 2. GCC's i386 linux config (wrongly) uses "struct siginfo" all over
> the place where it should be using siginfo_t. I'm not clear on whether
> this code is being used anymore, but I know in musl we had to expose
> the "struct siginfo" name at one point to get GCC to build correctly.

That was fixed by:

(libgcc/ChangeLog)
2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>

        struct siginfo vs. siginfo_t

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]