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

myisam/sort.c:362:5: error: cannot jump from this goto statement to its label goto err; ^

    XMLWordPrintable

Details

    • 5.5.50

    Description

      Build fails with the following log on OS X.

      [ 36%] Building C object storage/myisam/CMakeFiles/myisam.dir/sp_key.c.o
      [ 36%] Building C object storage/myisam/CMakeFiles/myisam.dir/mi_rkey.c.o
      /Users/charles/Desktop/server/storage/myisam/sort.c:362:5: error: cannot
            jump from this goto statement to its label
          goto err;
          ^
      /Users/charles/Desktop/server/storage/myisam/sort.c:365:5: note: jump
            bypasses initialization of variable with __attribute__((cleanup))
          DBUG_ENTER("thr_find_all_keys");
          ^
      /Users/charles/Desktop/server/include/my_dbug.h:74:47: note: expanded from
            macro 'DBUG_ENTER'
      #define DBUG_ENTER(a) struct _db_stack_frame_ _db_stack_frame_  __a...
                                                    ^
      1 error generated.
      make[2]: *** [storage/myisam/CMakeFiles/myisam.dir/sort.c.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[1]: *** [storage/myisam/CMakeFiles/myisam.dir/all] Error 2
      make: *** [all] Error 2
      Muurmus-MacBook-Pro:server charles$
      

      Attachments

        Activity

          People

            cvicentiu Vicențiu Ciorbaru
            charlesm Charles Muurmu
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.