Created attachment 591786 [details, diff] Force same [clang] USE flag state for app-text/hunspell to ensure it uses the same C++ ABI that any package using the mozconfig eclass Signed-off-by: Jocelyn MAYER l_indien@magic.fr firefox and torbrowser fail to build when using clang with [default-libcxx] USE flag set because of hunspell being compiled with g++, thus not using the same C++ ABI. This is a long standing bug... I didn't find a way to check the use of [default-libcxx] USE flag for sys-devel/clang from mozconfig eclass then I did inconditionnaly force use of clang for hunspell when [clang] USE flag is set for www-clent/firefox / www-client/torbrowser. The patch is located in the mozconfig-v6.60.eclass. This also obviously need the addition of the [clang] USE flag for app-text/hunspell. My guess is that the ultimate patch would be to compile every package using C++ with clang if any one of them is using clang to ensure the C++ ABI is consistent over the whole system.
Created attachment 591788 [details, diff] app-text/hunspell ebuild patch in order to add [clang] USE flag In order to solve the previously described issue, we need to add the option of compiling app-text/hunspell using clang. This patch does the trick Signed-off-by: Jocelyn MAYER l_indien@magic.fr
*** This bug has been marked as a duplicate of bug 693698 ***