Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.3.12
    • Fix Version/s: N/A
    • Component/s: Compiling
    • Labels:
      None
    • Environment:
      linux/debian 6, intel compiler 11

      Description

      libtool: link: icpc -I./../libhsclient -O3 -mssse3 -fno-implicit-templates -fno-exceptions -fno-rtti -fimplicit-templates -O3 -mssse3 -rdynamic -o hsclient hsclient-hsclient.o  -L/devel/mariadb-5.3.12/plugin/handler_socket/libhsclient /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a -lcrypt -lnsl -lm -lpthread -lrt
      icpc: command line warning #10006: ignoring unknown option '-fimplicit-templates'
      hsclient-hsclient.o: In function `main':
      hsclient.cpp:(.text+0x682): undefined reference to `std::vector<std::string, std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string const&)'
      hsclient.cpp:(.text+0x789): undefined reference to `std::vector<dena::string_ref, std::allocator<dena::string_ref> >::_M_insert_aux(__gnu_cxx::__normal_iterator<dena::string_ref*, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >, dena::string_ref const&)'
      hsclient.cpp:(.text+0xb9c): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::string> >*)'
      hsclient-hsclient.o: In function `dena::hstcpcli_main(int, char**)':
      hsclient.cpp:(.text+0x12e6): undefined reference to `std::vector<std::string, std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string const&)'
      hsclient.cpp:(.text+0x13e2): undefined reference to `std::vector<dena::string_ref, std::allocator<dena::string_ref> >::_M_insert_aux(__gnu_cxx::__normal_iterator<dena::string_ref*, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >, dena::string_ref const&)'
      hsclient.cpp:(.text+0x17de): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::string> >*)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-config.o): In function `dena::config::get_str(std::string const&, std::string const&) const':
      config.cpp:(.text+0x1b): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&) const'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-config.o): In function `dena::config::get_int(std::string const&, long long) const':
      config.cpp:(.text+0xe0): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&) const'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-config.o): In function `dena::parse_args(int, char**, dena::config&)':
      config.cpp:(.text+0x233): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::string const, std::string> >*, std::_Rb_tree_node<std::pair<std::string const, std::string> >*, std::string const&)'
      config.cpp:(.text+0x288): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<std::string const, std::string> >, std::pair<std::string const, std::string> const&)'
      config.cpp:(.text+0x31e): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-hstcpcli.o): In function `dena::hstcpcli::get_next_row()':
      hstcpcli.cpp:(.text+0x4040): undefined reference to `std::vector<dena::string_ref, std::allocator<dena::string_ref> >::_M_fill_insert(__gnu_cxx::__normal_iterator<dena::string_ref*, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >, unsigned long, dena::string_ref const&)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::atoi_uint32_nocheck(char const*, char const*)':
      string_util.cpp:(.text+0x62): undefined reference to `unsigned int dena::atoi_tmpl_nocheck<unsigned int>(char const*, char const*)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::atoll_nocheck(char const*, char const*)':
      string_util.cpp:(.text+0x72): undefined reference to `long long dena::atoi_signed_tmpl_nocheck<long long>(char const*, char const*)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_ref const&, dena::string_ref*, unsigned long)':
      string_util.cpp:(.text+0x222): undefined reference to `unsigned long dena::split_tmpl_arr<dena::string_ref>(char, dena::string_ref const&, dena::string_ref*, unsigned long)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_wref const&, dena::string_wref*, unsigned long)':
      string_util.cpp:(.text+0x232): undefined reference to `unsigned long dena::split_tmpl_arr<dena::string_wref>(char, dena::string_wref const&, dena::string_wref*, unsigned long)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_ref const&, std::vector<dena::string_ref, std::allocator<dena::string_ref> >&)':
      string_util.cpp:(.text+0x242): undefined reference to `unsigned long dena::split_tmpl_vec<dena::string_ref, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >(char, dena::string_ref const&, std::vector<dena::string_ref, std::allocator<dena::string_ref> >&)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_wref const&, std::vector<dena::string_wref, std::allocator<dena::string_wref> >&)':
      string_util.cpp:(.text+0x252): undefined reference to `unsigned long dena::split_tmpl_vec<dena::string_wref, std::vector<dena::string_wref, std::allocator<dena::string_wref> > >(char, dena::string_wref const&, std::vector<dena::string_wref, std::allocator<dena::string_wref> >&)'
      make[3]: *** [hsclient] Error 1
      make[3]: Leaving directory `/devel/mariadb-5.3.12/plugin/handler_socket/client'
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            gfischer johndoe added a comment - - edited

            similar result on osx with intel 12:

            libtool: link: icpc -I./../libhsclient -O3 -xHOST -fno-implicit-templates -fno-exceptions -fno-rtti -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -fimplicit-templates -O3 -xHOST -o hsclient hsclient-hsclient.o -Wl,-bind_at_load -L/Volumes/RAM/mariadb-5.3.12/plugin/handler_socket/libhsclient /Volumes/RAM/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a -lm
            icpc: command line warning #10006: ignoring unknown option '-fimplicit-templates'
            Undefined symbols:
            "_ZN4dena17atoi_tmpl_nocheckIjEET_PKcS3", referenced from:
            _ZN4dena19atoi_uint32_nocheckEPKcS1 in libhsclient.a(libhsclient_la-string_util.o)
            "__ZN4dena14split_tmpl_arrINS_10string_refEEEmcRKT_PS2_m", referenced from:
            __ZN4dena5splitEcRKNS_10string_refEPS0_m in libhsclient.a(libhsclient_la-string_util.o)
            "_ZN4dena14split_tmpl_vecINS_11string_wrefESt6vectorIS1_SaIS1_EEEEmcRKT_RT0", referenced from:
            __ZN4dena5splitEcRKNS_11string_wrefERSt6vectorIS0_SaIS0_EE in libhsclient.a(libhsclient_la-string_util.o)
            "_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE11lower_boundERS1", referenced from:
            __ZN4dena10parse_argsEiPPcRNS_6configE in libhsclient.a(libhsclient_la-config.o)
            "_ZNKSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE4findERS1", referenced from:
            _ZNK4dena6config7get_strERKSsS2 in libhsclient.a(libhsclient_la-config.o)
            __ZNK4dena6config7get_intERKSsx in libhsclient.a(libhsclient_la-config.o)
            "__ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E", referenced from:
            _main in hsclient-hsclient.o
            __ZN4dena13hstcpcli_mainEiPPc in hsclient-hsclient.o
            "_ZNSt6vectorIN4dena10string_refESaIS1_EE13_M_insert_auxEN9gnu_cxx17normal_iteratorIPS1_S3_EERKS1", referenced from:
            _main in hsclient-hsclient.o
            __ZN4dena13hstcpcli_mainEiPPc in hsclient-hsclient.o
            "_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9gnu_cxx17_normal_iteratorIPSsS1_EERKSs", referenced from:
            _main in hsclient-hsclient.o
            __ZN4dena13hstcpcli_mainEiPPc in hsclient-hsclient.o
            "_ZN4dena14split_tmpl_vecINS_10string_refESt6vectorIS1_SaIS1_EEEEmcRKT_RT0", referenced from:
            __ZN4dena5splitEcRKNS_10string_refERSt6vectorIS0_SaIS0_EE in libhsclient.a(libhsclient_la-string_util.o)
            "__ZN4dena14split_tmpl_arrINS_11string_wrefEEEmcRKT_PS2_m", referenced from:
            __ZN4dena5splitEcRKNS_11string_wrefEPS0_m in libhsclient.a(libhsclient_la-string_util.o)
            "_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE4findERS1", referenced from:
            __ZN4dena10parse_argsEiPPcRNS_6configE in libhsclient.a(libhsclient_la-config.o)
            "_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE16_M_insert_uniqueESt17_Rb_tree_iteratorIS2_ERKS2", referenced from:
            __ZN4dena10parse_argsEiPPcRNS_6configE in libhsclient.a(libhsclient_la-config.o)
            "_ZN4dena24atoi_signed_tmpl_nocheckIxEET_PKcS3", referenced from:
            _ZN4dena13atoll_nocheckEPKcS1 in libhsclient.a(libhsclient_la-string_util.o)
            "_ZNSt6vectorIN4dena10string_refESaIS1_EE14_M_fill_insertEN9gnu_cxx17normal_iteratorIPS1_S3_EEmRKS1", referenced from:
            __ZN4dena8hstcpcli12get_next_rowEv in libhsclient.a(libhsclient_la-hstcpcli.o)
            ld: symbol(s) not found
            make[3]: *** [hsclient] Error 1

            Show
            gfischer johndoe added a comment - - edited similar result on osx with intel 12: libtool: link: icpc -I./../libhsclient -O3 -xHOST -fno-implicit-templates -fno-exceptions -fno-rtti -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -fimplicit-templates -O3 -xHOST -o hsclient hsclient-hsclient.o -Wl,-bind_at_load -L/Volumes/RAM/mariadb-5.3.12/plugin/handler_socket/libhsclient /Volumes/RAM/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a -lm icpc: command line warning #10006: ignoring unknown option '-fimplicit-templates' Undefined symbols: "_ ZN4dena17atoi_tmpl_nocheckIjEET_PKcS3 ", referenced from: _ ZN4dena19atoi_uint32_nocheckEPKcS1 in libhsclient.a(libhsclient_la-string_util.o) "__ZN4dena14split_tmpl_arrINS_10string_refEEEmcRKT_PS2_m", referenced from: __ZN4dena5splitEcRKNS_10string_refEPS0_m in libhsclient.a(libhsclient_la-string_util.o) "_ ZN4dena14split_tmpl_vecINS_11string_wrefESt6vectorIS1_SaIS1_EEEEmcRKT_RT0 ", referenced from: __ZN4dena5splitEcRKNS_11string_wrefERSt6vectorIS0_SaIS0_EE in libhsclient.a(libhsclient_la-string_util.o) "_ ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE11lower_boundERS1 ", referenced from: __ZN4dena10parse_argsEiPPcRNS_6configE in libhsclient.a(libhsclient_la-config.o) "_ ZNKSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE4findERS1 ", referenced from: _ ZNK4dena6config7get_strERKSsS2 in libhsclient.a(libhsclient_la-config.o) __ZNK4dena6config7get_intERKSsx in libhsclient.a(libhsclient_la-config.o) "__ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E", referenced from: _main in hsclient-hsclient.o __ZN4dena13hstcpcli_mainEiPPc in hsclient-hsclient.o "_ ZNSt6vectorIN4dena10string_refESaIS1_EE13_M_insert_auxEN9 gnu_cxx17 normal_iteratorIPS1_S3_EERKS1 ", referenced from: _main in hsclient-hsclient.o __ZN4dena13hstcpcli_mainEiPPc in hsclient-hsclient.o "_ ZNSt6vectorISsSaISsEE13_M_insert_auxEN9 gnu_cxx17 _normal_iteratorIPSsS1_EERKSs", referenced from: _main in hsclient-hsclient.o __ZN4dena13hstcpcli_mainEiPPc in hsclient-hsclient.o "_ ZN4dena14split_tmpl_vecINS_10string_refESt6vectorIS1_SaIS1_EEEEmcRKT_RT0 ", referenced from: __ZN4dena5splitEcRKNS_10string_refERSt6vectorIS0_SaIS0_EE in libhsclient.a(libhsclient_la-string_util.o) "__ZN4dena14split_tmpl_arrINS_11string_wrefEEEmcRKT_PS2_m", referenced from: __ZN4dena5splitEcRKNS_11string_wrefEPS0_m in libhsclient.a(libhsclient_la-string_util.o) "_ ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE4findERS1 ", referenced from: __ZN4dena10parse_argsEiPPcRNS_6configE in libhsclient.a(libhsclient_la-config.o) "_ ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE16_M_insert_uniqueESt17_Rb_tree_iteratorIS2_ERKS2 ", referenced from: __ZN4dena10parse_argsEiPPcRNS_6configE in libhsclient.a(libhsclient_la-config.o) "_ ZN4dena24atoi_signed_tmpl_nocheckIxEET_PKcS3 ", referenced from: _ ZN4dena13atoll_nocheckEPKcS1 in libhsclient.a(libhsclient_la-string_util.o) "_ ZNSt6vectorIN4dena10string_refESaIS1_EE14_M_fill_insertEN9 gnu_cxx17 normal_iteratorIPS1_S3_EEmRKS1 ", referenced from: __ZN4dena8hstcpcli12get_next_rowEv in libhsclient.a(libhsclient_la-hstcpcli.o) ld: symbol(s) not found make [3] : *** [hsclient] Error 1
            Hide
            elenst Elena Stepanova added a comment -

            It's not going to be fixed for 5.3 / Debian 6, as none of them are actively supported anymore. If you still observe the problem with a newer version of MariaDB (5.5 or above) and a newer version of Debian, please comment to re-open.

            Show
            elenst Elena Stepanova added a comment - It's not going to be fixed for 5.3 / Debian 6, as none of them are actively supported anymore. If you still observe the problem with a newer version of MariaDB (5.5 or above) and a newer version of Debian, please comment to re-open.

              People

              • Assignee:
                Unassigned
                Reporter:
                gfischer johndoe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: