HEADS UP: merged llvm/clang 3.4
    David Wolfskill 
    david at catwhisker.org
       
    Sun Mar 23 13:50:49 UTC 2014
    
    
  
On Sun, Mar 23, 2014 at 04:31:15AM -0700, David Wolfskill wrote:
> On Sat, Mar 22, 2014 at 09:26:10PM +0100, Dimitry Andric wrote:
> > ...
> > > Hmm... I (also) seem to have trouble with "make buildworld" on stable/10
> > > (as well as stable/9).
> > ...
> > I would check your hardware (e.g. RAM and harddrives) for errors, since
> > line 129 in contrib/nvi/common/key.h should be:
> > 
> > #define e_tlno  _u_event._e_mark.lno2
> > ....
> 
> As shown in one of yesterday's message, the content of the file appears
> to match what you described.
> 
> In addition to the same issues showing up on my laptop and a build
> machine (each of which I try to update daily), I have now encountered a
> similar issue with my work desktop (which is amd64, and which I normally
> only update weekly).
> 
> I'm about to try again, this time without specifying -jN (my usual
> practice for some years has been to use N=$( sysctl -n hw.ncpu \* 2 )).
> If the results appear interesting, I will be sure to share them.
> ....
I now have results from the above test ("without specifying -jN") from
my laptop & my work desktop; despite being different architectures
(laptop is i386; work desktop is amd64), the errors look the same.
Laptop:
  Running:
g1-252(9.2-S)[1] uname -vp
FreeBSD 9.2-STABLE #696  r263452M/263468:902508: Fri Mar 21 04:49:42 PDT 2014     root at g1-252.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
/usr/src updated to r263644.
...
>>> stage 4.4: building everything
...
clang -O2 -pipe  -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -c /usr/src/sbin/ddb/ddb_script.c
clang -O2 -pipe  -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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  -o ddb ddb.o ddb_capture.o ddb_script.o -lkvm
gzip -cn /usr/src/sbin/ddb/ddb.8 > ddb.8.gz
===> sbin/devd (all)
clang++ -O2 -pipe -I. -I/usr/src/sbin/devd -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -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-c++11-extensions  -c /usr/src/sbin/devd/devd.cc
In file included from /usr/src/sbin/devd/devd.cc:91:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/algorithm:65:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/stl_algobase.h:72:
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:134:12: error: 
      keyword '__is_void' will be treated as an identifier for the remainder of
      the translation unit [-Werror,-Wkeyword-compat]
    struct __is_void
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:289:12: error: 
      keyword '__is_pointer' will be treated as an identifier for the remainder
      of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_pointer
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:324:12: error: 
      keyword '__is_arithmetic' will be treated as an identifier for the
      remainder of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_arithmetic
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:332:12: error: 
      keyword '__is_fundamental' will be treated as an identifier for the
      remainder of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_fundamental
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:340:12: error: 
      keyword '__is_scalar' will be treated as an identifier for the remainder
      of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_scalar
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:346:12: error: 
      keyword '__is_pod' will be treated as an identifier for the remainder of
      the translation unit [-Werror,-Wkeyword-compat]
    struct __is_pod
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:359:12: error: 
      keyword '__is_empty' will be treated as an identifier for the remainder of
      the translation unit [-Werror,-Wkeyword-compat]
    struct __is_empty
           ^
7 errors generated.
*** [devd.o] Error code 1
Stop in /usr/src/sbin/devd.
*** [all] Error code 1
Stop in /usr/src/sbin.
*** [sbin.all__D] Error code 1
Stop in /usr/src.
*** [everything] Error code 1
Stop in /usr/src.
*** [buildworld] Error code 1
Stop in /usr/src.
Work desktop:
  Running:
FreeBSD 9.2-STABLE #30  r263212M/263227:902508: Sun Mar 16 04:46:18 PDT 2014     root at dwolf-fbsd.jnpr.net:/usr/obj/usr/src/sys/DWOLF  amd64
/usr/src updated to r263644.
...
>>> stage 4.4: building everything
...
clang -O2 -pipe  -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -c /usr/src/sbin/ddb/ddb_script.c
clang -O2 -pipe  -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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  -o ddb ddb.o ddb_capture.o ddb_script.o -lkvm
gzip -cn /usr/src/sbin/ddb/ddb.8 > ddb.8.gz
===> sbin/devd (all)
clang++ -O2 -pipe -I. -I/usr/src/sbin/devd -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -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-c++11-extensions  -c /usr/src/sbin/devd/devd.cc
In file included from /usr/src/sbin/devd/devd.cc:91:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/algorithm:65:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/stl_algobase.h:72:
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:134:12: error: 
      keyword '__is_void' will be treated as an identifier for the remainder of
      the translation unit [-Werror,-Wkeyword-compat]
    struct __is_void
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:289:12: error: 
      keyword '__is_pointer' will be treated as an identifier for the remainder
      of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_pointer
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:324:12: error: 
      keyword '__is_arithmetic' will be treated as an identifier for the
      remainder of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_arithmetic
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:332:12: error: 
      keyword '__is_fundamental' will be treated as an identifier for the
      remainder of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_fundamental
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:340:12: error: 
      keyword '__is_scalar' will be treated as an identifier for the remainder
      of the translation unit [-Werror,-Wkeyword-compat]
    struct __is_scalar
           ^
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:346:12: error: 
      keyword '__is_pod' will be treated as an identifier for the remainder of
      the translation unit [-Werror,-Wkeyword-compat]
    struct __is_pod
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:359:12: error: 
      keyword '__is_empty' will be treated as an identifier for the remainder of
      the translation unit [-Werror,-Wkeyword-compat]
    struct __is_empty
           ^
7 errors generated.
*** [devd.o] Error code 1
Stop in /usr/src/sbin/devd.
*** [all] Error code 1
Stop in /usr/src/sbin.
*** [sbin.all__D] Error code 1
Stop in /usr/src.
*** [everything] Error code 1
Stop in /usr/src.
*** [buildworld] Error code 1
Stop in /usr/src.
In each case, the salient entries in /etc/src/conf are:
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes
I can make at least some of the typescript files, as well as other
information (e.g., dmesg.boot) available via my Web server, if that
would be useful.
(Please note that each of the above is for stable/9.  While I also
build stable/10 and head on my laptop, and used to do so for my
work desktop, I encountered difficulties transitioning from single-user
mode to multi-user mode while running stable/10 on the work desktop
because it is configured to need to run an authoritative name server,
and while I had installed dns/bind99 (which works fine under
stable/9), trying to run dns/bind99 as installed under stable/9
while running stable/10 seems to not work so well.)
Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140323/37c068e2/attachment.sig>
    
    
More information about the freebsd-stable
mailing list