Yes, it was probably NTL related. https://github.com/sagemath/sage/commit/bc333c78b0369377657452e340cb6b3f27c5cee0
I think distutils now knows to link with the C++ compiler even though it compiles C++ sources with a C compiler. OSX build works fine without `libc++` being linked in explicitly, so that must mean that we are using clang++ on OSX at the correct place, right? Isuru On Sat, Jun 13, 2020 at 11:10 PM François Bissey <frp.bis...@gmail.com> wrote: > That far back? It was probably something like ntl or singular (or > something that has since then > been removed) that didn’t link properly. > More seriously, it may have been because the linker used was gcc instead > of g++ even when linking > C++ code. We know there is/was that issue about C/C++ compiler in > distutils (I haven’t been keeping > track, are we still patching python for that in distros?). > > > On 14/06/2020, at 4:03 PM, Isuru Fernando <isu...@gmail.com> wrote: > > > > Hi, > > > > Anybody know why sage is linking to libstdc++? > > > > > https://github.com/sagemath/sage/blob/cdb4c0b073efce77b08de4aa24df6583cdb74fa3/src/setup.py#L371-L374 > > > > In OSX, we don't need libstdc++, because we are using libc++. Git > history says it was added 13 years ago by William Stein. > > > > Isuru > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CA%2B01voM7gDVO%3DAxbCJMXM2dqrufkDhHH1EqsDsP15%2Byo8e6KFw%40mail.gmail.com > . > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/57A33493-F93D-4A71-A8F4-AB6DC2417A22%40gmail.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CA%2B01voNU2qDXUDAkMcfdfw3YRDFfhFTYjLg7V%3Dk8N6STexjTEw%40mail.gmail.com.