On Fri, Sep 20, 2019 at 9:33 AM François Bissey <[email protected]> wrote:
>
> I’d say it is missing libstdc++ because it is linked with clang. But this is 
> strange
> CXX should be used according to the Makefile of flint. Do you do accidental 
> patching
> to CC or do you somehow pass CXX=clang to flint?

hmm, cannot reproduce it, after installing a Safari (browser - yes!) update...
It works again. Perhaps I somehow broke a particular shell session,
dunno. The usual Apple wtf... :-(

>
> > On 20/09/2019, at 8:18 PM, Dima Pasechnik <[email protected]> wrote:
> >
> > at the moment its NTL interface links, I am getting
> >
> > clang -std=gnu++11 -fPIC -fno-common -pedantic -Wall -O2
> > -funroll-loops -g
> > -I/Volumes/MacHD/home/sagetrac-mirror/local/var/tmp/sage/build/flint-2.5.2.p4/src
> > -I/usr/local/include -I/usr/local/include -I/usr/local/include -c
> > interfaces/NTL-interface.cpp -o build/interfaces/NTL-interface.lo
> >
> > Undefined symbols for architecture x86_64:
> >  "std::terminate()", referenced from:
> >      ___clang_call_terminate in NTL-interface.lo
> >  "___cxa_begin_catch", referenced from:
> >      ___clang_call_terminate in NTL-interface.lo
> >  "___gxx_personality_v0", referenced from:
> >      _fmpz_get_ZZ_p in NTL-interface.lo
> >      _fq_get_ZZ_pE in NTL-interface.lo
> >      _fq_get_zz_pE in NTL-interface.lo
> >      Dwarf Exception Unwind Info (__eh_frame) in NTL-interface.lo
> >
> > ld: symbol(s) not found for architecture x86_64
> > clang: error: linker command failed with exit code 1 (use -v to see 
> > invocation)
> > make[6]: *** [libflint-13.5.2.dylib] Error 1
> >
> > It's something that can be (probably) cured by using clang++ rather
> > than clang as the linker, but the fact that's obviously on Apple's
> > side that broke stuff
> > --- and there are no updates available, so the system seems to be up to 
> > date.
> >
> > --
> > 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 [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/CAAWYfq2zniYQLrwsCGfCgUpa9s%3Dv_0tymFGZ9FbNjzN3znugbQ%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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/130B804D-22EF-4A82-9EE6-BF5191C57DFF%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq27i7JmAO0D9L%2B1MF8ZqS50uNnj67UV-o4hjXBeL%3DHeyQ%40mail.gmail.com.

Reply via email to