I have both g++ and gfortran installed! How can I make it not attempt to built its own gcc?
On Thursday, May 5, 2016 at 12:29:54 AM UTC-4, François wrote: > > Looking at the log his base gcc is 5.3. The only reason for sage to > attempt building gcc 4.9.3 is > if he is missing g++ or gfortran. > > François > > > On 5/05/2016, at 15:21, Nils Bruin <nbr...@sfu.ca <javascript:>> wrote: > > > > I noticed this line in your log: > > > > ar: > /home/kjs/Software/sage/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: > > version `GLIBCXX_3.4.21' not found (required by > /usr/bin/../bin/../lib/bfd-plugins/LLVMgold.so) > > > > I've run into this myself in a different scenario. Most probably, the > libstdc++ you're building as part of gcc-4.9.3 is older than the one > against which your system is linked. By the looks of it, you end up running > a utility (perhaps ar?) that uses your system LLVMgold (probably because > it's a utility that's part of your system), but the loader ends up using > the newly built libstdc++, which doesn't provide a new enough version. > > > > I expect that your best shot is to use the system gcc rather than build > one yourself. I think gcc versions that cause problems with sage are > relatively rare outside OSX. > > > > -- > > 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. > > 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.