Hum, that's definitely a signal that ntl has been compiled with
-std=c++11 and eclib doesn't. Which is strange because I put code
in configure to make sure it would pick up the c++11 bit myself.
I probably didn't take into account a corner case.
On the other hand I think eclib should just switch to c++11 by default.

Nevertheless there is some strangeness happening there. Can you
post the log for ntl please?

Francois

On 10/03/17 09:01, Darij Grinberg wrote:
> Hi Isuru,
> 
> thank you. I'm recompiling now (after make distclean) and hitting a
> similar-looking problem:
> https://dl.dropboxusercontent.com/u/83265276/eclib-20170104.log
> 
> Could it be that some parts of the compilation use sage's gcc while
> others use the system gcc? Is there a way to force them all to use the
> same gcc?
> 
>   Best regards,
>   Darij
> 
> On Wednesday, 8 March 2017 10:46:55 UTC-6, Isuru Fernando wrote:
> 
>     Hi,
> 
>     Did you upgrade your gcc between compiling ntl and compiling giac?
>     It seems to me like ntl was compiled with gcc 4.x while you are
>     trying to compile giac with gcc 5.x.
> 
>     Isuru Fernando
> 
>     On Wed, Mar 8, 2017 at 8:37 PM, Darij Grinberg <darijg...@gmail.com
>     <javascript:>> wrote:
> 
>         Hi,
> 
>         I'm failing to build ("make build") 7.6.beta6 on my university
>         computer:
> 
>         [giac-1.2.2.103] /home/dgrinber/sage-7.5.1/local/lib/libntl.so:
>         undefined reference to `vtable for
>         std::__cxx11::basic_stringbuf<char, std::char_traits<char>,
>         std::allocator<char> >@GLIBCXX_3.4.21'
>         [giac-1.2.2.103] collect2: error: ld returned 1 exit status
> 
>         For the complete log, see
>         https://dl.dropboxusercontent.com/u/83265276/giac-1.2.2.103.log
>         <https://dl.dropboxusercontent.com/u/83265276/giac-1.2.2.103.log>
> 
>         It's been a while since I've last run into troubles building
>         Sage, which is a good thing but unfortunately means I have long
>         forgotten how to deal with such issues. Any ideas?
> 
>           Best regards,
>           Darij
> 
>         -- 
>         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+...@googlegroups.com <javascript:>.
>         To post to this group, send email to sage-...@googlegroups.com
>         <javascript:>.
>         Visit this group at https://groups.google.com/group/sage-devel
>         <https://groups.google.com/group/sage-devel>.
>         For more options, visit https://groups.google.com/d/optout
>         <https://groups.google.com/d/optout>.
> 
> 
> -- 
> 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
> <mailto:sage-devel+unsubscr...@googlegroups.com>.
> To post to this group, send email to sage-devel@googlegroups.com
> <mailto:sage-devel@googlegroups.com>.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to