Re: [sage-release] Re: Sage 8.2.beta5 released
make ptestlong passes on OpenSuSE 42.3 with clang-4.0.1 on top of #24696 with only the usual failures in R and that one reported in #21828. On Mon, Feb 12, 2018 at 8:06 AM Ralf Stephanwrote: > Finally here is the recommended set of flags for clang on Linux: > > export CC="clang" > export CXX="clang++" > export CLANG_DEFAULT_CXX_STDLIB="libc++" > > Thanks to François for the hint. You'll need #24696 if giac doesn't > install, which seems to occur with clang < 5. > > Best, > > On Sun, Feb 11, 2018 at 5:53 PM Ralf Stephan wrote: > >> See https://trac.sagemath.org/ticket/24701#comment:5 for the current >> state of clang on Linux. >> >> On Sun, Feb 11, 2018 at 3:39 PM Ralf Stephan wrote: >> >>> Another bug uncovered. With CXXFLAGS='stdlib=libc++' scipy build fails >>> with, of all things >>> gfortran: error: unrecognized command line option '--stdlib=libc++' >>> >>> Huh? >>> >>> On Sun, Feb 11, 2018 at 11:40 AM Simon King >>> wrote: >>> Hi! On 2018-02-11, Ralf Stephan wrote: > Update with clang on Linux: sagelib ignores the --stdlib in CXX (#24705) > and fpylll apparently ignores the --stdlib in CXX and if you give it in the > CXXFLAGS it uses it only for C not C++ (#24707). So the former is a build > blocker, the latter a critical because fpylll cannot be imported. I think > that's it all. I also get an error at build time, in ratpoints. See #24708. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout. >>> -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
Re: [sage-release] Re: Sage 8.2.beta5 released
Finally here is the recommended set of flags for clang on Linux: export CC="clang" export CXX="clang++" export CLANG_DEFAULT_CXX_STDLIB="libc++" Thanks to François for the hint. You'll need #24696 if giac doesn't install, which seems to occur with clang < 5. Best, On Sun, Feb 11, 2018 at 5:53 PM Ralf Stephanwrote: > See https://trac.sagemath.org/ticket/24701#comment:5 for the current > state of clang on Linux. > > On Sun, Feb 11, 2018 at 3:39 PM Ralf Stephan wrote: > >> Another bug uncovered. With CXXFLAGS='stdlib=libc++' scipy build fails >> with, of all things >> gfortran: error: unrecognized command line option '--stdlib=libc++' >> >> Huh? >> >> On Sun, Feb 11, 2018 at 11:40 AM Simon King >> wrote: >> >>> Hi! >>> >>> On 2018-02-11, Ralf Stephan wrote: >>> > Update with clang on Linux: sagelib ignores the --stdlib in CXX >>> (#24705) >>> > and fpylll apparently ignores the --stdlib in CXX and if you give it >>> in the >>> > CXXFLAGS it uses it only for C not C++ (#24707). So the former is a >>> build >>> > blocker, the latter a critical because fpylll cannot be imported. I >>> think >>> > that's it all. >>> >>> I also get an error at build time, in ratpoints. See #24708. >>> >>> Best regards, >>> Simon >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sage-release" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to sage-release+unsubscr...@googlegroups.com. >>> To post to this group, send email to sage-release@googlegroups.com. >>> Visit this group at https://groups.google.com/group/sage-release. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
Re: [sage-release] Re: Sage 8.2.beta5 released
See https://trac.sagemath.org/ticket/24701#comment:5 for the current state of clang on Linux. On Sun, Feb 11, 2018 at 3:39 PM Ralf Stephanwrote: > Another bug uncovered. With CXXFLAGS='stdlib=libc++' scipy build fails > with, of all things > gfortran: error: unrecognized command line option '--stdlib=libc++' > > Huh? > > On Sun, Feb 11, 2018 at 11:40 AM Simon King > wrote: > >> Hi! >> >> On 2018-02-11, Ralf Stephan wrote: >> > Update with clang on Linux: sagelib ignores the --stdlib in CXX (#24705) >> > and fpylll apparently ignores the --stdlib in CXX and if you give it in >> the >> > CXXFLAGS it uses it only for C not C++ (#24707). So the former is a >> build >> > blocker, the latter a critical because fpylll cannot be imported. I >> think >> > that's it all. >> >> I also get an error at build time, in ratpoints. See #24708. >> >> Best regards, >> Simon >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-release" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sage-release+unsubscr...@googlegroups.com. >> To post to this group, send email to sage-release@googlegroups.com. >> Visit this group at https://groups.google.com/group/sage-release. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
Re: [sage-release] Re: Sage 8.2.beta5 released
Another bug uncovered. With CXXFLAGS='stdlib=libc++' scipy build fails with, of all things gfortran: error: unrecognized command line option '--stdlib=libc++' Huh? On Sun, Feb 11, 2018 at 11:40 AM Simon Kingwrote: > Hi! > > On 2018-02-11, Ralf Stephan wrote: > > Update with clang on Linux: sagelib ignores the --stdlib in CXX (#24705) > > and fpylll apparently ignores the --stdlib in CXX and if you give it in > the > > CXXFLAGS it uses it only for C not C++ (#24707). So the former is a build > > blocker, the latter a critical because fpylll cannot be imported. I think > > that's it all. > > I also get an error at build time, in ratpoints. See #24708. > > Best regards, > Simon > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-release+unsubscr...@googlegroups.com. > To post to this group, send email to sage-release@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-release. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
[sage-release] Re: Sage 8.2.beta5 released
Hi! On 2018-02-11, Ralf Stephanwrote: > Update with clang on Linux: sagelib ignores the --stdlib in CXX (#24705) > and fpylll apparently ignores the --stdlib in CXX and if you give it in the > CXXFLAGS it uses it only for C not C++ (#24707). So the former is a build > blocker, the latter a critical because fpylll cannot be imported. I think > that's it all. I also get an error at build time, in ratpoints. See #24708. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
Re: [sage-release] Sage 8.2.beta5 released
Update with clang on Linux: sagelib ignores the --stdlib in CXX (#24705) and fpylll apparently ignores the --stdlib in CXX and if you give it in the CXXFLAGS it uses it only for C not C++ (#24707). So the former is a build blocker, the latter a critical because fpylll cannot be imported. I think that's it all. On Sun, Feb 11, 2018 at 8:17 AM François Bisseywrote: > > > > On 11/02/2018, at 19:57, François Bissey wrote: > > > > > > > >> On 10/02/2018, at 12:07, Justin C. Walker wrote: > >> > >>> > >>> On Feb 9, 2018, at 00:25 , Volker Braun wrote: > >>> > >>> As always, you can get the latest beta version from the "develop" git > branch. Alternatively, the self-contained source tarball is at > http://www.sagemath.org/download-latest.html > >> > >> Yay for using clang! > >> > >> Built from a fresh clone/checkout of the develop tree. > >> > >> The build (macOS 10.11.6, MBP Quad-core Core i7) blows chunks on sqlite: > >> > >> == > >> libtool: compile: gcc -DPACKAGE_NAME=\"sqlite\" > -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.17.0\" > "-DPACKAGE_STRING=\"sqlite 3.17.0\ > >> \"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\; -DPACKAGE_URL=\"\" > -DPACKAGE=\"sqlite\" -DVERSION=\"3.17.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_T\ > >> YPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 \ > >> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" > -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 > -DHAVE_D\ > >> ECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_EDITLINE_READLINE_H=1 > -DHAVE_EDITLINE=1 -I. -I/Users/Sage/sage-8.2.beta5/local/include -D_REENTR\ > >> ANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE > -g -O2 -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c sqlite3.c -fn\ > >> o-common -DPIC -o .libs/sqlite3.o > >> sqlite3.c:28836:10: error: use of unknown builtin > '__builtin_add_overflow' [-Wimplicit-function-declaration] > >> return __builtin_add_overflow(*pA, iB, pA); > >>^ > >> == > >> > >> sqlite log attached. > > > > > > Ok figured how that one occurred. Xcode version clang differently from > linux. > > sqlite macro evaluate the version with > > #if defined(__clang__) && !defined(_WIN32) && > !defined(SQLITE_DISABLE_INTRINSIC) > > # define CLANG_VERSION \ > > > (__clang_major__*100+__clang_minor__*1000+__clang_patchlevel__) > > > > with clang 3.8 on linux __clang_major__ is 3 but in Xcode 3.8 it is 8. > > You can imagine that a test designed to figure that you use clang 4 on > linux > > will pass with that version of Xcode. > > Anyway it is all the wrong way to figure out if you should use the > builtin. > > Using > > > https://www.gnu.org/software/autoconf-archive/ax_gcc_builtin.html#ax_gcc_builtin > > is a way better idea but that means touching quite a bit of sqlite3.c > > The latest version of sqlite doesn’t try to identify with version of clang > support > __builtin_* anymore. I guess they figured out that it was broken. > I also noticed they figured out they needed to do something about icc. > They still do it wrong in my opinion, but upgrading should fix the problem. > > François > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-release+unsubscr...@googlegroups.com. > To post to this group, send email to sage-release@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-release. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.