On 2020/01/08 00:45, Pekka Niiranen wrote: > Hello, > > Has anybody else got this error: > > When I start emacs-gtk3 -package from X on PowerBook G4 (5,7) > I get error > > root@pekkappc:~ # emacs > emacs:/usr/local/lib/libestdc++.so.19.0: /usr/lib/libstdc++.so.57.0 : > WARNING: symbol(_ZNSt6locale5_Impl11_S_id_ctypeE) size mismatch, relink your > program > > I have fetched sources with anoncvs after patch 016 had been released > and build a release (took 48h). > After that I removed all packages, recompiled first gcc and g++ and finally > did "make install" in /usr/ports/editors/emacs (took days) but I still get > the same error.
Is it displaying the message but working anyway, or is it not working? It's not entirely unexpected, the platforms where /usr/bin/cc is gcc (alpha hppa mips64el powerpc sparc64) use a mixture of C++ compilers and incompatible standard libraries. We try to avoid mixing them as much as possible but sometimes it's unavoidable (for example, X libraries have to be built with the compiler in the base OS, and some of these use C++) and other times it may happen by mistake. If you send output from running "LD_DEBUG=1 emacs" (there will be quite a lot of output, you might need to run it under script(1) to capture it all) I'll see if I can spot why, but it might not be fixable.
