Hi, 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). -Dimitry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 203 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140321/09611eeb/attachment.sig>
Hello, I see that boost-libs does not build with clang 3.4 here, hopefully it will without OPTIMIZED_CFLAGS. -- View this message in context: http://freebsd.1045724.n5.nabble.com/HEADS-UP-merged-llvm-clang-3-4-tp5896349p5896505.html Sent from the freebsd-stable mailing list archive at Nabble.com.
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). > ....I encountered an error during my regular "make buildworld" today that I suspect is related to the above. Running: FreeBSD g1-252.catwhisker.org 9.2-STABLE 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 and after updating /usr/src to r263617, I see: ...>>> stage 4.4: building everything... gzip -cn /usr/src/lib/libelf/elf_memory.3 > elf_memory.3.gz clang -O2 -pipe -DGTAGS -DSYSV_CURSES -I/usr/src/usr.bin/vi -I/usr/src/usr.bin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/include -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/common/delete.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 clang -O2 -pipe -DGTAGS -DSYSV_CURSES -I/usr/src/usr.bin/vi -I/usr/src/usr.bin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/include -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/common/exf.c gzip -cn /usr/src/lib/libelf/elf_next.3 > elf_next.3.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 ^ In file included from /usr/src/usr.bin/vi/../../contrib/nvi/common/exf.c:43: In file included from /usr/src/usr.bin/vi/../../contrib/nvi/common/common.h:82: In file included from /usr/src/usr.bin/vi/../../contrib/nvi/common/options.h:101: /usr/src/usr.bin/vi/../../contrib/nvi/include/options_def.h:11:9: warning: 'O_DIRECTORY' macro redefined #define O_DIRECTORY 10 ^ /usr/obj/usr/src/tmp/usr/include/sys/fcntl.h:119:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ gzip -cn /usr/src/lib/libelf/elf_rawfile.3 > elf_rawfile.3.gz 1 warning generated. gzip -cn /usr/src/lib/libelf/elf_rand.3 > elf_rand.3.gz clang -O2 -pipe -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/common/S1/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber -std=gnu89 -Qunused-arguments -fstack-protector -c /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/fold-const.c -o fold-const.o 1 warning generated. 7 errors generated. *** [devd.o] Error code 1 1 error *** [all] Error code 2 1 error *** [sbin.all__D] Error code 2 ... and things don't really get better after that. /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 (Only change in the above since 07 Mar 2013 -- ovcer a year ago -- was to comment out the PORTS_MODULES line for a while, then uncomment it after x11/nvidia-driver was fixed). I don't *think* there's much in make.conf that's relevant, but: # 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 OPTIONS_SET=OPTIMIZED_CFLAGS 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 WITH_NEW_XORG= YES And for a list of recent "uname -vp" outputs (after build/install) for this environment on this machine, please see <http://www.catwhisker.org/~david/FreeBSD/histpory/laptop_i386_9.txt>. Ah -- my build machine finally(!) caught up with my laptop; also i386, running: FreeBSD freebeast.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #914 r263452M/263468:902508: Fri Mar 21 05:21:10 PDT 2014 root at freebeast.catwhisker.org:/usr/obj/usr/src/sys/GENERIC i386 /usr/src also updated to r263617, and encountered the same issues as above. Its update history may be found in <http://www.catwhisker.org/~david/FreeBSD/histpory/freebeast_i386_9.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/75182030/attachment.sig>
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>
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). > ...I was (finally!) able to bulid stable/10 successfully this morning (on each of a build machine and my laptop); stable/9 still dies (the same way on each). Summary of attempts: stable/9: Date Last commit to repo Status Thu 20 Mar r263420 OK Fri 21 Mar r263468 OK Sat 22 Mar r263620 Failed Sun 23 Mar r263658 Failed Mon 24 Mar r263680 Failed stable/10: Date Last commit to repo Status Thu 20 Mar r263420 OK Fri 21 Mar r263468 OK [Didn't actually rebuild *] Sat 22 Mar r263620 Failed Sun 23 Mar r263658 Failed Mon 24 Mar r263680 OK * Only change in stable/10 from r263420 to r263468 was to a couple of file specific to the arm architecture. I'm running i386 on these machines, so I didn't bother. 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/20140324/01098df0/attachment.sig>
On Fri, Mar 21, 2014 at 07:17:22PM +0100, Dimitry Andric wrote:> Hi, > > 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). > > -Dimitry >Hello, DTrace seems to no longer work properly on stable/10; I get errors like the following dtrace: invalid probe specifier pid$target::malloc:entry{ }: "/usr/lib/dtrace/io.d", line 49: cannot find type: struct devstat*: Type information is in parent and unavailable and I know of a couple other users running into the same problem. I recall that some changes to libdwarf, libelf and the CTF tools were needed in order to work with clang 3.4; do you know if there's any plan to MFC them soon as well? Thanks, -Mark
Dimitry,> 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).Could this change have broken gdb? Created hello.c: #include <stdio.h> #include <stdlib.h> int main( int argc, char *argv[] ) { printf( "%s", "hello world\n" ); exit( 0 ); } cc --version FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 Target: i386-unknown-freebsd10.0 Thread model: posix cc -g hello.c -o hello gdb ./hello GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr2/lab/6.2/sw/src/hello] -- ------------------------------------------------------------------------ Larry Baird Global Technology Associates, Inc. 1992-2012 | http://www.gta.com Celebrating Twenty Years of Software Innovation | Orlando, FL Email: lab at gta.com | TEL 407-380-0220