Summary: | [exp-run] Update clang in base to 3.7.0-r241361 (snapshot) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> |
Component: | Ports Framework | Assignee: | Dimitry Andric <dim> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | bapt, emaste, portmgr |
Priority: | --- | Flags: | dim:
exp-run?
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197395 | ||
Bug Depends on: | 202493, 202495, 202498, 202499, 202530, 202534, 202535, 202581, 202594, 202596, 202660, 202662, 202762, 202763, 202958, 202959, 203154, 203160 | ||
Bug Blocks: |
Description
Dimitry Andric
2015-07-06 17:49:50 UTC
Take for exp run Could you merge ^/head to at least https://svnweb.freebsd.org/base?view=revision&revision=285857 ? Thanks for the reminder; I merged ^/head r285793 through r285923 into the projects/clang-trunk branch. Exp-run results on i386: http://package18.nyi.freebsd.org/build.html?mastername=headi386PR201377-default&build=2015-07-31_12h04m22s There seems to be a problem (5684 ports skipped) New failures: + {"origin"=>"audio/lame", "pkgname"=>"lame-3.99.5_2", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"audio/speexdsp", "pkgname"=>"speexdsp-1.2.r3_1", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"devel/k8048", "pkgname"=>"k8048-3.05", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/libpru", "pkgname"=>"libpru-0.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/spark", "pkgname"=>"apache-spark-1.2.1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"games/doomlegacy", "pkgname"=>"doomlegacy-1.45.2,1", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"games/nlarn", "pkgname"=>"nlarn-0.7.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"graphics/argyllcms", "pkgname"=>"argyllcms-1.6.3", "phase"=>"build", "errortype"=>"bad_C++_code"} + {"origin"=>"graphics/png", "pkgname"=>"png-1.6.17_1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"lang/go", "pkgname"=>"go-1.4.2,1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"lang/phc", "pkgname"=>"phc-0.1.7", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"lang/v8", "pkgname"=>"v8-3.18.5_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8-devel", "pkgname"=>"v8-devel-3.27.7_3", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"math/py-numpy", "pkgname"=>"py27-numpy-1.9.2,1", "phase"=>"build", "errortype"=>"missing_header"} + {"origin"=>"net-mgmt/tcptrack", "pkgname"=>"tcptrack-1.4.2_2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"science/InsightToolkit", "pkgname"=>"InsightToolkit-4.7.2", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"security/obfsclient", "pkgname"=>"obfsclient-0.0.2_1", "phase"=>"build", "errortype"=>"clang_werror"} Failure logs: http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/lame-3.99.5_2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/speexdsp-1.2.r3_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/k8048-3.05.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/libpru-0.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/apache-spark-1.2.1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/doomlegacy-1.45.2,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/nlarn-0.7.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/argyllcms-1.6.3.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/png-1.6.17_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/go-1.4.2,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/phc-0.1.7.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/v8-3.18.5_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/v8-devel-3.27.7_3.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/py27-numpy-1.9.2,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/tcptrack-1.4.2_2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/InsightToolkit-4.7.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/obfsclient-0.0.2_1.log Exp-run results on amd64: http://package18.nyi.freebsd.org/build.html?mastername=headamd64PR201377-default&build=2015-07-31_13h29m42s New failures: + {"origin"=>"databases/rocksdb", "pkgname"=>"rocksdb-3.11.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/k8048", "pkgname"=>"k8048-3.05", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/libpru", "pkgname"=>"libpru-0.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"games/doomlegacy", "pkgname"=>"doomlegacy-1.45.2,1", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"games/nlarn", "pkgname"=>"nlarn-0.7.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"graphics/argyllcms", "pkgname"=>"argyllcms-1.6.3", "phase"=>"build", "errortype"=>"bad_C++_code"} + {"origin"=>"graphics/darktable", "pkgname"=>"darktable-1.6.7", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"lang/phc", "pkgname"=>"phc-0.1.7", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"lang/rust", "pkgname"=>"rust-1.1.0", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/rust-nightly", "pkgname"=>"rust-nightly-1.3.0.20150703", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8", "pkgname"=>"v8-3.18.5_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8-devel", "pkgname"=>"v8-devel-3.27.7_3", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"net-mgmt/tcptrack", "pkgname"=>"tcptrack-1.4.2_2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"security/obfsclient", "pkgname"=>"obfsclient-0.0.2_1", "phase"=>"build", "errortype"=>"clang_werror"} Failure logs: http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/rocksdb-3.11.2.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/k8048-3.05.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/libpru-0.2.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/doomlegacy-1.45.2,1.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/nlarn-0.7.2.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/argyllcms-1.6.3.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/darktable-1.6.7.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/phc-0.1.7.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/rust-1.1.0.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/rust-nightly-1.3.0.20150703.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/v8-3.18.5_1.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/v8-devel-3.27.7_3.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/tcptrack-1.4.2_2.log http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/obfsclient-0.0.2_1.log Most of the fallout is caused by graphics/png, and that in turn is caused by some floating point exception that I do not understand yet. It seems that calling pow(0.0, 2.2) causes such an FPE, but only if libm is compiled with clang trunk, specifically the file lib/msun/src/e_pow.c. Since that code is rather hard to fully grasp, I'm soliciting for some help, and meanwhile, I will try to figure out where clang changed this behavior. Exp-run done. Antoine, can you please do another run, after r286896? I've fixed both the png failure, and the problems with the intrinsics headers, so lame, speexdsp etc should compile again. I will start having a look at the various other reports now, too. I have this error: --- lib/libz__L --- /poudriere/jails/headamd64PR201377/usr/src/lib/libz/inflate.c:1507:61: error: shifting a negative signed value is undefined [-W error,-Wshift-negative-value] if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; ~~~ ^ (In reply to Antoine Brodin from comment #9) > /poudriere/jails/headamd64PR201377/usr/src/lib/libz/inflate.c:1507:61: > error: shifting a negative signed value is undefined Sorry about that, this was a local change which I had submitted to Xin Li for head, but I didn't commit it into the projects/clang-trunk branch yet. I have now committed it in r286927, please try it again. :) Submitted bug 202493 for devel/k8048. Submitted bug 202495 for devel/libpru. The devel/spark error does not seem to have anything to do with clang, since it is a Maven-built Java program. The Maven log ends with this error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy-dependencies (copy-dependencies) on project spark-core_2.10: Error copying artifact from /wrkdirs/usr/ports/devel/spark/work/m2/com/google/guava/guava/14.0.1/guava-14.0.1.jar to /wrkdirs/usr/ports/devel/spark/work/spark-1.2.1/core/target/jars/guava-14.0.1.jar: Map failed -> [Help 1] Maybe "Map failed" is an obscure way of telling that Maven was out of memory? The math/numpy port was fixed by r286896. I expected science/InsightToolkit to be fixed too, but that dies with a strange error, which I'm not sure of if it has anything to do with clang; it looks more like a bad CMakeLists.txt: Scanning dependencies of target ITKData [ 0%] Building C object Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/ProcessUNIX.c.o [ 0%] Building CXX object Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/vcl_deprecated.cxx.o [ 0%] Building CXX object Modules/ThirdParty/DoubleConversion/src/double-conversion/CMakeFiles/itkdouble-conversion.dir/bignum-dtoa.cc.o [ 0%] Building C object Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/Base64.c.o [ 0%] Building CXX object Modules/ThirdParty/DoubleConversion/src/double-conversion/CMakeFiles/itkdouble-conversion.dir/cached-powers.cc.o [ 0%] Building C object Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/EncodingC.c.o make[4]: make[4]: don't know how to make ExternalData/Testing/Data/Input/MetaIO/Small\. Stop make[4]: stopped in /usr/work/share/dim/ports/science/InsightToolkit/work/.build Submitted bug 202498 for games/doomlegacy. Submitted bug 202499 for games/nlarn. I cannot reproduce the build failure for graphics/argyllcms. It builds just fine for me... The lang/ghc port needs a fix to have -gnu89-inline removed from CXXFLAGS, but it is tricky to do without nasty hacks. The root cause is really that sys.mk sets CXXFLAGS directly from CFLAGS, so the ports framework does not have a way to set a "C-only-but-not-C++" flag. Baptiste thinks that should be fixed in sys.mk instead, and I agree, but this is not a trivial task. (The difficulty comes from dozens of Makefiles in the base system, which are now assuming CFLAGS are automatically added to CXXFLAGS.) Submitted bug 202530 for lang/v8. Submitted bug 202534 for lang/v8-devel. Submitted bug 202535 for net-mgmt/tcptrack. Exp-run results on i386 on ports/head@394538 : http://package18.nyi.freebsd.org/build.html?mastername=headi386PR201377-default&build=2015-08-20_15h42m20s New failures: + {"origin"=>"chinese/gimp-help-zh_CN", "pkgname"=>"zh_CN-gimp-help-html-2.8.1_1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"devel/k8048", "pkgname"=>"k8048-3.05", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/libpru", "pkgname"=>"libpru-0.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/rubygem-thrift", "pkgname"=>"rubygem-thrift-0.9.1,1", "phase"=>"stage", "errortype"=>"clang_werror"} + {"origin"=>"devel/spark", "pkgname"=>"apache-spark-1.2.1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"editors/openoffice-4", "pkgname"=>"apache-openoffice-4.1.1_11", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"editors/openoffice-devel", "pkgname"=>"apache-openoffice-devel-4.2.1694132,3", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"games/doomlegacy", "pkgname"=>"doomlegacy-1.45.2,1", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"games/nlarn", "pkgname"=>"nlarn-0.7.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"games/stepmania-devel", "pkgname"=>"stepmania-devel-5.0.a3_4,1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"graphics/darktable", "pkgname"=>"darktable-1.6.7", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"lang/go", "pkgname"=>"go-1.4.2,1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"lang/phc", "pkgname"=>"phc-0.1.7", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"lang/rubinius", "pkgname"=>"rubinius-2.5.2", "phase"=>"build", "errortype"=>"clang"} + {"origin"=>"lang/v8", "pkgname"=>"v8-3.18.5_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8-devel", "pkgname"=>"v8-devel-3.27.7_3", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"misc/gimp-help-ca", "pkgname"=>"ca-gimp-help-html-2.8.1_1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"misc/gimp-help-da", "pkgname"=>"da-gimp-help-html-2.8.1_1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"misc/gimp-help-nn", "pkgname"=>"nn-gimp-help-html-2.8.1_1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"misc/gimp-help-sl", "pkgname"=>"sl-gimp-help-html-2.8.1_1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"misc/gimp-help-sv", "pkgname"=>"sv-gimp-help-html-2.8.1_1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"net-mgmt/tcptrack", "pkgname"=>"tcptrack-1.4.2_2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"net/pimd", "pkgname"=>"pimd-2.2.0", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"print/fontforge", "pkgname"=>"fontforge-20150612_2", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"security/obfsclient", "pkgname"=>"obfsclient-0.0.2_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"www/varnish4", "pkgname"=>"varnish4-4.0.3_7", "phase"=>"build", "errortype"=>"clang_werror"} Failure logs: http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/zh_CN-gimp-help-html-2.8.1_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/k8048-3.05.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/libpru-0.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/rubygem-thrift-0.9.1,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/apache-spark-1.2.1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/apache-openoffice-4.1.1_11.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/apache-openoffice-devel-4.2.1694132,3.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/doomlegacy-1.45.2,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/nlarn-0.7.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/stepmania-devel-5.0.a3_4,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/darktable-1.6.7.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/go-1.4.2,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/phc-0.1.7.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/rubinius-2.5.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/v8-3.18.5_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/v8-devel-3.27.7_3.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/ca-gimp-help-html-2.8.1_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/da-gimp-help-html-2.8.1_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/nn-gimp-help-html-2.8.1_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/sl-gimp-help-html-2.8.1_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/sv-gimp-help-html-2.8.1_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/tcptrack-1.4.2_2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/pimd-2.2.0.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/fontforge-20150612_2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/obfsclient-0.0.2_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/varnish4-4.0.3_7.log Exp-run results on amd64 on ports/head@394820: http://package22.nyi.freebsd.org/build.html?mastername=headamd64PR201377-default&build=2015-08-20_16h45m13s New failures: + {"origin"=>"databases/rocksdb", "pkgname"=>"rocksdb-3.11.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/k8048", "pkgname"=>"k8048-3.05", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/rubygem-thrift", "pkgname"=>"rubygem-thrift-0.9.1,1", "phase"=>"stage", "errortype"=>"clang_werror"} + {"origin"=>"games/doomlegacy", "pkgname"=>"doomlegacy-1.45.2,1", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"games/nlarn", "pkgname"=>"nlarn-0.7.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"graphics/darktable", "pkgname"=>"darktable-1.6.7", "phase"=>"build", "errortype"=>"linker_error"} + {"origin"=>"graphics/jpeg-turbo", "pkgname"=>"jpeg-turbo-1.4.0", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"graphics/libjpeg-turbo", "pkgname"=>"libjpeg-turbo-1.4.0", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"lang/go", "pkgname"=>"go-1.4.2,1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/phc", "pkgname"=>"phc-0.1.7", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"lang/rubinius", "pkgname"=>"rubinius-2.5.2", "phase"=>"build", "errortype"=>"clang"} + {"origin"=>"lang/rust", "pkgname"=>"rust-1.1.0", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/rust-nightly", "pkgname"=>"rust-nightly-1.3.0.20150703", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8", "pkgname"=>"v8-3.18.5_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8-devel", "pkgname"=>"v8-devel-3.27.7_3", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"net-mgmt/tcptrack", "pkgname"=>"tcptrack-1.4.2_2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"net/pimd", "pkgname"=>"pimd-2.2.0", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"security/obfsclient", "pkgname"=>"obfsclient-0.0.2_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"www/varnish4", "pkgname"=>"varnish4-4.0.3_7", "phase"=>"build", "errortype"=>"clang_werror"} Error logs: http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/rocksdb-3.11.2.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/k8048-3.05.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/rubygem-thrift-0.9.1,1.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/doomlegacy-1.45.2,1.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/nlarn-0.7.2.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/darktable-1.6.7.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/jpeg-turbo-1.4.0.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/libjpeg-turbo-1.4.0.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/go-1.4.2,1.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/phc-0.1.7.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/rubinius-2.5.2.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/rust-1.1.0.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/rust-nightly-1.3.0.20150703.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/v8-3.18.5_1.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/v8-devel-3.27.7_3.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/tcptrack-1.4.2_2.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/pimd-2.2.0.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/obfsclient-0.0.2_1.log http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/varnish4-4.0.3_7.log There is a regression compared to previous run with jpeg-turbo/libjeg-turbo, tests were succeeding on august 1st Submitted bug 202581 for security/obfsclient. The graphics/jpeg-turbo problem seems a lot like this: http://sourceforge.net/p/libjpeg-turbo/bugs/85/ Submitted bug 202594 for graphics/darktable. Submitted bug 202596 for lang/rust and lang/rust-nightly. (The -Werror warnings are actually caused by headers from devel/llvm36.) Submitted bug 202660 for lang/ruby21 (which fixes the build error for devel/rubygem-thrift, and possibly other ruby ports). Submitted bug 202662 for lang/go. For graphics/jpeg-turbo on amd64, replacing jcdctmgr.o and .libs/jcdctmgr.o with ones compiled with clang 3.6.1 makes the tests succeed. Disassembly of jcdctmgr.c:quantize() doesn't look the same with clang 3.6.1 and 3.7-snapshot, with 3.7-snapshot it looks more complex and uses xmm registers. (In reply to Antoine Brodin from comment #30) > For graphics/jpeg-turbo on amd64, replacing jcdctmgr.o and .libs/jcdctmgr.o > with ones compiled with clang 3.6.1 makes the tests succeed. > > Disassembly of jcdctmgr.c:quantize() doesn't look the same with clang 3.6.1 > and 3.7-snapshot, with 3.7-snapshot it looks more complex and uses xmm > registers. Yes, with help from some people on the llvm channel, I have found out that the jpeg-turbo version of jcdctmgr.c does some undefined behavior in its quantize() function. (It tries to right-shift something by 65551, which is obviously wrong.) I am working on a bug report for upstream, and I hope they can provide a fix for this, as I do not fully understand all that quantization code. :) (In reply to Antoine Brodin from comment #30) > Disassembly of jcdctmgr.c:quantize() doesn't look the same with clang 3.6.1 > and 3.7-snapshot, with 3.7-snapshot it looks more complex and uses xmm > registers. Btw, the reason this function now gets translated into a lot of SIMD instructions is that an upstream commit[1] has enabled vectorization of certain right-shift operations. A quick workaround could be to disable vectorization for this particular file, or even just the quantize() function, but on the other hand, jpeg-turbo is designed to take advantage of SIMD. :) [1] http://llvm.org/viewvc/llvm-project?view=revision&revision=241989 Submitted bug 202762 for graphics/jpeg-turbo. Submitted bug 202763 for graphics/mozjpeg. (This has the same bug as graphics/jpeg-turbo, but it was not failing, because the port does not run any tests.) I have now updated clang to 3.7.0 release in the projects/clang370-import branch. This seems to have fixed a number of things, as I cannot reproduce e.g. the various gimp-help-html segmentation faults any more. Could you please do the exp-run again, but now from: svn://svn.freebsd.org/base/projects/clang370-import? Or if you rather want a new PR, please let me know. Meanwhile, I will continue to submit fixes in this PR, those could be linked to a new PR later, if they still apply. Submitted bug 202958 for www/varnish4. The print/fontforge failure was reported upstream quite some time ago, but no fix yet: https://llvm.org/bugs/show_bug.cgi?id=21903 Submitted bug 202959 for net/pimd. Exp-run results on amd64: http://package18.nyi.freebsd.org/build.html?mastername=headamd64PR201377-default&build=2015-09-16_07h08m17s 11 new failures: + {"origin"=>"databases/rocksdb", "pkgname"=>"rocksdb-3.13.1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"devel/codeblocks", "pkgname"=>"codeblocks-13.12_4", "phase"=>"build", "errortype"=>"clang"} + {"origin"=>"devel/rubygem-thrift", "pkgname"=>"rubygem-thrift-0.9.1,1", "phase"=>"stage", "errortype"=>"clang_werror"} + {"origin"=>"games/nlarn", "pkgname"=>"nlarn-0.7.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/go14", "pkgname"=>"go14-1.4.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/phc", "pkgname"=>"phc-0.1.7", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"lang/rubinius", "pkgname"=>"rubinius-2.5.2", "phase"=>"build", "errortype"=>"clang"} + {"origin"=>"lang/v8", "pkgname"=>"v8-3.18.5_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8-devel", "pkgname"=>"v8-devel-3.27.7_3", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"net/pimd", "pkgname"=>"pimd-2.2.0", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"www/varnish4", "pkgname"=>"varnish4-4.0.3_7", "phase"=>"build", "errortype"=>"clang_werror"} Submitted bug 203154 for databases/rocksdb. Submitted bug 203156 for lang/rubinius. Submitted bug 203160 for devel/codeblocks. (In reply to Antoine Brodin from comment #39) > Exp-run results on amd64: > > http://package18.nyi.freebsd.org/build.html?mastername=headamd64PR201377- > default&build=2015-09-16_07h08m17s > > 11 new failures: I think the other bugs I submitted now cover all these failures. I expect those to get committed soon-ish (with maybe a maintainer timeout or two :). Does it look safe enough now to merge the clang370-import branch back to head? Exp-run results on i386: http://package18.nyi.freebsd.org/build.html?mastername=headi386PR201377-default&build=2015-09-17_14h43m50s New failures: + {"origin"=>"devel/codeblocks", "pkgname"=>"codeblocks-13.12_4", "phase"=>"build", "errortype"=>"clang"} + {"origin"=>"devel/rubygem-thrift", "pkgname"=>"rubygem-thrift-0.9.1,1", "phase"=>"stage", "errortype"=>"clang_werror"} + {"origin"=>"devel/spark", "pkgname"=>"apache-spark-1.2.1", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"games/nlarn", "pkgname"=>"nlarn-0.7.2", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"games/stepmania-devel", "pkgname"=>"stepmania-devel-5.0.a3_4,1", "phase"=>"build", "errortype"=>"coredump"} + {"origin"=>"lang/go14", "pkgname"=>"go14-1.4.2", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"lang/phc", "pkgname"=>"phc-0.1.7", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"lang/rubinius", "pkgname"=>"rubinius-2.5.2", "phase"=>"build", "errortype"=>"clang"} + {"origin"=>"lang/v8", "pkgname"=>"v8-3.18.5_1", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"lang/v8-devel", "pkgname"=>"v8-devel-3.27.7_3", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"net/pimd", "pkgname"=>"pimd-2.2.0", "phase"=>"build", "errortype"=>"clang_werror"} + {"origin"=>"print/fontforge", "pkgname"=>"fontforge-20150824", "phase"=>"build", "errortype"=>"clang-bug"} + {"origin"=>"www/varnish4", "pkgname"=>"varnish4-4.0.3_7", "phase"=>"build", "errortype"=>"clang_werror"} Failure logs: http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/codeblocks-13.12_4.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/rubygem-thrift-0.9.1,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/apache-spark-1.2.1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/nlarn-0.7.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/stepmania-devel-5.0.a3_4,1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/go14-1.4.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/phc-0.1.7.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/rubinius-2.5.2.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/v8-3.18.5_1.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/v8-devel-3.27.7_3.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/pimd-2.2.0.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/fontforge-20150824.log http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-09-17_14h43m50s/logs/errors/varnish4-4.0.3_7.log (In reply to Dimitry Andric from comment #43) Yes it should be safe (I assume you did a make universe?) Closing since 3.7.0 was merged to head a long time ago. |