[ 
https://issues.apache.org/jira/browse/STDCXX-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Sebor updated STDCXX-927:
--------------------------------

           Component/s: Build
              Severity: Linker Error  (was: Incorrect Behavior)
              Priority: Critical  (was: Major)
         Fix Version/s: 4.2.2
    Remaining Estimate: 2h
     Original Estimate: 2h
               Summary: [gcc/HP-UX 11.23] duplicate definition for ~type_info() 
and std::uncaught_exception()  (was: gcc linker error on HP-UX 11.23)

> [gcc/HP-UX 11.23] duplicate definition for ~type_info() and 
> std::uncaught_exception()
> -------------------------------------------------------------------------------------
>
>                 Key: STDCXX-927
>                 URL: https://issues.apache.org/jira/browse/STDCXX-927
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.1
>         Environment: gcc 3.4.3 on HP-UX 11.23
>            Reporter: Rhys Baugh
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.2
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> stdcxx doesn't link with gcc on HP-UX:
> gcc -pthread   -shared -fPIC    assert.o atomic-cxx.o bitset.o catalog.o 
> codecvt.o collate.o ctype.o ctype_bits.o domain_error.o exception.o export.o 
> facet.o file.o instance.o invalid_argument.o ios.o ios_bits.o iostore.o 
> iostream.o iso2022.o length_error.o limits.o limits_bits.o locale_bits.o 
> locale_body.o locale_classic.o locale_combine.o locale_core.o locale_eq.o 
> locale_global.o locale_name.o logic_error.o memattr.o memory.o messages.o 
> mman.o num_get.o num_put.o once.o out_of_range.o overflow_error.o punct.o 
> random.o range_error.o runtime_error.o setlocale.o string.o strstream.o 
> strtol.o ti_collate.o ti_filebuf.o ti_insert_dbl.o ti_insert_int.o 
> ti_insert_ptr.o ti_ios.o ti_istream.o ti_messages.o ti_money_get.o 
> ti_money_put.o ti_moneypunct.o ti_num_get.o ti_num_put.o ti_numpunct.o 
> ti_ostream.o ti_podarray.o ti_streambuf.o ti_string.o ti_stringbuf.o 
> ti_time_get.o ti_time_put.o ti_wcollate.o ti_wfilebuf.o ti_winsert_dbl.o 
> ti_winsert_int.o ti_winsert_ptr.o ti_wios.o ti_wistream.o ti_wmessages.o 
> ti_wmoney_get.o ti_wmoney_put.o ti_wmoneypunct.o ti_wnum_get.o ti_wnum_put.o 
> ti_wnumpunct.o ti_wostream.o ti_wstreambuf.o ti_wstring.o ti_wstringbuf.o 
> ti_wtime_get.o ti_wtime_put.o time_get.o time_put.o tmpbuf.o typeinfo.o 
> underflow_error.o valarray.o vecbool.o version.o wcodecvt.o wctype.o -lsupc++ 
> -o libstd12d.sl.4.2.1 
> ld: Duplicate symbol "std::type_info::~type_info()" in files typeinfo.o and 
> /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/../../../libsupc++.a[tinfo.o]
> ld: Duplicate symbol "std::type_info::~type_info()" in files typeinfo.o and 
> /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/../../../libsupc++.a[tinfo.o]
> ld: Duplicate symbol "std::type_info::~type_info()" in files typeinfo.o and 
> /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/../../../libsupc++.a[tinfo.o]
> ld: Duplicate symbol "std::uncaught_exception()" in files exception.o and 
> /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/../../../libsupc++.a[eh_catch.o]
> 4 errors.
> collect2: ld returned 1 exit status

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to