You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/10/13 03:50:50 UTC

[jira] Updated: (STDCXX-592) [EDG eccp/Linux] multiple definition of `__sti___11_codecvt_cpp_845ea9dc'

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

Martin Sebor updated STDCXX-592:
--------------------------------

         Priority: Minor  (was: Critical)
    Fix Version/s: 4.2.1

Actually, only three example programs fail with this error: codecvt.cpp, collate.cpp, and ctype.cpp. The error appears to be caused by the fact that the names of the example source files are the same as the names of the library source files that define the corresponding facets. Seems like a compiler bug... Since the errors can be worked around by renaming the program .cpp files I'm lowering Priority to Minor and deferring the issue for 4.2.1.

> [EDG eccp/Linux] multiple definition of `__sti___11_codecvt_cpp_845ea9dc'
> -------------------------------------------------------------------------
>
>                 Key: STDCXX-592
>                 URL: https://issues.apache.org/jira/browse/STDCXX-592
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: trunk
>         Environment: EDG eccp 3.10 with gcc 4.1.0 on SUSE Linux Enterprise Server 10 (x86_64)
>            Reporter: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2.1
>
>
> When compiled with EDG eccp 3.10 (and possibly prior versions of the same), a number of example programs fail to link with the error below:
> generating dependencies for $(TOPDIR)/examples/manual/codecvt.cpp
> eccp -M -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/amd/devco/sebor/stdcxx/examples/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,2
> 61,479,487,678,679,815  /amd/devco/sebor/stdcxx/examples/manual/codecvt.cpp
> eccp -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/amd/devco/sebor/stdcxx/examples/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,2
> 61,479,487,678,679,815   /amd/devco/sebor/stdcxx/examples/manual/codecvt.cpp
> eccp codecvt.o -o codecvt --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib    -L/build/sebor/stdcxx-eccp-3.9-11s/lib  -lstd11s  -lm 
> nm: t_exp.o: no symbols
> nm: e_rem_pio2.o: no symbols
> nm: k_cos.o: no symbols
> nm: k_rem_pio2.o: no symbols
> nm: k_sin.o: no symbols
> nm: s_scalbln.o: no symbols
> nm: e_rem_pio2f.o: no symbols
> nm: k_rem_pio2f.o: no symbols
> nm: s_scalblnf.o: no symbols
> nm: e_rem_pio2l.o: no symbols
> nm: k_rem_pio2l.o: no symbols
> nm: s_nexttowardl.o: no symbols
> nm: s_scalblnl.o: no symbols
> nm: t_sincosl.o: no symbols
> nm: k_sincosl.o: no symbols
> nm: branred.o: no symbols
> nm: doasin.o: no symbols
> nm: dosincos.o: no symbols
> nm: halfulp.o: no symbols
> nm: mpa.o: no symbols
> nm: mpatan2.o: no symbols
> nm: mpatan.o: no symbols
> nm: mpexp.o: no symbols
> nm: mplog.o: no symbols
> nm: mpsqrt.o: no symbols
> nm: mptan.o: no symbols
> nm: sincos32.o: no symbols
> nm: slowexp.o: no symbols
> nm: slowpow.o: no symbols
> /build/sebor/stdcxx-eccp-3.9-11s/lib/libstd11s.a(codecvt.o): In function `__sti___11_codecvt_cpp_845ea9dc':
> /amd/devco/sebor/stdcxx/src/codecvt.cpp:273: multiple definition of `__sti___11_codecvt_cpp_845ea9dc'
> codecvt.o:/amd/devco/sebor/stdcxx/include/loc/_locale.h:327: first defined here
> /nfs/packages/mdx/sles/em64t/utils/binutils/2.16.91.0.5-23.4/bin/ld: Warning: size of symbol `__sti___11_codecvt_cpp_845ea9dc' changed from 48 in codecvt.o to 5 in /build/sebor/stdcxx-eccp-3.9-11s/lib/libstd11s.a(codecvt.o)
> collect2: ld returned 1 exit status
> make: *** [codecvt] Error 1

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