Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27008

ARM64 non-lse compiled with libatomic results in SIGILL (RHEL/Centos 7&8)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.3.32
    • N/A
    • Compiling
    • None
    • aarch64, not other arches
      aarch64 with lse not affected
      RHEL & Centos 7/8 affected, not Debian or Fedora

    Description

      Linking to libatomic causes the test failure:

      main.plugin_vars w7 [ fail ]
      Test ended at 2021-10-28 17:43:48
      CURRENT_TEST: main.plugin_vars
      mysqltest: At line 70: query 'install plugin query_response_time soname 'query_response_time'' failed: 1126: Can't open shared library '/buildbot/aarch64-rhel-8/build/mysql-test/var/plugins/query_response_time.so' (errno: 11, undefined symbol: __aarch64_ldadd4_relax)
      

      Triggered by: https://github.com/MariaDB/server/commit/f502ccbcb5dfce29067434885a23db8d1bd5f134

      This doesn't occur on Huawei Kunpeng 920 ARM64 CPU, bug does occur on the bb from equinix:

      equinix getauxvec

      LD_SHOW_AUXV=1 /bin/true                                                                                             AT_SYSINFO_EHDR:      0xffffbdb8f000                                                                                                   AT_??? (0x33): 0x1270                                                                                                                  AT_HWCAP:             10119fff                                                                                                         AT_PAGESZ:            4096                                                                                                             AT_CLKTCK:            100                                                                                                              AT_PHDR:              0xaaaac6d90040                                                                                                   AT_PHENT:             56                                                                                                               AT_PHNUM:             9                                                                                                                AT_BASE:              0xffffbdb5f000                                                                                                  AT_FLAGS:             0x0                                                                                                              AT_ENTRY:             0xaaaac6d91710                                                                                                   AT_UID:               1000
      AT_EUID:              1000                                                                                                             
      AT_GID:               1000                                                                                                             
      AT_EGID:              1000                                                                                                             AT_SECURE:            0                                                                                                                AT_RANDOM:            0xffffc2bc38f8                                                                                                   AT_HWCAP2:            0x0 
      AT_EXECFN:            /bin/true   
      AT_PLATFORM:          aarch64
      

      equinix proc/cpu

      processor       : 1
      BogoMIPS        : 50.00
      Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
      CPU implementer : 0x41
      CPU architecture: 8                                                                                                                    
      CPU variant     : 0x3                                                                                                                  
      CPU part        : 0xd0c
      CPU revision    : 1
      

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.