Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.20-galera
    • Fix Version/s: 10.0
    • Component/s: Compiling
    • Labels:
      None
    • Environment:
      Solaris Sparc 64 bits, Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
      SolarisStudio 12.3 opencsw packages and SunFreeware packages

      Description

      download mariadb-10.0.20
      ./configure
      make 
      [ 12%] Built target strings
      Scanning dependencies of target strings-t
      [ 12%] Building C object unittest/strings/CMakeFiles/strings-t.dir/strings-t.c.o
      Linking C executable strings-t
      Undefined                    first referenced
       symbol                             in file
      rw_pr_rdlock                        CMakeFiles/strings-t.dir/strings-t.c.o
      rw_pr_unlock                        CMakeFiles/strings-t.dir/strings-t.c.o
      rw_pr_wrlock                        CMakeFiles/strings-t.dir/strings-t.c.o
      rw_pr_destroy                       CMakeFiles/strings-t.dir/strings-t.c.o
      PSI_server                          CMakeFiles/strings-t.dir/strings-t.c.o
      rw_pr_init                          CMakeFiles/strings-t.dir/strings-t.c.o
      strdup_root                         CMakeFiles/strings-t.dir/strings-t.c.o
      ld: fatal: symbol referencing errors. No output written to strings-t
      make[2]: *** [unittest/strings/strings-t] Error 2
      make[1]: *** [unittest/strings/CMakeFiles/strings-t.dir/all] Error 2
      make: *** [all] Error 2
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Sergei Golubchik,
            Do we still pretend on supporting Solaris Sparc?

            Show
            elenst Elena Stepanova added a comment - Sergei Golubchik , Do we still pretend on supporting Solaris Sparc?
            Hide
            pviltard VILTARD Pascal added a comment -

            I see "MDEV-5268 cannot build on Solaris 11 x86" I try it but some troubles. So I create this jira.
            Pascal

            Show
            pviltard VILTARD Pascal added a comment - I see " MDEV-5268 cannot build on Solaris 11 x86" I try it but some troubles. So I create this jira. Pascal
            Show
            pviltard VILTARD Pascal added a comment - and https://mariadb.com/kb/en/mariadb/buildbot-setup-for-solaris-sparc/ ???
            Hide
            serg Sergei Golubchik added a comment -

            We don't have a Sparc builder at the moment. If you have a fix for this issue, we'll be happy to apply it. Otherwise it'll have to wait until we get a Sparc builder.

            Show
            serg Sergei Golubchik added a comment - We don't have a Sparc builder at the moment. If you have a fix for this issue, we'll be happy to apply it. Otherwise it'll have to wait until we get a Sparc builder.
            Hide
            pviltard VILTARD Pascal added a comment -

            strings-t.dir/strings-t.c contents : my_sys.h
            include/my_sys.h contents : my_pthread.h
            include\my_pthread.h contents : extern int rw_pr_rdlock(rw_pr_lock_t *); @ 567

            and in CMakeLists.txt we have :
            @ line 377
            INCLUDE(maintainer)

            IF(WITH_UNIT_TESTS)
            ENABLE_TESTING()
            ADD_SUBDIRECTORY(unittest/mytap)
            ADD_SUBDIRECTORY(unittest/strings) *breaks*
            compile unittest/strings-t.c

            and after
            @ line 401 : ADD_SUBDIRECTORY(mysys)

            Show
            pviltard VILTARD Pascal added a comment - strings-t.dir/strings-t.c contents : my_sys.h include/my_sys.h contents : my_pthread.h include\my_pthread.h contents : extern int rw_pr_rdlock(rw_pr_lock_t *); @ 567 and in CMakeLists.txt we have : @ line 377 INCLUDE(maintainer) IF(WITH_UNIT_TESTS) ENABLE_TESTING() ADD_SUBDIRECTORY(unittest/mytap) ADD_SUBDIRECTORY(unittest/strings) * breaks * compile unittest/strings-t.c and after @ line 401 : ADD_SUBDIRECTORY(mysys)
            Hide
            serg Sergei Golubchik added a comment -

            Are you trying to describe a fix? I don't understand what we need to change, sorry. Could you please create a patch (unified diff) and attach it to this bug report? Thanks!

            Show
            serg Sergei Golubchik added a comment - Are you trying to describe a fix? I don't understand what we need to change, sorry. Could you please create a patch (unified diff) and attach it to this bug report? Thanks!

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                pviltard VILTARD Pascal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: