Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 06:50:41 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Dimitry Andric <dim@FreeBSD.org>, freebsd-stable@freebsd.org
Subject:   Re: HEADS UP: merged llvm/clang 3.4
Message-ID:  <20140323135041.GX43653@albert.catwhisker.org>
In-Reply-To: <20140323113115.GW43653@albert.catwhisker.org>
References:  <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> <20140322154403.GK43653@albert.catwhisker.org> <E168E301-D0A9-4DBB-B2FA-4F7E670F03A3@FreeBSD.org> <20140323113115.GW43653@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--l4GQ7sizse6iPvDe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > #define e_tlno  _u_event._e_mark.lno2
> > ....
>=20
> As shown in one of yesterday's message, the content of the file appears
> to match what you described.
>=20
> 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).
>=20
> I'm about to try again, this time without specifying -jN (my usual
> practice for some years has been to use N=3D$( 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 20=
14     root@g1-252.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

/usr/src updated to r263644.

=2E..
>>> stage 4.4: building everything
=2E..
clang -O2 -pipe  -std=3Dgnu99 -Qunused-arguments  -fstack-protector -Wsyste=
m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p=
rototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-poin=
ter-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -W=
no-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-un=
used-function -Wno-enum-conversion -c /usr/src/sbin/ddb/ddb_script.c
clang -O2 -pipe  -std=3Dgnu99 -Qunused-arguments  -fstack-protector -Wsyste=
m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p=
rototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-poin=
ter-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -W=
no-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-un=
used-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
=3D=3D=3D> sbin/devd (all)
clang++ -O2 -pipe -I. -I/usr/src/sbin/devd -Qunused-arguments -fstack-prote=
ctor -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete=
r -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-e=
xtensions  -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_alg=
obase.h:72:
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:134:12: err=
or:=20
      keyword '__is_void' will be treated as an identifier for the remainde=
r 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: err=
or:=20
      keyword '__is_pointer' will be treated as an identifier for the remai=
nder
      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: err=
or:=20
      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: err=
or:=20
      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: err=
or:=20
      keyword '__is_scalar' will be treated as an identifier for the remain=
der
      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: err=
or:=20
      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: err=
or:=20
      keyword '__is_empty' will be treated as an identifier for the remaind=
er 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 201=
4     root@dwolf-fbsd.jnpr.net:/usr/obj/usr/src/sys/DWOLF  amd64

/usr/src updated to r263644.


=2E..
>>> stage 4.4: building everything
=2E..
clang -O2 -pipe  -std=3Dgnu99 -Qunused-arguments  -fstack-protector -Wsyste=
m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p=
rototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-poin=
ter-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -W=
no-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-un=
used-function -Wno-enum-conversion -c /usr/src/sbin/ddb/ddb_script.c
clang -O2 -pipe  -std=3Dgnu99 -Qunused-arguments  -fstack-protector -Wsyste=
m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p=
rototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-poin=
ter-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -W=
no-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-un=
used-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
=3D=3D=3D> sbin/devd (all)
clang++ -O2 -pipe -I. -I/usr/src/sbin/devd -Qunused-arguments -fstack-prote=
ctor -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete=
r -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-e=
xtensions  -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_alg=
obase.h:72:
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:134:12: err=
or:=20
      keyword '__is_void' will be treated as an identifier for the remainde=
r 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: err=
or:=20
      keyword '__is_pointer' will be treated as an identifier for the remai=
nder
      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: err=
or:=20
      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: err=
or:=20
      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: err=
or:=20
      keyword '__is_scalar' will be treated as an identifier for the remain=
der
      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: err=
or:=20
      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: err=
or:=20
      keyword '__is_empty' will be treated as an identifier for the remaind=
er 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=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp
WITH_LIBCPLUSPLUS=3Dyes


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
--=20
David H. Wolfskill				david@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.

--l4GQ7sizse6iPvDe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQJ8BAEBCgBmBQJTLuavXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7ek0P/Ri1BkGCqLp88oDXlt+5OMJc
btinlMoQVgRn96kNLoXZCXTJi9DgsxcHmfCO+o4XVxKv5PlX+TLuPIzgEcbFHYAW
XzN8Va2r4og3Fxin4R0F9sduQFJocJy9+ybBJ1yriYXU3vaMzb8ryeJ5ctsPAgsD
byn99SbmXS1LCg1WpDhk9xClBaR4qBRtaaZ57cWc1UeiOt7t1TkcU5K7Twig6Gyx
DOIcBJvLJ1Q2OBfY7oP2s2fJRc8DBBx+FqUqGrGk2/XRTkRvBptzFVMexMusy1qM
pNf8OgaQRwv1dpA0mpZDH3mtO/hElKcJw0+Q2I+YxtbR5C/2zcjZJK2IZ3kFkkFW
RBWtyUb5QS44FPZIK/qHA3lgCBxUBy8GxW0cHGsLmJAmWkI+sTbYSALdvddwMI2r
hI5QSaiZaGoitqLG5QAZK8Kj/VCWtkZy2L8iYjqhFsGEfrqp/d4Xq+P3DLBFqqQT
mz8Z+6mlqjJl8SGB8w4Uo6klh7NJOffpNZkfEohcZhRzxYPeKSzUYwxRXuAXKSNE
Y5HBG5wYg71iXDSdBHxbB2dF3dFm6jCUxQaCazdnABPapg2jwomGr7bkPkaqhqK5
GG9mBioSG2e9auSLE6x5uj2aOh3268prGy2nvBvDOjl40eH+niQMLYLeMPdHXTHP
CbbrWRljMzFmeZjAHwqm
=yXNJ
-----END PGP SIGNATURE-----

--l4GQ7sizse6iPvDe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140323135041.GX43653>