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

LP:729059 - 5.2.5 doesn't compile on FreeBSD 8.2 amd64

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Here is the error we're seeing when trying to compile 5.2.5. No problem with 5.2.4.

      if g++45 -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME='"/usr/local"' -DMYSQL_DATADIR='"/usr/local/var"' -DSHAREDIR='"/usr/local/share/mysql"' -DPLUGINDIR='"/usr/local/lib/mysql/plugin"' -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../regex -I. -O2 -pipe -mfpmath=sse -ftracer -ffast-math -fexcess-precision=fast -funroll-loops -O3 -floop-interchange -floop-strip-mine -floop-block -march=native -fno-strict-aliasing -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT sql_select.o -MD -MP -MF ".deps/sql_select.Tpo" -c -o sql_select.o sql_select.cc; then mv -f ".deps/sql_select.Tpo" ".deps/sql_select.Po"; else rm -f ".deps/sql_select.Tpo"; exit 1; fi
      mysqld.cc: In function 'void init_signals()':
      mysqld.cc:2764:7: error: 'opt_stack_trace' was not declared in this scope
      mysqld.cc: In function 'int get_options(int*, char**)':
      mysqld.cc:9246:5: error: 'opt_stack_trace' was not declared in this scope

          • Error code 1
            1 error
          • Error code 1
            1 error
          • Error code 2
            1 error
          • Error code 1
            1 error

      It failed even with these basic CFLAGS:
      -O2 -pipe -mfpmath=sse -ftracer -fexcess-precision=fast -funroll-loops -march=native -fno-strict-aliasing

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64
            Seeing the same issue.

            Works: MariaDB 5.2.4 & 5.1.53, MySQL 5.1.55
            Doesn't: MariaDB 5.2.5 & 5.1.55

            Show
            ratzpo Rasmus Johansson added a comment - Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64 Seeing the same issue. Works: MariaDB 5.2.4 & 5.1.53, MySQL 5.1.55 Doesn't: MariaDB 5.2.5 & 5.1.55
            Hide
            serg Sergei Golubchik added a comment -

            Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64
            http://bazaar.launchpad.net/~maria-captains/maria/5.2/revision/2931

            Show
            serg Sergei Golubchik added a comment - Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64 http://bazaar.launchpad.net/~maria-captains/maria/5.2/revision/2931
            Hide
            olivier-interfasys Olivier - interfaSys added a comment -

            Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64
            The patch worked for me

            Show
            olivier-interfasys Olivier - interfaSys added a comment - Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64 The patch worked for me
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 729059

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 729059

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                olivier-interfasys Olivier - interfaSys
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: