HEADS UP: merged llvm/clang 3.4

David Wolfskill david at catwhisker.org
Sat Mar 22 15:44:05 UTC 2014


On Fri, Mar 21, 2014 at 07:17:22PM +0100, Dimitry Andric wrote:
> ...
> I have just merged llvm and clang 3.4 release to stable/10 (r263508) and
> stable/9 (r263509).  This already includes a number of post-3.4 fixes,
> though there are a few that are still awaiting the MFC timeout (e.g. the
> updated Sparc64 backend, and some things that were just fixed the day
> before yesterday).
> 
> Since the most obvious problems have already been addressed in head, I
> expect this to be a fairly smooth upgrade.  If you run into something
> strange anyway, please reply to this message (CC'ing the list).
> ...

Hmm... I (also) seem to have trouble with "make buildworld" on stable/10
(as well as stable/9).

Running:

FreeBSD g1-252.catwhisker.org 10.0-STABLE FreeBSD 10.0-STABLE #1181  r263407M/263420:1000704: Thu Mar 20 06:12:04 PDT 2014     root at g1-252.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  i386

and after updating /usr/src to r263581, I see the following from
"make -j 4 buildworld":

...
>>> stage 4.4: building everything
...
--- sbin.all__D ---
--- fsutil.o ---
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 -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -c /usr/src/sbin/fsck/fsutil.c
--- secure.all__D ---
--- asn1_err.po ---
--- lib.all__D ---
--- e_acosl.po ---
clang -pg  -O2 -pipe  -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/ld80 -I/usr/src/lib/msun/src -I/usr/src/lib/msun/../libc/include  -I/usr/src/lib/msun/../libc/i386 -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/lib/msun/src/e_acosl.c -o e_acosl.po
--- secure.all__D ---
clang -pg  -O2 -pipe  -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DRMD160_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -std=gnu89 -Qunused-arguments  -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/asn1_err.c -o asn1_err.po
--- rescue.all__D ---
--- v_paragraph.o ---
clang -O2 -pipe  -D__REGEX_PRIVATE -I/usr/src/usr.bin/vi -I/usr/src/usr.bin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/regex -DRESCUE -std=gnu99 -Qunused-arguments  -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.bin/vi/../../contrib/nvi/vi/v_paragraph.c
--- sbin.all__D ---
--- preen.o ---
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 -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -c /usr/src/sbin/fsck/preen.c
--- rescue.all__D ---
In file included from /usr/src/usr.bin/vi/../../contrib/nvi/vi/v_paragraph.c:27:
In file included from /usr/src/usr.bin/vi/../../contrib/nvi/vi/../common/common.h:76:
/usr/src/usr.bin/vi/../../contrib/nvi/vi/../common/key.h:129:2: error: invalid preprocessing directive
#do2
 ^
/usr/src/usr.bin/vi/../../contrib/nvi/vi/../common/key.h:227:141: warning: '/*' within block comment [-Wcomment]
#define TXT_NLECHO      0x00080000      /* Echo<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>efine    TXT_OVERWRITE   0x00200000      /* Overwrite characters. */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
--- lib.all__D ---
--- e_asinl.po ---
clang -pg  -O2 -pipe  -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/ld80 -I/usr/src/lib/msun/src -I/usr/src/lib/msun/../libc/include  -I/usr/src/lib/msun/../libc/i386 -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/lib/msun/src/e_asinl.c -o e_asinl.po
--- secure.all__D ---
--- asn1_gen.po ---
clang -pg  -O2 -pipe  -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DRMD160_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -std=gnu89 -Qunused-arguments  -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/asn1_gen.c -o asn1_gen.po
--- rescue.all__D ---
1 warning and 1 error generated.
*** [v_paragraph.o] Error code 1

make[6]: stopped in /usr/src/usr.bin/vi
1 error

make[6]: stopped in /usr/src/usr.bin/vi
*** [vi_make] Error code 2

make[5]: stopped in /common/S3/obj/usr/src/rescue/rescue
1 error

make[5]: stopped in /common/S3/obj/usr/src/rescue/rescue
*** [objs] Error code 2

make[4]: stopped in /usr/src/rescue/rescue
1 error

make[4]: stopped in /usr/src/rescue/rescue
*** [all] Error code 2

make[3]: stopped in /usr/src/rescue
1 error

make[3]: stopped in /usr/src/rescue
*** [rescue.all__D] Error code 2

make[2]: stopped in /usr/src
--- lib.all__D ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/lib/msun
*** [all] Error code 2

make[3]: stopped in /usr/src/lib
1 error

make[3]: stopped in /usr/src/lib
*** [lib.all__D] Error code 2

make[2]: stopped in /usr/src
--- sbin.all__D ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sbin/fsck
*** [all] Error code 2

make[3]: stopped in /usr/src/sbin
1 error

make[3]: stopped in /usr/src/sbin
*** [sbin.all__D] Error code 2

make[2]: stopped in /usr/src
--- secure.all__D ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/secure/lib/libcrypto
*** [all] Error code 2

make[4]: stopped in /usr/src/secure/lib
1 error

make[4]: stopped in /usr/src/secure/lib
*** [all] Error code 2

make[3]: stopped in /usr/src/secure
1 error

make[3]: stopped in /usr/src/secure
*** [secure.all__D] Error code 2

make[2]: stopped in /usr/src
4 errors

make[2]: stopped in /usr/src
*** [everything] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src




config files:

g1-252(10.0-S)[3] cat /etc/src.conf 
KERNCONF=CANARY
SENDMAIL_MC=/etc/mail/laptop.mc
PORTS_MODULES=x11/nvidia-driver
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes
WITHOUT_PKGTOOLS=yes

g1-252(10.0-S)[5] cat /etc/make.conf
# CFLAGS+=      -g
SENDMAIL_MC=/etc/mail/laptop.mc
NET_SNMP_SYS_CONTACT="david at catwhisker.org"
NET_SNMP_SYS_LOCATION="variable"
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp
WITH_BSD_JDK=TRUE
FORCE_PKG_REGISTER=     NO
# For mplayer
WITHOUT_RUNTIME_CPUDETECTION=   YES
WITH_OPTIMIZED_CFLAGS=  YES
WITHOUT_CJK=    YES
NO_SUID_XSERVER=YES
# For Linux compat
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
INSTALL_AS_NCFTP=yes
WITH_PKGNG=     YES
# added by use.perl 2013-06-13 05:15:56
PERL_VERSION=5.14.4


As in the stable/9 case, the only recent (since 23 Aug 2013, in this
case) update to src.conf was to comment out, then uncomment the
PORTS_MODULES line after x11/nvidia-driver was fixed.

(This is the same hardware as for stable/9 -- just a different slice.
And similar to that case, a history of updates may be found at
<http://www.catwhisker.org/~david/FreeBSD/history/laptop_i386_10.txt>.)

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/20140322/321feba3/attachment.sig>


More information about the freebsd-stable mailing list