__uint128_t support in gobject introspection



Sorry if this comes through twice. Original seems to be stuck waiting on
moderator because I wasn't subscribed to list when I sent it.

I ran into an issue in gobject-introspection while bootstrapping Fedora
packages on AArch64. I was able to build gobject-introspection but when
some other packages run the scanner, I see:

  /usr/include/asm/sigcontext.h:53: syntax error, unexpected identifier in ' __uint128_t vregs[32];' at 
'__uint128_t'
  /usr/include/asm/ptrace.h:75: syntax error, unexpected identifier in ' __uint128_t vregs[32];' at 
'__uint128_t'
  /usr/include/asm/sigcontext.h:53: syntax error, unexpected identifier in ' __uint128_t vregs[32];' at 
'__uint128_t'

So, aarch64 gcc has a builtin __uint128_t which the kernel exposes in
some of its headers. It seems like gobject-introspection needs to be
taught about this type. From a quick glance at the code, it sees like
an easy enough thing to do. Am I missing anything?

--Mark




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