* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
@ 2015-05-05 23:35 ` sailer at sailer dot dynip.lugs.ch
2015-05-26 13:49 ` hamzaalloush at live dot com
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: sailer at sailer dot dynip.lugs.ch @ 2015-05-05 23:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #1 from Thomas Sailer <sailer at sailer dot dynip.lugs.ch> ---
Created attachment 35471
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35471&action=edit
preprocessed testcase
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
2015-05-05 23:35 ` [Bug libstdc++/66030] " sailer at sailer dot dynip.lugs.ch
@ 2015-05-26 13:49 ` hamzaalloush at live dot com
2015-05-27 15:08 ` redi at gcc dot gnu.org
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: hamzaalloush at live dot com @ 2015-05-26 13:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #2 from Hamza Alloush <hamzaalloush at live dot com> ---
with gcc 5.1, i also have this bug, whenever i try to cross compile boost with
mingw, as it tries to define codecvt_byname for
${BOOST_DIR}/libs/locale/src/std/codecvt.cpp
##
undefined reference to `std::codecvt_byname<char, char,
int>::codecvt_byname(char const*, unsigned int)'
##
i use gcc 4.9.3 and i don't have this problem.
http://pastebin.com/HcizTVkg
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
2015-05-05 23:35 ` [Bug libstdc++/66030] " sailer at sailer dot dynip.lugs.ch
2015-05-26 13:49 ` hamzaalloush at live dot com
@ 2015-05-27 15:08 ` redi at gcc dot gnu.org
2015-06-01 16:02 ` jroivas at iki dot fi
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-05-27 15:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-05-27
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (2 preceding siblings ...)
2015-05-27 15:08 ` redi at gcc dot gnu.org
@ 2015-06-01 16:02 ` jroivas at iki dot fi
2015-06-01 16:21 ` redi at gcc dot gnu.org
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jroivas at iki dot fi @ 2015-06-01 16:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
Jouni Roivas <jroivas at iki dot fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jroivas at iki dot fi
--- Comment #3 from Jouni Roivas <jroivas at iki dot fi> ---
Created attachment 35668
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35668&action=edit
proposed patch
This patch solves this problem for me. However I'm not sure if it covers all
the cases.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (3 preceding siblings ...)
2015-06-01 16:02 ` jroivas at iki dot fi
@ 2015-06-01 16:21 ` redi at gcc dot gnu.org
2015-06-01 16:30 ` redi at gcc dot gnu.org
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-01 16:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jouni Roivas from comment #3)
> Created attachment 35668 [details]
> proposed patch
>
> This patch solves this problem for me. However I'm not sure if it covers all
> the cases.
This is wrong because it adds the symbols to a frozen symbol version, we need a
new symbol version.
What I don't understand is why the symbols are only missing now, when they've
never been correctly exported, even prior to GCC 5.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (4 preceding siblings ...)
2015-06-01 16:21 ` redi at gcc dot gnu.org
@ 2015-06-01 16:30 ` redi at gcc dot gnu.org
2015-06-01 17:49 ` jroivas at iki dot fi
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-01 16:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Does this work?
--- a/libstdc++-v3/config/abi/pre/gnu.ver
+++ b/libstdc++-v3/config/abi/pre/gnu.ver
@@ -542,6 +542,9 @@ GLIBCXX_3.4 {
# std::codecvt_byname
_ZNSt14codecvt_bynameI[cw]c11__mbstate_tEC[12]EPKc[jmy];
_ZNSt14codecvt_bynameI[cw]c11__mbstate_tED*;
+#if defined (_WIN32) && !defined (__CYGWIN__)
+ _ZNSt14codecvt_bynameI[cw]ciE[CD]*;
+#endif
# std::collate
_ZNSt7collateI[cw]*;
This won't affect any targets which use versioned symbols.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (5 preceding siblings ...)
2015-06-01 16:30 ` redi at gcc dot gnu.org
@ 2015-06-01 17:49 ` jroivas at iki dot fi
2015-06-01 18:22 ` jroivas at iki dot fi
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jroivas at iki dot fi @ 2015-06-01 17:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #6 from Jouni Roivas <jroivas at iki dot fi> ---
(In reply to Jonathan Wakely from comment #5)
> Does this work?
Yes, it works.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (6 preceding siblings ...)
2015-06-01 17:49 ` jroivas at iki dot fi
@ 2015-06-01 18:22 ` jroivas at iki dot fi
2015-06-01 22:49 ` redi at gcc dot gnu.org
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jroivas at iki dot fi @ 2015-06-01 18:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #7 from Jouni Roivas <jroivas at iki dot fi> ---
(In reply to Jouni Roivas from comment #6)
> (In reply to Jonathan Wakely from comment #5)
> > Does this work?
>
> Yes, it works.
Now I found some more missing symbols:
undefined reference to `std::codecvt<char16_t, char, int>::id'
undefined reference to `std::codecvt<char32_t, char, int>::id'
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (7 preceding siblings ...)
2015-06-01 18:22 ` jroivas at iki dot fi
@ 2015-06-01 22:49 ` redi at gcc dot gnu.org
2015-06-05 16:56 ` jroivas at iki dot fi
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-01 22:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
OK, thanks for checking. I'll prepare a new patch tomorrow.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (8 preceding siblings ...)
2015-06-01 22:49 ` redi at gcc dot gnu.org
@ 2015-06-05 16:56 ` jroivas at iki dot fi
2015-06-06 8:49 ` ktietz at gcc dot gnu.org
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jroivas at iki dot fi @ 2015-06-05 16:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
Jouni Roivas <jroivas at iki dot fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #35668|0 |1
is obsolete| |
--- Comment #9 from Jouni Roivas <jroivas at iki dot fi> ---
Created attachment 35703
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35703&action=edit
Patch to fix further problems
With this patch I was able to cross compile boost library properly.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (9 preceding siblings ...)
2015-06-05 16:56 ` jroivas at iki dot fi
@ 2015-06-06 8:49 ` ktietz at gcc dot gnu.org
2015-06-06 12:10 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-06-06 8:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #10 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Yeah, thanks for working on that. With extensions shown by Jouni, the patch is
preapproved. Jonathan, will you take care?
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (10 preceding siblings ...)
2015-06-06 8:49 ` ktietz at gcc dot gnu.org
@ 2015-06-06 12:10 ` redi at gcc dot gnu.org
2015-06-08 15:13 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-06 12:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, I'll deal with it.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (11 preceding siblings ...)
2015-06-06 12:10 ` redi at gcc dot gnu.org
@ 2015-06-08 15:13 ` redi at gcc dot gnu.org
2015-06-09 4:42 ` jroivas at iki dot fi
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-08 15:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think the patch posted at
https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00590.html should be equivalent,
if you have time to check it that would be great.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (12 preceding siblings ...)
2015-06-08 15:13 ` redi at gcc dot gnu.org
@ 2015-06-09 4:42 ` jroivas at iki dot fi
2015-06-15 12:31 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jroivas at iki dot fi @ 2015-06-09 4:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #13 from Jouni Roivas <jroivas at iki dot fi> ---
That patch seems to work. Thanks.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (13 preceding siblings ...)
2015-06-09 4:42 ` jroivas at iki dot fi
@ 2015-06-15 12:31 ` redi at gcc dot gnu.org
2015-06-15 12:32 ` redi at gcc dot gnu.org
2015-07-04 0:50 ` hamzaalloush at live dot com
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-15 12:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 15 12:31:15 2015
New Revision: 224478
URL: https://gcc.gnu.org/viewcvs?rev=224478&root=gcc&view=rev
Log:
Backport from mainline
2015-06-09 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/66030
* config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
for mingw32.
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/config/abi/pre/gnu.ver
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (14 preceding siblings ...)
2015-06-15 12:31 ` redi at gcc dot gnu.org
@ 2015-06-15 12:32 ` redi at gcc dot gnu.org
2015-07-04 0:50 ` hamzaalloush at live dot com
16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-15 12:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Version|unknown |5.1.0
Resolution|--- |FIXED
Target Milestone|--- |5.2
--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 5.2
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug libstdc++/66030] [5.1.0] std::codecvt_byname missing from libstdc++ DLL
2015-05-05 23:34 [Bug libstdc++/66030] New: [5.1.0] std::codecvt_byname missing from libstdc++ DLL sailer at sailer dot dynip.lugs.ch
` (15 preceding siblings ...)
2015-06-15 12:32 ` redi at gcc dot gnu.org
@ 2015-07-04 0:50 ` hamzaalloush at live dot com
16 siblings, 0 replies; 18+ messages in thread
From: hamzaalloush at live dot com @ 2015-07-04 0:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
--- Comment #17 from Hamza Alloush <hamzaalloush at live dot com> ---
Boost compilling properly now!
Thanks to all involved! :)
^ permalink raw reply [flat|nested] 18+ messages in thread