[MacPorts] #63490: libdazzle @3.38.0_0: Static assert failure on PowerPC

MacPorts noreply at macports.org
Thu Sep 16 06:09:39 UTC 2021


#63490: libdazzle @3.38.0_0: Static assert failure on PowerPC
-------------------------+--------------------
  Reporter:  evanmiller  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  libdazzle   |
-------------------------+--------------------

Comment (by kencu):

 and back to the original, looks pretty good:
 {{{
 $ cat packcheck.c
 #include <stdio.h>
 #include <glib.h>

 int main(void) {

     typedef struct __attribute__((packed))
     {
     guint64 id : 32;
     guint64 pos : 16;
     } KenStruct;

     KenStruct mystruct;

     printf("%i\n\n", sizeof(KenStruct));
     return 0;

 }
 }}}

 {{{
 $ gcc-mp-7 `pkg-config --cflags glib-2.0` packcheck.c
 tigerg5:~ cunningh$ ./a.out
 6
 }}}

 so that looks like our solution.

-- 
Ticket URL: <https://trac.macports.org/ticket/63490#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list