Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

config

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    On Sparc64, use of __attribute__(aligned(8)) with __int128 causes faulty
    code generation in gcc versions at least through 5.5.0.  We can work around
    that by disabling use of __int128, so teach configure to test for the bug.
    
    This solution doesn't fix things for the case of cross-compiling with a
    buggy compiler; to support that nicely, we'd need to add a manual disable
    switch.  Unless more such cases turn up, it doesn't seem worth the work.
    Affected users could always edit pg_config.h manually.
    
    In passing, fix some typos in the existing configure test for __int128.
    They're harmless because we only compile that code not run it, but
    they're still confusing for anyone looking at it closely.
    
    This is needed in support of commit 75180499, so back-patch to 9.5
    as that was.
    
    Marina Polyakova, Victor Wagner, Tom Lane
    
    Discussion: https://postgr.es/m/0d3a9fa264cebe1cb9966f37b7c06e86@postgrespro.ru
    5dcbdcbd
    History
    Name Last commit Last update
    ..