Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2223

subversion 1.1.3 fails to link on AIX.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.1.x
    • unscheduled
    • compile
    • None
    • AIX

    Description

      This is AIX 5.1, xlc, configure options --without-berkeley-db --disable-nls
      
      After removing the extra 'volatile' at line 710 of
      subversion/clients/cmdline/main.c (on AIX sig_atomic_t already (mistakenly, in
      my opinion) includes volatile, which the xlc compiler (mistakenly, in my
      opinion) trips on), errors out with this:
      
      d subversion/clients/cmdline && /bin/sh /usr/local/src/subversion-1.1.3/libtool
      --silent --mode=link xlc  -g  -g -qHALT=E   -Wl,-brtl 
      -L/usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib  -rpath /usr/local/lib
      -o svn  add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o
      commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o
      import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o
      move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o
      proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o
      status.o switch-cmd.o update-cmd.o util.o
      ../../../subversion/libsvn_client/libsvn_client-1.la
      ../../../subversion/libsvn_wc/libsvn_wc-1.la
      ../../../subversion/libsvn_ra/libsvn_ra-1.la
      ../../../subversion/libsvn_delta/libsvn_delta-1.la
      ../../../subversion/libsvn_subr/libsvn_subr-1.la
      /usr/local/src/subversion-1.1.3/apr-util/libaprutil-0.la
      /usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib/libexpat.la -liconv
      /usr/local/src/subversion-1.1.3/apr/libapr-0.la -lm -lnsl  -lpthread
      /usr/local/src/subversion-1.1.3/neon/src/libneon.la -L/usr/local/lib  
      ld: 0711-317 ERROR: Undefined symbol: .apr_allocator_create
      ld: 0711-317 ERROR: Undefined symbol: .apr_allocator_max_free_set
      ld: 0711-317 ERROR: Undefined symbol: .apr_allocator_owner_set
      ld: 0711-317 ERROR: Undefined symbol: .apr_pool_clear
      ld: 0711-317 ERROR: Undefined symbol: .apr_palloc
      ld: 0711-317 ERROR: Undefined symbol: .apr_pool_destroy
      ld: 0711-317 ERROR: Undefined symbol: .apr_psprintf
      ld: 0711-317 ERROR: Undefined symbol: .apr_file_open_stdin
      ld: 0711-317 ERROR: Undefined symbol: .apr_file_getc
      ld: 0711-317 ERROR: Undefined symbol: .apr_poll
      ld: 0711-317 ERROR: Undefined symbol: .apr_filepath_get
      ld: 0711-317 ERROR: Undefined symbol: .apr_filepath_set
      ld: 0711-317 ERROR: Undefined symbol: .apr_file_write_full
      ld: 0711-317 ERROR: Undefined symbol: .apr_file_close
      ld: 0711-317 ERROR: Undefined symbol: .apr_stat
      ld: 0711-317 ERROR: Undefined symbol: .apr_file_open_stdout
      ld: 0711-317 ERROR: Undefined symbol: .apr_file_open_stderr
      ld: 0711-317 ERROR: Undefined symbol: .apr_time_now
      ld: 0711-317 ERROR: Undefined symbol: .apr_time_exp_lt
      ld: 0711-317 ERROR: Undefined symbol: .apr_strftime
      ld: 0711-317 ERROR: Undefined symbol: .apr_getopt_init
      ld: 0711-317 ERROR: Undefined symbol: .apr_getopt_long
      ld: 0711-317 ERROR: Undefined symbol: .apr_signal
      ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
      
      
      On AIX 4.3, xlc compiler, same as above, we get almost the same problem, except
      it's different symbols:
      
      cd subversion/clients/cmdline && /bin/sh /usr/local/src/subversion-1.1.3/libtool
      --silent --mode=link xlc  -g  -g -qHALT=E   -Wl,-brtl 
      -L/usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib  -rpath /usr/local/lib
      -o svn  add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o
      commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o
      import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o
      move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o
      proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o
      status.o switch-cmd.o update-cmd.o util.o
      ../../../subversion/libsvn_client/libsvn_client-1.la
      ../../../subversion/libsvn_wc/libsvn_wc-1.la
      ../../../subversion/libsvn_ra/libsvn_ra-1.la
      ../../../subversion/libsvn_delta/libsvn_delta-1.la
      ../../../subversion/libsvn_subr/libsvn_subr-1.la
      /usr/local/src/subversion-1.1.3/apr-util/libaprutil-0.la
      /usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib/libexpat.la -liconv
      /usr/local/src/subversion-1.1.3/apr/libapr-0.la -lm -lnsl  -lpthread
      /usr/local/src/subversion-1.1.3/neon/src/libneon.la -L/usr/local/lib  
      ld: 0711-317 ERROR: Undefined symbol: .svn_cmdline_printf
      ld: 0711-317 ERROR: Undefined symbol: .svn_cmdline_fprintf
      ld: 0711-317 ERROR: Undefined symbol: .svn_cmdline_fputs
      ld: 0711-317 ERROR: Undefined symbol: .svn_opt_parse_path
      ld: 0711-317 ERROR: Undefined symbol: .svn_cmdline_fflush
      ld: 0711-317 ERROR: Undefined symbol: svn_subr_version
      ld: 0711-317 ERROR: Undefined symbol: svn_delta_version
      ld: 0711-317 ERROR: Undefined symbol: .svn_ver_check_list
      ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
      
      
      The last subversion I built on these systems, 1.0.6, worked fine. Presumably
      this is the usual libtool brokeness, which I don't have the patience to debug.
      If you have a specific think you'd like me to try, though, I can do it.
      

      Original issue reported by vmole

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: