Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-1898

LP #901690: SunStudio 12.1 on Solaris 10u8 (x64) - compilation error

    XMLWordPrintable

    Details

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

      Description

      **Reported in Launchpad by Marcin Jaworski last update 25-09-2012 06:25:19

      CC="/opt/sunstudio12.1/bin/cc"
      CXX="/opt/sunstudio12.1/bin/CC"
      CFLAGS="-xO4 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=native -m64 -xregs=no%frameptr -w "
      CXXFLAGS="-xO4 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=native -m64 -xregs=no%frameptr -w "
      LDFLAGS="-xtarget=native -m64 "
      LIBS="-lmtmalloc"

      ./configure \
      --prefix=/opt/mysql/mysql \
      --localstatedir=/opt/mysql/mysql/data \
      --libexecdir=/opt/mysql/mysql/bin \
      --with-extra-charsets=complex \
      --enable-thread-safe-client \
      --enable-local-infile \
      --with-zlib-dir=bundled \
      --with-big-tables \
      --with-readline \
      --with-archive-storage-engine \
      --with-named-curses=-lcurses \
      --with-big-tables \
      --with-innodb \
      --with-berkeley-db \
      --with-blackhole-storage-engine \
      --with-federated-storage-engine \
      --with-csv-storage-engine \
      --disable-shared \
      --enable-assembler \
      --with-server-suffix=-fotka \
      --with-mysqld-libs=-lmtmalloc \
      --without-plugin-ndbcluster \
      --without-plugin-example \

      make
      ----------------------------------------------------

      [ 90%] Building CXX object sql/CMakeFiles/sql.dir/query_response_time.cc.o
      "/export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1/sql/query_response_time.cc", line 137: Error: An integer constant expression is required within the array subscript opera
      tor.
      "/export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1/sql/query_response_time.cc", line 210: Error: An integer constant expression is required within the array subscript opera
      tor.
      "/export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1/sql/query_response_time.cc", line 211: Error: An integer constant expression is required within the array subscript opera
      tor.
      3 Error(s) detected.

          • Error code 3
            The following command caused the error:
            cd /export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1/sql && /opt/sunstudio12.1/bin/CC -DHAVE_RWLOCK_T -DHAVE_RESPONSE_TIME_DISTRIBUTION -DDBUG_OFF -DHAVE_CONFIG_H -DMYSQL
            _SERVER -DHAVE_EVENT_SCHEDULER -xO4 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=opteron -m64 -xregs=no%frameptr -xipo -xjobs=8 -I/export/admins/marcin.jaw
            orski/percona/Percona-Server-5.5.17-rel22.1/include -I/export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1/sql -I/export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-re
            l22.1/regex I/export/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1/zlib -o CMakeFiles/sql.dir/query_response_time.cc.o -c /export/admins/marcin.jaworski/percona/Percona-Server
            5.5.17-rel22.1/sql/query_response_time.cc
            make: Fatal error: Command failed for target `sql/CMakeFiles/sql.dir/query_response_time.cc.o'
            Current working directory /mnt/bpool/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1
          • Error code 1
            The following command caused the error:
            make -f sql/CMakeFiles/sql.dir/build.make sql/CMakeFiles/sql.dir/build
            make: Fatal error: Command failed for target `sql/CMakeFiles/sql.dir/all'
            Current working directory /mnt/bpool/admins/marcin.jaworski/percona/Percona-Server-5.5.17-rel22.1
          • Error code 1
            The following command caused the error:
            make -f CMakeFiles/Makefile2 all
            make: Fatal error: Command failed for target `all'

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: