[gnutls-devel] [sr #108705] test-stdalign assertion fail on powerpc-darwin8, gcc-4.0

David Fang INVALID.NOREPLY at gnu.org
Sun Dec 14 08:49:01 CET 2014


URL:
  <http://savannah.gnu.org/support/?108705>

                 Summary: test-stdalign assertion fail on powerpc-darwin8,
gcc-4.0
                 Project: GnuTLS
            Submitted by: fangism
            Submitted on: Sun 14 Dec 2014 07:49:01 AM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Mac OS

    _______________________________________________________

Details:

On good old powerpc-darwin8 (OS X 10.4), building with the system
compiler, Apple's gcc-4.0.1, I get a single test failure with:                
                                                                              
                 
                                                                              
                                                                              
                 
% ./test-stdalign
test-stdalign.c:88: assertion '(uintptr_t) &(static_char_alignas) %
TEST_ALIGNMENT == 0' failed
Abort 
                                                                              
                                                                              
      
I don't recall the details, but I know powerpc-darwin has some somewhat
unconventional alignment rules in their ABI.  What assumptions about
alignment is this test making?  Are those assumptions integral to the
functionality of GNUTLS?  Or is perhaps the test erroneous? 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108705>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




More information about the Gnutls-devel mailing list