From owner-freebsd-stable@freebsd.org Sat Mar 31 15:51:38 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57C31F6B332 for ; Sat, 31 Mar 2018 15:51:38 +0000 (UTC) (envelope-from nz@thiemo.net) Received: from nox.thiemo.net (nox.thiemo.net [IPv6:2a01:4f8:110:1345::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "nox.thiemo.net", Issuer "thiemo.net CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB13969327 for ; Sat, 31 Mar 2018 15:51:37 +0000 (UTC) (envelope-from nz@thiemo.net) Received: from mygiea.ext.thiemo.net (styx.row.thiemo.net [217.7.216.36]) by nox.thiemo.net (8.15.2/8.15.2) with ESMTPS id w2VFpP9M074384 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 31 Mar 2018 17:51:36 +0200 (CEST) (envelope-from nz@thiemo.net) X-Clacks-Overhead: GNU Terry Pratchett Received: from gearloose.srv.thiemo.net (styx.row.thiemo.net [217.7.216.36]) (authenticated bits=0) by styx.row.thiemo.net (8.14.5/8.14.5) with ESMTP id w2VFpL8c032678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 31 Mar 2018 17:51:25 +0200 (CEST) Subject: Fwd: buildworld from 11.1-R-p8 to stable/11 fails in contrib/llvm References: To: freebsd-stable@freebsd.org From: Thiemo Nordenholz X-Forwarded-Message-Id: Message-ID: Date: Sat, 31 Mar 2018 17:51:24 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.6.2 (nox.thiemo.net [78.46.48.50]); Sat, 31 Mar 2018 17:51:36 +0200 (CEST) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (styx.row.thiemo.net [10.200.0.2]); Sat, 31 Mar 2018 17:51:25 +0200 (CEST) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2018 15:51:38 -0000 Hello, having first upgraded from 11.1-RELEASE to FreeBSD 11.1-RELEASE-p8 amd64 via freebsd-upgrade, I wanted to switch to -stable and svnup'ed to r331758. Subsequent "make buildworld" fails when compiling what looks like a part of llvm: c++ -O2 -pipe -I/usr/src/contrib/llvm/tools/lldb/include -I/usr/src/contrib/llvm/tools/lldb/source -I/usr/src/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD -I/usr/src/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX -I/usr/src/contrib/llvm/tools/lldb/source/Plugins/Process/Utility -I/usr/obj/usr/src/lib/clang/libllvm -I/usr/obj/usr/src/lib/clang/libclang -DLLDB_DISABLE_PYTHON -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.1\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.1\" -DDEFAULT_SYSROOT=\"\" -ffunction-sections -fdata-sections -MD -MF.depend.Host_common_MainLoop.o -MTHost/common/MainLoop.o -fstack-protector-strong -Qunused-arguments -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/tools/lldb/source/Host/common/MainLoop.cpp -o Host/common/MainLoop.o /usr/src/contrib/llvm/tools/lldb/source/Host/common/MainLoop.cpp:144:10: error: no viable conversion from returned value of type 'int' to function return type 'sigset_t' (aka '__sigset') return 0; As the respective source code seems to be in the tree for quite some time, I wonder why I cannot seem to find other such issues occurring - what am I missing here? I have no /etc/make.conf, no MAKEFLAGS set, and emptied /usr/obj/ before each of my attempts (-j8, -j4, and no flags, with clang and gcc (see below)). Trying "env WITHOUT_CLANG=YES WITH_GCC=YES make buildworld" also fails, however in /usr/src/lib/libc/tests/ssp (as make says): cc -O2 -pipe -fstack-protector-all -Wstack-protector -fsanitize=bounds -g -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -o h_raw.full h_raw.o /usr/obj/usr/src/tmp/usr/bin/ld: /usr/obj/usr/src/tmp/usr/lib/clang/5.0.1/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a: No such file: No such file or directory cc: error: linker command failed with exit code 1 (use -v to see invocation) Again - as I did not see similar issues on the mailing list, I wonder what's going on here. Perhaps anyone else can shed some light or give me a hint on how to proceed. I'd really like to try out the graphics/drm-next-kmod port... Best wishes, and happy holidays to those so inclined, Thiemo -- Query a PGP key server for my public key 0x11E4B9A92AAE0A34. Strange sender address? Please see http://www.thiemo.net/misc/list-mail.shtml