From owner-freebsd-toolchain@freebsd.org Sun Feb 10 05:00:09 2019 Return-Path: Delivered-To: freebsd-toolchain@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 D817814DDFFC for ; Sun, 10 Feb 2019 05:00:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6718B9478F for ; Sun, 10 Feb 2019 05:00:06 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1A503Co031900 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 9 Feb 2019 21:00:03 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1A503Uk031899 for freebsd-toolchain@freebsd.org; Sat, 9 Feb 2019 21:00:03 -0800 (PST) (envelope-from sgk) Date: Sat, 9 Feb 2019 21:00:03 -0800 From: Steve Kargl To: freebsd-toolchain@freebsd.org Subject: clang broken on current? Message-ID: <20190210050003.GA31811@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 6718B9478F X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.24 / 15.00]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.12)[ip: (0.27), ipnet: 128.95.0.0/16(0.32), asn: 73(0.09), country: US(-0.07)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.935,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-toolchain@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.60)[0.601,0]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_LONG(0.40)[0.397,0]; DMARC_NA(0.00)[washington.edu]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 05:00:09 -0000 I have % uname -a FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT r343477 MOBILE i386 % dmesg | more ... FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) VT(vga): resolution 640x480 CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1995.05-MHz 686-class CPU) Origin="GenuineIntel" Id=0x6fd Family=0x6 Model=0xf Stepping=13 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20000000 AMD Features2=0x1 VT-x: (disabled in BIOS) HLT,PAUSE TSC: P-state invariant, performance statistics ... If I add 'CFLAGS+=-march=native -mtune=native', I can build world and kernel without a problem. If I try to build x11-toolkits/qt5-gui the build dies with c++ -Wl,--as-needed -fstack-protector -Wl,--no-undefined -Wl,--version-script,QtGui.version -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list,/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src- 5.12.0/src/gui/QtGui.dynlist -Wl,-soname,libQt5Gui.so.5 -o libQt5Gui.so.5.12.0 (long list of *.o files) -L/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.12.0/lib -L/lib -L/usr/local/lib/qt5 -lQt5Core -L/usr/local/lib -lGL -lpng16 -lharfbuzz -lz .obj/qimage.o: In function `QImage::fill(unsigned int)': qimage.cpp:(.text+0x2442): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' qimage.cpp:(.text+0x2477): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' qimage.cpp:(.text+0x268f): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' qimage.cpp:(.text+0x26cf): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' .obj/qcompositionfunctions.o: In function `comp_func_solid_Clear(unsigned int*, int, unsigned int, unsigned int)': qcompositionfunctions.cpp:(.text+0x33): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `comp_func_Clear(unsigned int*, unsigned int const*, int, unsigned int)': qcompositionfunctions.cpp:(.text+0x293): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `comp_func_solid_Source(unsigned int*, int, unsigned int, unsigned int)': qcompositionfunctions.cpp:(.text+0x4f1): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `comp_func_solid_SourceOver(unsigned int*, int, unsigned int, unsigned int)': qcompositionfunctions.cpp:(.text+0xc4b): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o: In function `rasterop_solid_NotSource(unsigned int*, int, unsigned int, unsigned int)': qcompositionfunctions.cpp:(.text+0x2da8b): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qcompositionfunctions.o:qcompositionfunctions.cpp:(.text+0x2e603): more undefined references to `qt_memfill32(unsigned int*, unsigned int, int)' follow .obj/qdrawhelper.o: In function `blend_color_rgb16(int, QT_FT_Span_ const*, void*)': qdrawhelper.cpp:(.text+0x14968): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' .obj/qdrawhelper.o: In function `qt_bitmapblit_quint16(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)': qdrawhelper.cpp:(.text+0x14ea1): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' qdrawhelper.cpp:(.text+0x14eed): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' qdrawhelper.cpp:(.text+0x14f3e): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' qdrawhelper.cpp:(.text+0x14f8f): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' .obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x14fde): more undefined references to `qt_memfill16(unsigned short*, unsigned short, int)' follow .obj/qdrawhelper.o: In function `qt_rectfill_rgba(QRasterBuffer*, int, int, int, int, QRgba64 const&)': qdrawhelper.cpp:(.text+0x16b7b): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' qdrawhelper.cpp:(.text+0x16b9f): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qdrawhelper.o: In function `qt_rectfill_nonpremul_rgba(QRasterBuffer*, int, int, int, int, QRgba64 const&)': qdrawhelper.cpp:(.text+0x16cfc): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' qdrawhelper.cpp:(.text+0x16d21): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qdrawhelper.o: In function `_ZL17qt_rectfill_rgb30IL12QtPixelOrder1EEvP13QRasterBufferiiiiRK7QRgba64': qdrawhelper.cpp:(.text+0x17054): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' .obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x1707c): more undefined references to `qt_memfill32(unsigned int*, unsigned int, int)' follow .obj/qdrawhelper.o: In function `_GLOBAL__sub_I_qdrawhelper.cpp': qdrawhelper.cpp:(.text+0x2cfe7): undefined reference to `qt_bitmapblit32_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)' qdrawhelper.cpp:(.text+0x2cfff): undefined reference to `qt_bitmapblit16_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)' qdrawhelper.cpp:(.text+0x2d00b): undefined reference to `qt_bitmapblit8888_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)' qdrawhelper.cpp:(.text+0x2d023): undefined reference to `qt_scale_image_argb32_on_argb32_sse2(unsigned char*, int, unsigned char const*, int, int, QRectF const&, QRectF const&, QRect const&, int)' qdrawhelper.cpp:(.text+0x2d047): undefined reference to `qt_blend_rgb32_on_rgb32_sse2(unsigned char*, int, unsigned char const*, int, int, int, int)' qdrawhelper.cpp:(.text+0x2d05f): undefined reference to `qt_blend_argb32_on_argb32_sse2(unsigned char*, int, unsigned char const*, int, int, int, int)' qdrawhelper.cpp:(.text+0x2d089): undefined reference to `qt_fetch_radial_gradient_sse2(unsigned int*, Operator const*, QSpanData const*, int, int, int)' qdrawhelper.cpp:(.text+0x2d095): undefined reference to `comp_func_SourceOver_sse2(unsigned int*, unsigned int const*, int, unsigned int)' qdrawhelper.cpp:(.text+0x2d0a3): undefined reference to `comp_func_solid_SourceOver_sse2(unsigned int*, int, unsigned int, unsigned int)' qdrawhelper.cpp:(.text+0x2d0b1): undefined reference to `comp_func_Source_sse2(unsigned int*, unsigned int const*, int, unsigned int)' qdrawhelper.cpp:(.text+0x2d0ba): undefined reference to `comp_func_Plus_sse2(unsigned int*, unsigned int const*, int, unsigned int)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Removing the additional of -march=native -mtune=native fixes the build. -- Steve From owner-freebsd-toolchain@freebsd.org Sun Feb 10 11:04:06 2019 Return-Path: Delivered-To: freebsd-toolchain@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 268C514EA31B for ; Sun, 10 Feb 2019 11:04:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99F047226F for ; Sun, 10 Feb 2019 11:04:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::a496:d164:3f2d:b39f] (unknown [IPv6:2001:470:7a58:0:a496:d164:3f2d:b39f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C12EF386AB; Sun, 10 Feb 2019 12:03:55 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_2A6F39A8-7EC7-498E-967A-BD1D4B3D8CEC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: clang broken on current? Date: Sun, 10 Feb 2019 12:03:55 +0100 In-Reply-To: <20190210050003.GA31811@troutmask.apl.washington.edu> Cc: freebsd-toolchain@freebsd.org To: Steve Kargl References: <20190210050003.GA31811@troutmask.apl.washington.edu> X-Mailer: Apple Mail (2.3445.102.3) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 11:04:06 -0000 --Apple-Mail=_2A6F39A8-7EC7-498E-967A-BD1D4B3D8CEC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 10 Feb 2019, at 06:00, Steve Kargl = wrote: >=20 > I have >=20 > % uname -a > FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT r343477 MOBILE i386 >=20 > % dmesg | more > ... > FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on = LLVM 7.0.1) > VT(vga): resolution 640x480 > CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1995.05-MHz = 686-class CPU) > Origin=3D"GenuineIntel" Id=3D0x6fd Family=3D0x6 Model=3D0xf = Stepping=3D13 > = Features=3D0xbfebfbff > = Features2=3D0xe3bd > AMD Features=3D0x20000000 > AMD Features2=3D0x1 > VT-x: (disabled in BIOS) HLT,PAUSE > TSC: P-state invariant, performance statistics > ... >=20 > If I add 'CFLAGS+=3D-march=3Dnative -mtune=3Dnative', I can build > world and kernel without a problem. If I try to build > x11-toolkits/qt5-gui the build dies with >=20 > c++ -Wl,--as-needed -fstack-protector -Wl,--no-undefined > -Wl,--version-script,QtGui.version -pthread = -Wl,-rpath,/usr/local/lib/qt5 > -shared -Wl,-Bsymbolic-functions > = -Wl,--dynamic-list,/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-= src- > 5.12.0/src/gui/QtGui.dynlist -Wl,-soname,libQt5Gui.so.5 -o = libQt5Gui.so.5.12.0 >=20 > (long list of *.o files) >=20 > = -L/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.12.0/lib = -L/lib > -L/usr/local/lib/qt5 -lQt5Core -L/usr/local/lib -lGL -lpng16 = -lharfbuzz -lz > .obj/qimage.o: In function `QImage::fill(unsigned int)': > qimage.cpp:(.text+0x2442): undefined reference to = `qt_memfill32(unsigned int*, > unsigned int, int)' > qimage.cpp:(.text+0x2477): undefined reference to = `qt_memfill16(unsigned > short*, unsigned short, int)' How did you arrive at the conclusion that this has anything to do with the specific compiler? =46rom these errors, I think it is more likely something in Qt5 that is erroneously convinced that those qt_memfillXY functions exist. Or they get referenced, but not compiled at all, for some reason. -Dimitry --Apple-Mail=_2A6F39A8-7EC7-498E-967A-BD1D4B3D8CEC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXGAFGwAKCRCwXqMKLiCW o1h6AKCf1odFI4rz2sU27/gZOv+Nh1ALhwCgxzu+sVMBMx3Kv1gRaRERuCvEQYA= =aIsj -----END PGP SIGNATURE----- --Apple-Mail=_2A6F39A8-7EC7-498E-967A-BD1D4B3D8CEC-- From owner-freebsd-toolchain@freebsd.org Sun Feb 10 15:25:46 2019 Return-Path: Delivered-To: freebsd-toolchain@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 D72B514CFB60 for ; Sun, 10 Feb 2019 15:25:45 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 75A9784093; Sun, 10 Feb 2019 15:25:45 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1AFPhb3034951 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 10 Feb 2019 07:25:43 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1AFPhYq034950; Sun, 10 Feb 2019 07:25:43 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Feb 2019 07:25:43 -0800 From: Steve Kargl To: Dimitry Andric Cc: freebsd-toolchain@freebsd.org Subject: Re: clang broken on current? Message-ID: <20190210152543.GD34772@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190210050003.GA31811@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 75A9784093 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.977,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 15:25:46 -0000 On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: > On 10 Feb 2019, at 06:00, Steve Kargl = wrote: > >=20 > > I have > >=20 > > % uname -a > > FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT r343477 MOBILE i386 > >=20 > > % dmesg | more > > ... > > FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on L= LVM 7.0.1) > > VT(vga): resolution 640x480 > > CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1995.05-MHz 686-c= lass CPU) > > Origin=3D"GenuineIntel" Id=3D0x6fd Family=3D0x6 Model=3D0xf Steppi= ng=3D13 > > Features=3D0xbfebfbff > > Features2=3D0xe3bd > > AMD Features=3D0x20000000 > > AMD Features2=3D0x1 > > VT-x: (disabled in BIOS) HLT,PAUSE > > TSC: P-state invariant, performance statistics > > ... > >=20 > > If I add 'CFLAGS+=3D-march=3Dnative -mtune=3Dnative', I can build > > world and kernel without a problem. If I try to build > > x11-toolkits/qt5-gui the build dies with > >=20 > > c++ -Wl,--as-needed -fstack-protector -Wl,--no-undefined > > -Wl,--version-script,QtGui.version -pthread -Wl,-rpath,/usr/local/lib/q= t5 > > -shared -Wl,-Bsymbolic-functions > > -Wl,--dynamic-list,/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhe= re-src- > > 5.12.0/src/gui/QtGui.dynlist -Wl,-soname,libQt5Gui.so.5 -o libQt5Gui.so= =2E5.12.0 > >=20 > > (long list of *.o files) > >=20 > > -L/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.12.0/lib= -L/lib > > -L/usr/local/lib/qt5 -lQt5Core -L/usr/local/lib -lGL -lpng16 -lharfbuzz= -lz > > .obj/qimage.o: In function `QImage::fill(unsigned int)': > > qimage.cpp:(.text+0x2442): undefined reference to `qt_memfill32(unsigne= d int*, > > unsigned int, int)' > > qimage.cpp:(.text+0x2477): undefined reference to `qt_memfill16(unsigned > > short*, unsigned short, int)' >=20 > How did you arrive at the conclusion that this has anything to do with > the specific compiler? From these errors, I think it is more likely > something in Qt5 that is erroneously convinced that those qt_memfillXY > functions exist. Or they get referenced, but not compiled at all, for > some reason. >=20 If I have "CFLAGS+=3D-march=3Dnative -mtune=3Dnative" in /etc/make.conf, the building of qt5-gui dies. If I remove "CFLAGS+=3D-march=3Dnative -mtune=3Dnative" from /etc/make.conf, the bulding of qt5-gui completes without incidence. The only difference in command lines is the inclusion/exclusion of -march=3Dnative -mtune=3Dnative. I came to my conclusion by noticing noticing argv[0], argv[4] and argv[5] below. c++ -c -O2 -pipe -march=3Dnative -mtune=3Dnative -fstack-protector -isystem= /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O3 -s= td=3Dc++1y -fvisibility=3Dhidden -fvisibility-inlines-hidden -fno-exception= s -Wall -W -Wdate-time -Winconsistent-missing-override -pthread -fPIC -DQT_= ACCESSIBILITY -DQT_DBUS -DQT_FONTCONFIG -DQT_FREETYPE -DQT_GLIB -DQT_IMAGEF= ORMAT_PNG -DQT_OPENGL -DQT_SHAPE -DQT_XCB -DQT_XKB -DQT_XKBCOMMON -DQT_XREN= DER -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQ= T_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -= DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTR= INGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=3D0x0500= 00 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEB= UG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/= QtGui/5.12.0 -I../../include/QtGui/5.12.0/QtGui -I.tracegen -I/usr/local/in= clude -I/usr/local/include/libdrm -I/usr/local/include/qt5/QtCore/5.12.0 -I= /usr/local/include/qt5/QtCore/5.12.0/QtCore -I/usr/local/include/qt5 -I/usr= /local/include/qt5/QtCore -I.moc -I/usr/local/include/libpng16 -I/usr/local= /include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qdrawhelper.o p= ainting/qdrawhelper.cpp --=20 Steve From owner-freebsd-toolchain@freebsd.org Sun Feb 10 16:06:07 2019 Return-Path: Delivered-To: freebsd-toolchain@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 2FB5414D13C2 for ; Sun, 10 Feb 2019 16:06:07 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B807E859F1; Sun, 10 Feb 2019 16:06:06 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1AG64pM035172 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 10 Feb 2019 08:06:04 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1AG64jc035171; Sun, 10 Feb 2019 08:06:04 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Feb 2019 08:06:04 -0800 From: Steve Kargl To: Dimitry Andric Cc: freebsd-toolchain@freebsd.org Subject: Re: clang broken on current? Message-ID: <20190210160604.GA35098@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190210050003.GA31811@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: B807E859F1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 16:06:07 -0000 On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: > On 10 Feb 2019, at 06:00, Steve Kargl wrote: > > > > If I add 'CFLAGS+=-march=native -mtune=native', I can build > > world and kernel without a problem. If I try to build > > x11-toolkits/qt5-gui the build dies with > > > > How did you arrive at the conclusion that this has anything to do with > the specific compiler? From these errors, I think it is more likely > something in Qt5 that is erroneously convinced that those qt_memfillXY > functions exist. Or they get referenced, but not compiled at all, for > some reason. > Of course, with llvm/clang/clang++, there appears to be *no documentation* on the set of valid inputs for -march. If I do 'cc -c --verbose a.c' on my FreeBSD laptop, I see -target-cpu i486 among the cc1 options. This is a rather pessimistic choice for a Core2 Duo cpu. If I do 'cc -c --verbose -march=native.c', I see -target-cpu core2 -target-feature +sse2 -target-feature +cx16 -target-feature +sahf -target-feature -tbm -target-feature -avx512ifma -target-feature -sha -target-feature -gfni -target-feature -fma4 -target-feature -vpclmulqdq -target-feature -prfchw -target-feature -bmi2 -target-feature -cldemote -target-feature -fsgsbase -target-feature -ptwrite -target-feature -xsavec -target-feature -popcnt -target-feature -aes -target-feature -avx512bitalg -target-feature -movdiri -target-feature -xsaves -target-feature -avx512er -target-feature -avx512vnni -target-feature -avx512vpopcntdq -target-feature -pconfig -target-feature -clwb -target-feature -avx512f -target-feature -clzero -target-feature -pku -target-feature +mmx -target-feature -lwp -target-feature -rdpid -target-feature -xop -target-feature -rdseed -target-feature -waitpkg -target-feature -movdir64b -target-feature -sse4a -target-feature -avx512bw -target-feature -clflushopt -target-feature -xsave -target-feature -avx512vbmi2 -target-feature -avx512vl -target-feature -invpcid -target-feature -avx512cd -target-feature -avx -target-feature -vaes -target-feature -rtm -target-feature -fma -target-feature -bmi -target-feature -rdrnd -target-feature -mwaitx -target-feature -sse4.1 -target-feature -sse4.2 -target-feature -avx2 -target-feature -wbnoinvd -target-feature +sse -target-feature -lzcnt -target-feature -pclmul -target-feature -prefetchwt1 -target-feature -f16c -target-feature +ssse3 -target-feature -sgx -target-feature -shstk -target-feature +cmov -target-feature -avx512vbmi -target-feature -movbe -target-feature -xsaveopt -target-feature -avx512dq -target-feature -adx -target-feature -avx512pf -target-feature +sse3 My conclusion "Wrong code bug in llvm/clang". -- Steve From owner-freebsd-toolchain@freebsd.org Sun Feb 10 17:59:05 2019 Return-Path: Delivered-To: freebsd-toolchain@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 AFCE014D4448 for ; Sun, 10 Feb 2019 17:59:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 33B0F8911F; Sun, 10 Feb 2019 17:59:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1AHx3jF035593 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 10 Feb 2019 09:59:03 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1AHx23h035592; Sun, 10 Feb 2019 09:59:02 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Feb 2019 09:59:02 -0800 From: Steve Kargl To: Dimitry Andric Cc: freebsd-toolchain@freebsd.org Subject: Re: clang broken on current? Message-ID: <20190210175902.GA35569@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190210050003.GA31811@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 33B0F8911F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.87 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.875,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 17:59:05 -0000 On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: > On 10 Feb 2019, at 06:00, Steve Kargl wrote: > > > > If I add 'CFLAGS+=-march=native -mtune=native', I can build > > world and kernel without a problem. If I try to build > > x11-toolkits/qt5-gui the build dies with > > Might be related to https://bugs.llvm.org/show_bug.cgi?id=35678 -- Steve From owner-freebsd-toolchain@freebsd.org Sun Feb 10 18:46:58 2019 Return-Path: Delivered-To: freebsd-toolchain@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 2FAD214D64C1 for ; Sun, 10 Feb 2019 18:46:58 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AA9958B5E3; Sun, 10 Feb 2019 18:46:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1AIkuKJ035817 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 10 Feb 2019 10:46:56 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1AIkux9035816; Sun, 10 Feb 2019 10:46:56 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Feb 2019 10:46:56 -0800 From: Steve Kargl To: Dimitry Andric Cc: freebsd-toolchain@freebsd.org Subject: Re: clang broken on current? Message-ID: <20190210184656.GD35569@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190210050003.GA31811@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: AA9958B5E3 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.964,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 18:46:58 -0000 On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: > On 10 Feb 2019, at 06:00, Steve Kargl wrote: > > How did you arrive at the conclusion that this has anything to do with > the specific compiler? From these errors, I think it is more likely > something in Qt5 that is erroneously convinced that those qt_memfillXY > functions exist. Or they get referenced, but not compiled at all, for > some reason. > If I have "CFLAGS+= -march=i686 -mmmx -msse" in /etc/make.conf qt5-gui builds without issue. If I add -msse2 to CFLAGS, then the build dies. So, either clang is miscompiling qt5-gui with -mmse2 or the qt5-gui port is being too smart for its own good. -- Steve From owner-freebsd-toolchain@freebsd.org Sun Feb 10 19:13:21 2019 Return-Path: Delivered-To: freebsd-toolchain@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 1998214D741F for ; Sun, 10 Feb 2019 19:13:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-14.consmr.mail.bf2.yahoo.com (sonic310-14.consmr.mail.bf2.yahoo.com [74.6.135.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00D268C972 for ; Sun, 10 Feb 2019 19:13:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: QlPbCKkVM1l9enXIKnQFh6pk_Gurp7xEmHD5YBDrHj5HyDrziNdeLGY5Smkouh4 yWk8FYEuweS8zcHE4x1bTQeY_0c_3Gz_xPrw8SlZcDsE1Ze42L9NrTPFC9XtOnp4RlyzOQktl0sx TbdHLdI0jhV5a6Ry.lSmpgjHO.LLH2pF93nH9b2lOE.QRdbX32CkL53mRSzQ7MA4i47bm5WvLc_6 YMxctl2uOjZi0pJQ42o_Fq_gN2Jm_SYS_okDroATRhq2qPCvx_RixQMGxh4ZyQWkuZnjKv_8izOW YTrOeB2ElDeCwJwgBreK3m7m_63iW2EXwYd1Bw4IbAptn4bBx1ZG2kPqIxXgPolvHCOcpet.oS1p MEvs2W7_mu8I8dz7gvZq1HVjUWANXMC3Zn5RuDbnzJyUL6WY4RU5Gfn1j8edFlvsLMzHK1SAPewZ 4OR.Qu7WNNAjZDsrjvS68ANtOxOt1yFivTpqzDVlAS432ifcTEMB1jtIujR2CDpXpB6o4nApaKOm PKQ.BGt20FdsXjVIGh9qwJK_JGowGVA70wmggDFYmRsWnoCfDSoJ9sQJ.dVLxXFWaC88GBKdfEUU lY7Y1RUx7zh16Hpz8d3nNah0NnBdnMiIEYJb78Crg.hBgFXky4DhU3BSqS51S6eg9S2oIhymRxj5 IiKrfSXE6D0wwC6UPIPesuZeNYR42DQU1DIdFp2nVs75JtjOp.g30DjM4ndt1sTgB4uAYIJ_J4j7 vQzx6auitPgxhj9AKQ4CdwKbistvgkA0BdQF4.ETbEElJtQCSf78f8kREiSm39.oWlWayE_qSaHs s5MenLt3.ONLU9QzQjQeJRGov4U5GFmyfOO2ryKP9QUCdHB7emmNuVlaI.CZnE1hGSPDoG3y5p4J ds358PyofauItNYxMCqHgZgFle9Tppjw8lXeKFMmQsL0FmG6ZGsfYNS3XPuD44lz9GLBSTeKqau3 kPElA__eeVY0fqNrsBQq8Ys_n4DXNmeY4ypfD_d37W66jyhz03LMrssm2x1TET0CvQZKWBXWCs7b ouxp4L5sSvmpF2CcMcgP6T7LhVt3OEr0T.ObrBsbYOmuRO0lGixwZAVErBtYT1aTa3fjinLPsEYh vpUdDAiQhS0e.pqctxmd2FMU- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Sun, 10 Feb 2019 19:13:12 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4bbc5a3e182d1ba1d5be010873b2b604; Sun, 10 Feb 2019 19:13:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: clang broken on current? From: Mark Millard In-Reply-To: <20190210184656.GD35569@troutmask.apl.washington.edu> Date: Sun, 10 Feb 2019 11:13:09 -0800 Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 00D268C972 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.97)[0.974,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.23)[0.234,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.41)[0.412,0]; RCVD_IN_DNSWL_NONE(0.00)[124.135.6.74.list.dnswl.org : 127.0.5.0]; IP_SCORE(1.31)[ip: (4.16), ipnet: 74.6.128.0/21(1.37), asn: 26101(1.10), country: US(-0.07)] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 19:13:21 -0000 On 2019-Feb-10, at 10:46, Steve Kargl wrote: >=20 > On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: >> On 10 Feb 2019, at 06:00, Steve Kargl wrote: >>=20 >> How did you arrive at the conclusion that this has anything to do = with >> the specific compiler? =46rom these errors, I think it is more = likely >> something in Qt5 that is erroneously convinced that those = qt_memfillXY >> functions exist. Or they get referenced, but not compiled at all, = for >> some reason. >>=20 >=20 > If I have "CFLAGS+=3D -march=3Di686 -mmmx -msse" in /etc/make.conf > qt5-gui builds without issue. If I add -msse2 to CFLAGS, then > the build dies. >=20 > So, either clang is miscompiling qt5-gui with -mmse2 or the > qt5-gui port is being too smart for its own good. That lead to an old memory of getting results like ((armv6 time frame I think, before the armv7 addition to FreeBSD): image/qimage.cpp:(.text+0x1e14): undefined reference to = `qt_memfill32(unsigned int*, unsigned int, int)' image/qimage.cpp:(.text+0x1f34): undefined reference to = `qt_memfill32(unsigned int*, unsigned int, int)' where it turned out that arm NEON was not supported by various parts of qt5. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216816 There is some more explicit error message text in the closed duplicate: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217278 qt5-webkit produced an error message: alpha2/Source/JavaScriptCore/assembler/MacroAssemblerARM.h:33: = /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/Java= ScriptCore/assembler/ARMAssembler.h:1132:2: error: "The cacheFlush = support is missing on this platform." #error "The cacheFlush support is missing on this platform." ^ 1 error generated. Eventually patch(s) enabled arm NEON support and the problem disappeared. This suggests that that things missing in your context were simply never built, due to qt5 not having the the matching optimized code for the mode --or at least no building it. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Feb 10 19:24:37 2019 Return-Path: Delivered-To: freebsd-toolchain@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 7972A14D8133 for ; Sun, 10 Feb 2019 19:24:37 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0085B8D2AD; Sun, 10 Feb 2019 19:24:34 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1AJOWDL035982 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 10 Feb 2019 11:24:33 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1AJOWwA035981; Sun, 10 Feb 2019 11:24:32 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Feb 2019 11:24:32 -0800 From: Steve Kargl To: Mark Millard Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Subject: Re: clang broken on current? Message-ID: <20190210192432.GA35876@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 0085B8D2AD X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.52 / 15.00]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; TO_DN_SOME(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.11)[ip: (0.23), ipnet: 128.95.0.0/16(0.29), asn: 73(0.08), country: US(-0.07)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.84)[0.838,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.36)[0.357,0]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.53)[0.533,0]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 19:24:37 -0000 On Sun, Feb 10, 2019 at 11:13:09AM -0800, Mark Millard wrote: > > On 2019-Feb-10, at 10:46, Steve Kargl wrote: > > > > On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: > >> On 10 Feb 2019, at 06:00, Steve Kargl wrote: > >> > >> How did you arrive at the conclusion that this has anything to do with > >> the specific compiler? From these errors, I think it is more likely > >> something in Qt5 that is erroneously convinced that those qt_memfillXY > >> functions exist. Or they get referenced, but not compiled at all, for > >> some reason. > >> > > > > If I have "CFLAGS+= -march=i686 -mmmx -msse" in /etc/make.conf > > qt5-gui builds without issue. If I add -msse2 to CFLAGS, then > > the build dies. > > > > So, either clang is miscompiling qt5-gui with -mmse2 or the > > qt5-gui port is being too smart for its own good. > > That lead to an old memory of getting results like ((armv6 > time frame I think, before the armv7 addition to FreeBSD): > > image/qimage.cpp:(.text+0x1e14): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' > image/qimage.cpp:(.text+0x1f34): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' > > where it turned out that arm NEON was not supported by various > parts of qt5. > It is definitely some problem between clang and the qt5-gui port. It seems qt5-gui tries to auto-detect sse2. Don't know if qt5-gui has a bogus auto-detect code, clang miscompiles the auto-detect code, or FreeBSD is lying about the features of my cpu (although x86info says it found sse2). In poking around the qt5-gui sources, I found that configure can be given a -sse2 argument. I tried to force sse2, but I'm seeing qt5-gui is doing % find qtbase-everywhere-src-5.12.0 -name config.\* | xargs grep -i sse2 qtbase-everywhere-src-5.12.0/config.log:Command line: -no-eglfs -sse2 -no-evdev -no-libudev -system-harfbuzz -c++std c++14 -opensource -confirm-license -no-pch -prefix /usr/local -bindir /usr/local/lib/qt5/bin -headerdir /usr/local/include/qt5 -libdir /usr/local/lib/qt5 -plugindir /usr/local/lib/qt5/plugins -importdir /usr/local/lib/qt5/imports -datadir /usr/local/share/qt5 -docdir /usr/local/share/doc/qt5 -translationdir /usr/local/share/qt5/translations -sysconfdir /usr/local/etc/xdg -nomake examples -nomake tests -platform freebsd-clang -archdatadir /usr/local/lib/qt5 -libexecdir /usr/local/libexec/qt5 -qmldir /usr/local/lib/qt5/qml -examplesdir /usr/local/share/examples/qt5 -testsdir /usr/local/share/qt5/tests -no-sse2 -no-use-gold-linker -recheck-all -release -no-separate-debug-info qtbase-everywhere-src-5.12.0/config.opt:-sse2 qtbase-everywhere-src-5.12.0/config.opt:-no-sse2 Note my -sse2 is followed by a -no-sse2! -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow From owner-freebsd-toolchain@freebsd.org Sun Feb 10 19:34:12 2019 Return-Path: Delivered-To: freebsd-toolchain@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 5BD1014D8ECA for ; Sun, 10 Feb 2019 19:34:12 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C0C48DA9D; Sun, 10 Feb 2019 19:34:11 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1AJY9mF036012 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 10 Feb 2019 11:34:10 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1AJY9hE036011; Sun, 10 Feb 2019 11:34:09 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Feb 2019 11:34:09 -0800 From: Steve Kargl To: Mark Millard Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Subject: Re: clang broken on current? Message-ID: <20190210193409.GA35990@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 9C0C48DA9D X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.47 / 15.00]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; TO_DN_SOME(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.11)[ip: (0.23), ipnet: 128.95.0.0/16(0.29), asn: 73(0.08), country: US(-0.07)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.88)[0.883,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.41)[0.413,0]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.38)[0.381,0]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 19:34:12 -0000 Having set CFLAGS+=-march=native -mtune=native and trying to force qt5-gui configure with -sse2 option, I have a config.summary that contains (my in-line comments ***) Build type: freebsd-clang (i386, CPU features: ) *** What????? *** Compiler: clang 7.0.1 Configuration: compile_examples largefile rdrnd x86SimdAlways sharedr rpath release c++11 c++14 concurrent dbus reduce_exports reduce_relocations stl Build options: Mode ................................... release Optimize release build for size ........ no Building shared libraries .............. yes Using C standard ....................... C11 Using C++ standard ..................... C++14 Using ccache ........................... no Using gold linker ...................... no Using precompiled headers .............. no Using LTCG ............................. no Target compiler supports: SSE .................................. *** That's not good. *** AVX .................................. AVX512 ............................... Other x86 ............................ RDRAND Intrinsics without -mXXX option ...... yes Build parts ............................ libs tools -- Steve From owner-freebsd-toolchain@freebsd.org Sun Feb 10 19:36:50 2019 Return-Path: Delivered-To: freebsd-toolchain@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 AEB5D14D8FD6 for ; Sun, 10 Feb 2019 19:36:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E2878DB99 for ; Sun, 10 Feb 2019 19:36:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 5z5XLV8VM1ldyYij46f2IjWkOdTS2bmyA8i9m9sijNere4q8a0HgE8mJjHLg7M0 bMbdEMvONikg6TrHZx3HZwhmklUEJglQa8nc4Y.yKfgzdgGrQTpqrnu5uTWv.H2Zgxo_RGyWOUD5 w_kp8ez3svh22O01Xi6AFbqEuJx6rIe44PU56vNaiTHp0VVWERXLmyoLZ3OguQPFfrVkMGfSwQJT x2Rpje55scUSfGMdfD9cA2w7K2bT9KBoEL515ksSJuCehq3S7ETnWLdcgFtTSf3bxkPI_AQOJTa2 _yBAK.b5RQUGDZvI_XRNGFFzWbe02VIb9vcELaOffGdJuLuX7vVjRuWa5rWOUSOcTX2soSRqiGLR zRkPmUY.lHeH95nQSQgDIP9GCXEAS47QUcfbsYrQY3rmrUN3qZj.pZMlJzK6LAv2kngGxQjZhSzT dCGB2d78xlzFFW5lVN86j5xeqqmDZjDzkqj9m9cbXmKLoLVTcXQ4pweGaWZWxhoURpl9M1W3BUFD oYVdMlJFGlGLVa.bMLXb81SgTIZisKO4duCOMgzwChqrDus3XRp_735eZs8T7utku.GXAAoLca2C HqrZkM6qHVAcdRJrXhu4XbfJO7.AIZvWMufqVbRSXEsy6YdkLnzlBr0ZdxNBqDEmf9pK7DcPQ5DC yhP.AXnJoPdBXWeJTDil7F3f2L1oaCfSy.7a9S5esHI1h9Y0IePjHyeV.SLLMpJ.15Jw584HXpep ylNhdjqKlSvQwGcuwmdGehFRKGSn1e_2LWTqYWcL4doHIV9v1FI.d1UbAI41FZ4fy0y.JPnhmIux g3wJEKGZMRVrjsAt2RNavuhKpBwAOxrVPU9fc4y2LR6kyzmQOSiF_MJJgIU8Vp_NtOcF354nlZ8y gSVSh7XpBHG05pzU37kw4q796x913SAK75XLEwx7s1OZHUKST_BtcdCTdjVXXPFVZPeu_EttvZBC gbpl7vWuUeFopTfLD0Ag_eUve0fGhX8f8ILbd3__AYhckst2qP9d_C_255bW7k6l4hgnJ6g7Wfd9 B34xrqSckeEJCNEx1i1FC.ySiIt2e50bEDAiOpMVouUb4YzAspzW2YLhSTduI3LIkEE04 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sun, 10 Feb 2019 19:36:47 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp428.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f1ae942db96a70c5c1ee6b4ce9791412; Sun, 10 Feb 2019 19:36:42 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: clang broken on current? From: Mark Millard In-Reply-To: <20190210192432.GA35876@troutmask.apl.washington.edu> Date: Sun, 10 Feb 2019 11:36:42 -0800 Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <83DCFB59-224E-4D14-8593-44496044B80D@yahoo.com> References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> <20190210192432.GA35876@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 6E2878DB99 X-Spamd-Bar: / X-Spamd-Result: default: False [0.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.58)[-0.578,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.91)[0.908,0]; NEURAL_HAM_LONG(-0.78)[-0.784,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.77)[ip: (2.66), ipnet: 98.137.64.0/21(0.71), asn: 36647(0.57), country: US(-0.07)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[83.68.137.98.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 19:36:50 -0000 On 2019-Feb-10, at 11:24, Steve Kargl wrote: > On Sun, Feb 10, 2019 at 11:13:09AM -0800, Mark Millard wrote: >>=20 >> On 2019-Feb-10, at 10:46, Steve Kargl wrote: >>>=20 >>> On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: >>>> On 10 Feb 2019, at 06:00, Steve Kargl wrote: >>>>=20 >>>> How did you arrive at the conclusion that this has anything to do = with >>>> the specific compiler? =46rom these errors, I think it is more = likely >>>> something in Qt5 that is erroneously convinced that those = qt_memfillXY >>>> functions exist. Or they get referenced, but not compiled at all, = for >>>> some reason. >>>>=20 >>>=20 >>> If I have "CFLAGS+=3D -march=3Di686 -mmmx -msse" in /etc/make.conf >>> qt5-gui builds without issue. If I add -msse2 to CFLAGS, then >>> the build dies. >>>=20 >>> So, either clang is miscompiling qt5-gui with -mmse2 or the >>> qt5-gui port is being too smart for its own good. >>=20 >> That lead to an old memory of getting results like ((armv6 >> time frame I think, before the armv7 addition to FreeBSD): >>=20 >> image/qimage.cpp:(.text+0x1e14): undefined reference to = `qt_memfill32(unsigned int*, unsigned int, int)' >> image/qimage.cpp:(.text+0x1f34): undefined reference to = `qt_memfill32(unsigned int*, unsigned int, int)' >>=20 >> where it turned out that arm NEON was not supported by various >> parts of qt5. >>=20 >=20 > It is definitely some problem between clang and the qt5-gui > port. It seems qt5-gui tries to auto-detect sse2. Don't > know if qt5-gui has a bogus auto-detect code, clang miscompiles > the auto-detect code, or FreeBSD is lying about the features > of my cpu (although x86info says it found sse2). In poking > around the qt5-gui sources, I found that configure can be=20 > given a -sse2 argument. I tried to force sse2, but I'm seeing > qt5-gui is doing >=20 > % find qtbase-everywhere-src-5.12.0 -name config.\* | xargs grep -i = sse2 > qtbase-everywhere-src-5.12.0/config.log:Command line: -no-eglfs -sse2 = -no-evdev -no-libudev -system-harfbuzz -c++std c++14 -opensource = -confirm-license -no-pch -prefix /usr/local -bindir = /usr/local/lib/qt5/bin -headerdir /usr/local/include/qt5 -libdir = /usr/local/lib/qt5 -plugindir /usr/local/lib/qt5/plugins -importdir = /usr/local/lib/qt5/imports -datadir /usr/local/share/qt5 -docdir = /usr/local/share/doc/qt5 -translationdir = /usr/local/share/qt5/translations -sysconfdir /usr/local/etc/xdg -nomake = examples -nomake tests -platform freebsd-clang -archdatadir = /usr/local/lib/qt5 -libexecdir /usr/local/libexec/qt5 -qmldir = /usr/local/lib/qt5/qml -examplesdir /usr/local/share/examples/qt5 = -testsdir /usr/local/share/qt5/tests -no-sse2 -no-use-gold-linker = -recheck-all -release -no-separate-debug-info > qtbase-everywhere-src-5.12.0/config.opt:-sse2 > qtbase-everywhere-src-5.12.0/config.opt:-no-sse2 >=20 > Note my -sse2 is followed by a -no-sse2! FYI: from the "24 May 2015 16:41:17" check in description: Qt 5.3 removed runtime detection of SSE2 so it needs to be configured with -no-sse2 at buildtime on i386. PR: 198738, 200258 Reported by: sasamotikomi@gmail.com Approved by: maintainer timeout (2 weeks) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Feb 10 20:23:09 2019 Return-Path: Delivered-To: freebsd-toolchain@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 C2B9014DA47B for ; Sun, 10 Feb 2019 20:23:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EA108F9E1 for ; Sun, 10 Feb 2019 20:23:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 7YKvyOwVM1nb1gMPhU5sPtmMeJ67D6CVl5_Ek1P33wYwe1_svqTcKtW0oo47LGG UkgtzylIuKNH0Ug3aIxMy5QIlXtuiaXoP7.JkpDfT8W1LKCjvjyitW1G2Xwyt.YE30E1SITJG6Yf EMNAV3B76RZKbVfDYrR61jJe3aczNKBWfz4hnolHIoQJtB4Y7_Q7CBm2CTyTEJapZwfNg9v0sD81 HYTzUTSxUWIJmxgnP.RG.55mgiZqumfHKNAzGnFLidkMpIOkIjWlxOsQWESaGSHtDavuXLw1_WWT PoY2JKp0oUHAE6PnOCumVMULZ1ozB_XLHAPzRsIwa3terxo3ztWDix_G9BFWxaEePQ4Vx06l_pDl jv94qrYNYR43aJFlAeYoGFZou0gCK.4IGMGlC04KagUeBoO7pIbfCwVpkDLaL3DahYcMfFplTA6s m9irrOCGip8.5RZRPhP3K3Js_b.vFiAq1zPYam6KzQngd2Ok0CoqgMJU0pzVelVygDXWtUGU4VeU IGgMZdJFjhgcTdU3B.FhQM0kE1Lk33CMYxhvqeBEr00ulGj.MnDaB.sMq_Ghazyx0h6J8CjFL5Q5 H6bAm9XMpZIFhyu_JRdMpk99fuk.fGQ1684sV04NtV1Su8V74AjVq2eTpiREN9kO7ewKZoFh2LaX 7ROJk5ii8jMXixzNXWbDMOi7ehm2ObNkSEiUIBPajl5eoL5hT0Ym8vRs7T99IeNYnqZEfQSDqRkZ YrGTg6yK_mW_P1OShJcndkEHYoA5_QH3HhSJ7GuVVlcgGkgl8W0gUBvUAWrU3cpngJ1UvPz_cxxl HIAv4vI0QZifemMBLZY4w8zwMK5TFhP84zp86T2nPxY04LXhW.57FMGQs9COrVdPRC3XBhNA6QWd sTZXXe7kh3srGwstDY5VzxbORIrQEQgNZyaZCFOUNd.UiJZ2RmhloAgyp_di1.Dt_0k8liIcCoCn bdnl_.0D4COdbH43JVMJZdQROPXHBEd2m5W8A7yEmUiuLOQTS_.hK.carCIYOibMqV77cikr.HuB u7zfEsVhV2cVo9GBHXQLALzBR7I4GCeXuV5Wnj2SqAJOCqqjXZh77lvseA7I- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Sun, 10 Feb 2019 20:23:01 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp409.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a97753932ba3c2842ff49f4318e1b74a; Sun, 10 Feb 2019 20:02:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: clang broken on current? From: Mark Millard In-Reply-To: <20190210193409.GA35990@troutmask.apl.washington.edu> Date: Sun, 10 Feb 2019 12:02:45 -0800 Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3357E34B-D91C-4197-86F0-9058C343CAC7@yahoo.com> References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> <20190210193409.GA35990@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 7EA108F9E1 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.961,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.17)[0.166,0]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.24)[ipnet: 98.137.64.0/21(0.71), asn: 36647(0.57), country: US(-0.07)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[31.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 20:23:10 -0000 On 2019-Feb-10, at 11:34, Steve Kargl wrote: > Having set CFLAGS+=3D-march=3Dnative -mtune=3Dnative and trying to > force qt5-gui configure with -sse2 option, I have a config.summary > that contains (my in-line comments ***) >=20 > Build type: freebsd-clang (i386, CPU features: ) >=20 > *** What????? *** >=20 > Compiler: clang 7.0.1 > Configuration: compile_examples largefile rdrnd x86SimdAlways sharedr > rpath release c++11 c++14 concurrent dbus reduce_exports = reduce_relocations > stl > Build options: > Mode ................................... release > Optimize release build for size ........ no > Building shared libraries .............. yes > Using C standard ....................... C11 > Using C++ standard ..................... C++14 > Using ccache ........................... no > Using gold linker ...................... no > Using precompiled headers .............. no > Using LTCG ............................. no > Target compiler supports: > SSE .................................. >=20 > *** That's not good. *** >=20 > AVX .................................. > AVX512 ............................... > Other x86 ............................ RDRAND > Intrinsics without -mXXX option ...... yes > Build parts ............................ libs tools /usr/ports/Mk/Uses/qt-dist.mk has: =20 . if ${ARCH} =3D=3D i386 && empty(MACHINE_CPU:Msse2) CONFIGURE_ARGS+=3D -no-sse2 . endif This traces back to: /usr/src/share/mk/bsd.cpu.mk and its: . elif ${MACHINE_CPUARCH} =3D=3D "amd64" MACHINE_CPU =3D amd64 sse2 sse mmx . elif ${MACHINE_CPUARCH} =3D=3D "arm" MACHINE_CPU =3D arm . elif ${MACHINE_CPUARCH} =3D=3D "i386" MACHINE_CPU =3D i486 and (I'll not list it all): ########## i386 . if ${MACHINE_CPUARCH} =3D=3D "i386" . if ${CPUTYPE} =3D=3D "znver1" MACHINE_CPU =3D avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 = i586 . elif ${CPUTYPE} =3D=3D "bdver4" MACHINE_CPU =3D xop avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx = k6 k5 i586 . elif ${CPUTYPE} =3D=3D "bdver3" || ${CPUTYPE} =3D=3D "bdver2" || \ ${CPUTYPE} =3D=3D "bdver1" MACHINE_CPU =3D xop avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 = i586 . elif ${CPUTYPE} =3D=3D "btver2" MACHINE_CPU =3D avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 . elif ${CPUTYPE} =3D=3D "btver1" MACHINE_CPU =3D ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 . elif ${CPUTYPE} =3D=3D "amdfam10" MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse4a sse3 sse2 sse mmx k6 k5 = i586 . elif ${CPUTYPE} =3D=3D "opteron-sse3" || ${CPUTYPE} =3D=3D = "athlon64-sse3" MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse3 sse2 sse mmx k6 k5 i586 . elif ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64" || \ . . . and: ########## amd64 . elif ${MACHINE_CPUARCH} =3D=3D "amd64" . if ${CPUTYPE} =3D=3D "znver1" MACHINE_CPU =3D avx2 avx sse42 sse41 ssse3 sse4a sse3 . . . . endif MACHINE_CPU +=3D amd64 sse2 sse mmx ########## Mips . elif ${MACHINE_CPUARCH} =3D=3D "mips" So it looks like freeBSD expects CPUTYPE to be set for i368 in order to enable sse2 in MACHINE_CPU . Other things have a similar status for amd64 but amd64 always has sse2 . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Feb 10 21:52:40 2019 Return-Path: Delivered-To: freebsd-toolchain@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 E96A214DE6F3 for ; Sun, 10 Feb 2019 21:52:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-32.consmr.mail.ne1.yahoo.com (sonic301-32.consmr.mail.ne1.yahoo.com [66.163.184.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 634CB6E0F0 for ; Sun, 10 Feb 2019 21:52:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: k8mwkuwVM1m9GHHolAWYY91l769GxbRL8f8ZuVfaRL7CAzZKjZEpkqAlweZCL28 hwkRuknTKxT5Mq.L3HAivokT5OMDVhJQg8yfFRn2jItBsE5XAaj5OMplMe6LvUsHoocHjC1wg8j. wEfQu5.LDxpwzxnLcwPZ2B9GyIKFDMXXVyPcwLSTuHOQqPyHaR8xkGY.PsncnZY3FVDz484RRsPP HCTW3N8uaBzxtraYXbeUXex35xk3AB9cJ__dZtS8vCgs.0L_BtPZifRSwCXhv2PrJzakZ53P5ay2 EJXQR2Um98O_6Zt3h0o_nYMuM8WBPcjh1aTtg_TjWxWYlJJk3qU.cgDBIO1umXS8EFWdfazw58Fl NUC5CKk7byOv_P7qzlzroB5VaiHDlAlBbeRbbQVBYnPV5m0cfbvdXQ3xdvAcy4E9GoUnAfel.fAb rgIv3T2rLqjVS9822Mi1YaQl6oeQJIKqNKPeMK3PIuBtjN.ylD3tNrkXv9IlesW7ApMxKUjeCV7C _a19xMlSi3dIvkzTHpz3gmXiZFOCKusHwIHqfSiTX9x4agO3ojjt8NG1S.tG40RWu8KVrewRlEy_ ZX00P1_uPaRb_6a3.gHAD2guza1fFZMw.y3S07qBwtO2G9mU0Hqm8Jriw2it0Pnu.oLE7.TDwIX_ bD3GoFs9xAguM6V3EAvRpWsGVCKMtNQB1.cBP7sf5Pe2P5zxo8pyurE4VdSiNkeDpqGYH1dwk0l. TLceWJynG2MLT4SMpn7SyJPYJ22WhvsXf00gw5dnKLrZOZlxKUVgmoy.qAZpnBf4PnviTR007FzQ C2ncD.lvngPHEfVJAMDGEM8ipNvs4pZ7qHq.lVpVkx_1v6yLOLwBnBzH3PSKGNEtdebgITZ1VFdy Ofw5hSoq.vLYDUetw1vUE_2f6wFJxHV.V3vjfqsRdu2eSq1qKXML_QYAkwgsT0cgR1WfMwmyHdl5 vyQB4BZ7bmIkw98PiLmnAwIWpzmzDptiFWkpf6Y2qsg3165vMOtTaaJvLOGK_u5c_anW2EVI4Wzd dkDyR7Fab767_rFHb9hrKWi_Rin.fbbTo3RS3Bv8blIhvfFXb8KmQrES5Ycv3sg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sun, 10 Feb 2019 21:52:31 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp429.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fea983a0a25db40db3f6d1af6b6b4aa5; Sun, 10 Feb 2019 21:52:25 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: clang broken on current? From: Mark Millard In-Reply-To: <3357E34B-D91C-4197-86F0-9058C343CAC7@yahoo.com> Date: Sun, 10 Feb 2019 13:52:24 -0800 Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <730656BB-9E5C-4144-A3DA-9CACECB0E4F5@yahoo.com> References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> <20190210193409.GA35990@troutmask.apl.washington.edu> <3357E34B-D91C-4197-86F0-9058C343CAC7@yahoo.com> To: Steve Kargl X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 634CB6E0F0 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.94)[0.939,0]; NEURAL_HAM_LONG(-0.10)[-0.098,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.15)[0.148,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[201.184.163.66.list.dnswl.org : 127.0.5.0]; IP_SCORE(1.08)[ip: (3.52), ipnet: 66.163.184.0/21(1.09), asn: 36646(0.87), country: US(-0.07)] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 21:52:40 -0000 On 2019-Feb-10, at 12:02, Mark Millard wrote: > On 2019-Feb-10, at 11:34, Steve Kargl wrote: >=20 >> Having set CFLAGS+=3D-march=3Dnative -mtune=3Dnative and trying to >> force qt5-gui configure with -sse2 option, I have a config.summary >> that contains (my in-line comments ***) >>=20 >> Build type: freebsd-clang (i386, CPU features: ) >>=20 >> *** What????? *** >>=20 >> Compiler: clang 7.0.1 >> Configuration: compile_examples largefile rdrnd x86SimdAlways sharedr >> rpath release c++11 c++14 concurrent dbus reduce_exports = reduce_relocations >> stl >> Build options: >> Mode ................................... release >> Optimize release build for size ........ no >> Building shared libraries .............. yes >> Using C standard ....................... C11 >> Using C++ standard ..................... C++14 >> Using ccache ........................... no >> Using gold linker ...................... no >> Using precompiled headers .............. no >> Using LTCG ............................. no >> Target compiler supports: >> SSE .................................. >>=20 >> *** That's not good. *** >>=20 >> AVX .................................. >> AVX512 ............................... >> Other x86 ............................ RDRAND >> Intrinsics without -mXXX option ...... yes >> Build parts ............................ libs tools >=20 >=20 > /usr/ports/Mk/Uses/qt-dist.mk has: >=20 > . if ${ARCH} =3D=3D i386 && empty(MACHINE_CPU:Msse2) > CONFIGURE_ARGS+=3D -no-sse2 > . endif >=20 > This traces back to: >=20 > /usr/src/share/mk/bsd.cpu.mk and its: >=20 > . elif ${MACHINE_CPUARCH} =3D=3D "amd64" > MACHINE_CPU =3D amd64 sse2 sse mmx > . elif ${MACHINE_CPUARCH} =3D=3D "arm" > MACHINE_CPU =3D arm > . elif ${MACHINE_CPUARCH} =3D=3D "i386" > MACHINE_CPU =3D i486 >=20 > and (I'll not list it all): >=20 > ########## i386 > . if ${MACHINE_CPUARCH} =3D=3D "i386" > . if ${CPUTYPE} =3D=3D "znver1" > MACHINE_CPU =3D avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 = k5 i586 > . elif ${CPUTYPE} =3D=3D "bdver4" > MACHINE_CPU =3D xop avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx = k6 k5 i586 > . elif ${CPUTYPE} =3D=3D "bdver3" || ${CPUTYPE} =3D=3D "bdver2" || \ > ${CPUTYPE} =3D=3D "bdver1" > MACHINE_CPU =3D xop avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 = k5 i586 > . elif ${CPUTYPE} =3D=3D "btver2" > MACHINE_CPU =3D avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 = i586 > . elif ${CPUTYPE} =3D=3D "btver1" > MACHINE_CPU =3D ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 > . elif ${CPUTYPE} =3D=3D "amdfam10" > MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse4a sse3 sse2 sse mmx k6 = k5 i586 > . elif ${CPUTYPE} =3D=3D "opteron-sse3" || ${CPUTYPE} =3D=3D = "athlon64-sse3" > MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse3 sse2 sse mmx k6 k5 i586 > . elif ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64" || = \ >=20 > . . . >=20 > and: >=20 > ########## amd64 > . elif ${MACHINE_CPUARCH} =3D=3D "amd64" > . if ${CPUTYPE} =3D=3D "znver1" > MACHINE_CPU =3D avx2 avx sse42 sse41 ssse3 sse4a sse3 > . . . > . endif > MACHINE_CPU +=3D amd64 sse2 sse mmx > ########## Mips > . elif ${MACHINE_CPUARCH} =3D=3D "mips" >=20 >=20 > So it looks like freeBSD expects CPUTYPE to be set for i368 in order > to enable sse2 in MACHINE_CPU . Other things have a similar status > for amd64 but amd64 always has sse2 . >=20 [I see I switched which message that I was replying to. Sorry.] Looks like when native works and clang is in use, and the context is amd64 (or i386), CPUTYPE could be generated by the likes of (example from my amd64 context): # sh -c "clang -v -fsyntax-only -march=3Dnative -x c /dev/null 2>&1 | = grep -e '-target-cpu' | sed -e 's|.*-target-cpu \([[:alnum:]]*\) = .*|\1|'" znver1 (I got that command from = https://forums.freebsd.org/threads/make-conf-optimizations-optimizing-buil= ds.63461/ .) Trying such on a cortex-a57 (aarch64) got an empty-string result. Same for cortex-a53 (aarch64) and cortex-a7 (armv7). (I do not have a powerpc* available at the moment.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Mon Feb 11 11:09:33 2019 Return-Path: Delivered-To: freebsd-toolchain@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 8E46814D29D3 for ; Mon, 11 Feb 2019 11:09:33 +0000 (UTC) (envelope-from bantaplan@outlook.de) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03olkn081e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe08::81e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0BB48F44B for ; Mon, 11 Feb 2019 11:09:31 +0000 (UTC) (envelope-from bantaplan@outlook.de) Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (10.152.20.55) by DB5EUR03HT068.eop-EUR03.prod.protection.outlook.com (10.152.20.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Mon, 11 Feb 2019 11:09:29 +0000 Received: from VI1PR02MB4671.eurprd02.prod.outlook.com (10.152.20.52) by DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17 via Frontend Transport; Mon, 11 Feb 2019 11:09:29 +0000 Received: from VI1PR02MB4671.eurprd02.prod.outlook.com ([fe80::f1ec:a0c:fd8b:cc3a]) by VI1PR02MB4671.eurprd02.prod.outlook.com ([fe80::f1ec:a0c:fd8b:cc3a%2]) with mapi id 15.20.1601.023; Mon, 11 Feb 2019 11:09:29 +0000 From: Banta Plan To: "freebsd-toolchain@freebsd.org" Subject: Problem with mutex.lock() Thread-Topic: Problem with mutex.lock() Thread-Index: AQHUwfgz9QChoVgfc0KZ3a7CUeHDCg== Date: Mon, 11 Feb 2019 11:09:29 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:B2AFC5BECDFD423DA0E182D84BC8A3DB52832E4EA8AE3A7D290A07FEC4426B7D; UpperCasedChecksum:D2FBD39E5E541AA93C60AF853FA960FC2ECB079D72B85A947132DEA1596984CC; SizeAsReceived:6736; Count:42 x-tmn: [XRa6blFE8VBKRspm3nbjLMknkuq3ZLs+] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5EUR03HT068; 6:PN3GqINZRrvnXtkbA8qFQjGZ8UEwtOaPEwiD51Ymx3tZ75xEaFCI09KMOWHPkL+lHnrdXS1ixVA05sn03C2guZzepn7oRCLJV0dckLthYBQTw7FH+WXk72ZWLYpuneSfent2F3P/X5fmPS6ldRAiyKsE9lSFzoRL17jpjnr12HqQBQqjeDe6Y/dCCD6lwQ7KJ2EA3/EgkASilGBoCTjz7F3q6KD22oJGxRYejPBW/4kvzq2B1/tjrcRaP1AifkUB8bzY2vdkW3a8S7w3ERWsePg4/1d8AECw5UbGpEyZjO1O/0wZUohPVwHtWFOfH2rPU6QwuGlDgrOBHjg8xpKJcidNkHpibqjsyU3eqA/GSpn1pfaCod4qMpZi0/nGeWhQOzw9HWV375zPo5WVw676OhSwNEj7wJx44yAjweEzydaiP1hZVZrHlfvTlNcFYV52ER9GaS4tkuy8Zs/jojPvJg==; 5:OJ0SPL4z7yi2XippQHJhcuj3hG05m2eGPLikI42MkLeWRKGF93fYRAdUx2No9blI1pD/bp+QuWZql2iZZJm+mDCl15Y+zsFDTshycO6VEzBs1q/FOGG14ERCSIMWqRJPTeBpt3nDUZIAbfKCrOz3Cs0Tx59pOYJDqn5g1v+B+1h5hRtrcBTD9Sh6KXLJei9PORLTFCeCczsQvliNi784Dg==; 7:m9YzF6Z0LInGP3oPWqkmQ97c0hQFFmpcTCG57WVEyoDXMyQfjT+gQ9CjZUCUnud4nAnQnu26OtAFKQ75VgmlGjuj7jYwMk0eMTNXmGMAgIN9F9YDzPzD1wWO26Xl9/NKRk5r1HxdRphOvhXxfrYs0A== x-incomingheadercount: 42 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(20181119070)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(9118020)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:DB5EUR03HT068; x-ms-traffictypediagnostic: DB5EUR03HT068: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:DB5EUR03HT068; BCL:0; PCL:0; RULEID:; SRVR:DB5EUR03HT068; x-microsoft-antispam-message-info: H8+zCMmkw15Fa9KaiNvCOz+IM+XbfTztvj1gShyuax0Az1gAW/QXbctwOfs1RJz0 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: 566ca168-3dbd-4884-35ce-08d6901164a8 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2019 11:09:29.6442 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT068 X-Rspamd-Queue-Id: C0BB48F44B X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of bantaplan@outlook.de designates 2a01:111:f400:fe08::81e as permitted sender) smtp.mailfrom=bantaplan@outlook.de X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[outlook.de]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[outlook.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[eur.olc.protection.outlook.com,eur.olc.protection.outlook.com]; NEURAL_HAM_SHORT(-0.78)[-0.783,0]; RCVD_IN_DNSWL_NONE(0.00)[e.1.8.0.0.0.0.0.0.0.0.0.0.0.0.0.8.0.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(-1.01)[ipnet: 2a01:111:f000::/36(-2.69), asn: 8075(-2.30), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[outlook.de]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MIME_TRACE(0.00)[0:+,1:+] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 11:09:33 -0000 I compiled this program and it crashes if executed. Compiled with: FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) = (based on LLVM 6.0.1) ## CMakeLists.txt cmake_minimum_required(VERSION 3.13) project(mainP) set(CMAKE_CXX_STANDARD 17) add_executable(mainP main.cpp) find_package(Threads) target_link_libraries(mainP ${CMAKE_THREAD_LIBS_INIT}) ## main.cpp #include #include #include #include #include int main() { using namespace std::chrono_literals; std::mutex m; m.lock(); std::thread([&] { std::cout << "Before sleepFor" << std::endl; std::this_thread::sleep_for(2s); std::cout << "Before unlock" << std::endl; m.unlock(); std::cout << "After unlock" << std::endl; }).detach(); std::cout << "Before lock2" << std::endl; m.lock(); std::cout << "After lock2" << std::endl; return 0; } ## This program compiles and runs under MacOS (Clang Version: Apple LLVM versi= on 10.0.0 (clang-1000.11.45.5)) and manjaro arm64 with gcc (GCC) 8.2.1 20180831 From owner-freebsd-toolchain@freebsd.org Mon Feb 11 12:10:12 2019 Return-Path: Delivered-To: freebsd-toolchain@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 4010214D4EB4 for ; Mon, 11 Feb 2019 12:10:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C6F46ABF5 for ; Mon, 11 Feb 2019 12:10:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x1BC9x9w011357 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 Feb 2019 14:10:02 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x1BC9x9w011357 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x1BC9xTw011356; Mon, 11 Feb 2019 14:09:59 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 11 Feb 2019 14:09:59 +0200 From: Konstantin Belousov To: Banta Plan Cc: "freebsd-toolchain@freebsd.org" Subject: Re: Problem with mutex.lock() Message-ID: <20190211120959.GY24863@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 12:10:12 -0000 On Mon, Feb 11, 2019 at 11:09:29AM +0000, Banta Plan wrote: > I compiled this program and it crashes if executed. > > Compiled with: FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) > > ## CMakeLists.txt > cmake_minimum_required(VERSION 3.13) > project(mainP) > > set(CMAKE_CXX_STANDARD 17) > > add_executable(mainP main.cpp) > > find_package(Threads) > target_link_libraries(mainP ${CMAKE_THREAD_LIBS_INIT}) > > ## main.cpp > > #include > #include > #include > #include > #include > > int main() { > using namespace std::chrono_literals; > std::mutex m; > m.lock(); > std::thread([&] { > std::cout << "Before sleepFor" << std::endl; > std::this_thread::sleep_for(2s); > > std::cout << "Before unlock" << std::endl; > m.unlock(); This unlock is performed on the mutex that the calling thread does not hold the lock on. The behaviour for such case is undefined, from my reading of C++17 std. FreeBSD pthread mutexes check this condition. > std::cout << "After unlock" << std::endl; > > }).detach(); > std::cout << "Before lock2" << std::endl; > m.lock(); > std::cout << "After lock2" << std::endl; > > return 0; > } > ## > > This program compiles and runs under MacOS (Clang Version: Apple LLVM version 10.0.0 (clang-1000.11.45.5)) and > manjaro arm64 with gcc (GCC) 8.2.1 20180831 > > > > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-toolchain@freebsd.org Mon Feb 11 12:30:36 2019 Return-Path: Delivered-To: freebsd-toolchain@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 B93DE14D590C for ; Mon, 11 Feb 2019 12:30:36 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0DBB86B635 for ; Mon, 11 Feb 2019 12:30:25 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from [194.32.164.27] ([194.32.164.27]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id x1BCF6Qx063388; Mon, 11 Feb 2019 12:15:06 GMT (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Problem with mutex.lock() From: Bob Bishop In-Reply-To: Date: Mon, 11 Feb 2019 12:15:06 +0000 Cc: "freebsd-toolchain@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <78296B5F-143C-4B4A-9D29-78AD81A1EE3E@gid.co.uk> References: To: Banta Plan X-Mailer: Apple Mail (2.3273) X-Rspamd-Queue-Id: 0DBB86B635 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rb@gid.co.uk designates 194.32.164.250 as permitted sender) smtp.mailfrom=rb@gid.co.uk X-Spamd-Result: default: False [-3.67 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; MX_INVALID(0.50)[greylisted]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[gid.co.uk]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.85)[-0.854,0]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[250.164.32.194.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; IP_SCORE(-1.51)[ip: (-4.24), ipnet: 194.32.164.0/24(-2.12), asn: 42831(-1.11), country: GB(-0.09)]; FREEMAIL_TO(0.00)[outlook.de]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42831, ipnet:194.32.164.0/24, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 12:30:37 -0000 Hi, > On 11 Feb 2019, at 11:09, Banta Plan wrote: >=20 > I compiled this program and it crashes if executed. >=20 > Compiled with: FreeBSD clang version 6.0.1 (tags/RELEASE_601/final = 335540) (based on LLVM 6.0.1) >=20 > ## CMakeLists.txt > cmake_minimum_required(VERSION 3.13) > project(mainP) >=20 > set(CMAKE_CXX_STANDARD 17) >=20 > add_executable(mainP main.cpp) >=20 > find_package(Threads) > target_link_libraries(mainP ${CMAKE_THREAD_LIBS_INIT}) >=20 > ## main.cpp >=20 > #include > #include > #include > #include > #include >=20 > int main() { > using namespace std::chrono_literals; > std::mutex m; > m.lock(); [**] > std::thread([&] { > std::cout << "Before sleepFor" << std::endl; > std::this_thread::sleep_for(2s); >=20 > std::cout << "Before unlock" << std::endl; > m.unlock(); > std::cout << "After unlock" << std::endl; >=20 > }).detach(); > std::cout << "Before lock2" << std::endl; > m.lock(); This lock is called by the main thread which already holds the lock [** = above]. Apparently it doesn=E2=80=99t like that. > std::cout << "After lock2" << std::endl; >=20 > return 0; > } > ## >=20 > This program compiles and runs under MacOS (Clang Version: Apple LLVM = version 10.0.0 (clang-1000.11.45.5)) and > manjaro arm64 with gcc (GCC) 8.2.1 20180831 >=20 >=20 >=20 > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to = "freebsd-toolchain-unsubscribe@freebsd.org" >=20 -- Bob Bishop t: +44 (0)118 940 1243 rb@gid.co.uk m: +44 (0)783 626 4518 From owner-freebsd-toolchain@freebsd.org Mon Feb 11 14:04:43 2019 Return-Path: Delivered-To: freebsd-toolchain@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 031E614D8135 for ; Mon, 11 Feb 2019 14:04:43 +0000 (UTC) (envelope-from bantaplan@outlook.de) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02olkn0826.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::826]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CF196E8E2 for ; Mon, 11 Feb 2019 14:04:41 +0000 (UTC) (envelope-from bantaplan@outlook.de) Received: from HE1EUR02FT014.eop-EUR02.prod.protection.outlook.com (10.152.10.52) by HE1EUR02HT131.eop-EUR02.prod.protection.outlook.com (10.152.11.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10; Mon, 11 Feb 2019 14:04:38 +0000 Received: from VI1PR02MB4671.eurprd02.prod.outlook.com (10.152.10.51) by HE1EUR02FT014.mail.protection.outlook.com (10.152.10.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10 via Frontend Transport; Mon, 11 Feb 2019 14:04:38 +0000 Received: from VI1PR02MB4671.eurprd02.prod.outlook.com ([fe80::f1ec:a0c:fd8b:cc3a]) by VI1PR02MB4671.eurprd02.prod.outlook.com ([fe80::f1ec:a0c:fd8b:cc3a%2]) with mapi id 15.20.1601.023; Mon, 11 Feb 2019 14:04:38 +0000 From: Banta Plan To: "freebsd-toolchain@freebsd.org" Subject: AW: Problem with mutex.lock() Thread-Topic: Problem with mutex.lock() Thread-Index: AQHUwhK56ZaPu4xD90aOU/gNeGejLQ== Date: Mon, 11 Feb 2019 14:04:38 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:653C83AA668DAF860343DF447BD7FF43B9E907B7878F9A42FBF0798C489B906E; UpperCasedChecksum:B909D96B3E3FC65ED0AA085FC91C419C17E5D2FDE8F3A6960CDD8CD6A6E1C65D; SizeAsReceived:6735; Count:42 x-tmn: [7iJZC8NhrL20fsAM19zA8qyHNX9lMcOL] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT131; 6:UIxGRVy+l6fqruMaY9wnQFDqkaLUS0K0TX1hCSyqS7PRXCv3t3fIJ+l2FipX0eix/DTp/Ds2lfJkp9vLMnNBC5aSOdynDIDbYGybMVaM6+g/Lt0p0Nf6l4YwLpDVKvBITOZpW2gGDRtesNtVWllFByBArCpT2QwLeK9o6+qHv+FWULmodoEz5ZjIe2cAG/kyeBdw7h1R3y+q4nA6Fc98Iqnl0tCsgl4B2GoJ7DD/9Tr55wCZ4/LKDQRQyIw5Ieaa+qI4IY5xQA7SoNxolxEJCb2R7F7O9/YGhg+WwK3HZBuuSuJWvcjfFQ13K8NTh6LxDEUiFLATTDhO7K75ckA5JXDzN272hoKQWtO0BAdY/6yicr7AhzlnKJhC8JE14Q0krPJDPBElsmYW9zOs1bpgPTt3oE1huaCC6UL4oyswq/jypEhip4AwddYc6tjWckkHVVodlbv9P4lt93ZpZSP4aw==; 5:oe1QNIaiLsBJZZBo7kHz3wDaLSWSautrwqPVII9iUUz1m1a59EcS1guXWjlurQIW8S9Cighbdvmatp6+ffMdfJkklJOSVv3n999PgVniL2ArtbDoKpGVWjqM5z+YQMlprnNL6mjTlEYiXkYvTHgLMW60YUIqgvh08RCU4B0ZA0iXTmigKyYPqUHuP89sLhKxQO/F/z/G4xLYkVmtXR8zYw==; 7:bvvBb1xhoO2zXRza18mFTBmIAH8GglCb1/8/4OAAEpZaeaAjeuzzvTzfAvyOH9IB1WYUl6yl1hHvNIXf6j+52LSN29WJggBdG84F6FqPgFUug2U8FkUvPL92yneYuRyIh0hTchJ0d9UfkQQ+Pj5NhQ== x-incomingheadercount: 42 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(9118020)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:HE1EUR02HT131; x-ms-traffictypediagnostic: HE1EUR02HT131: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:HE1EUR02HT131; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT131; x-microsoft-antispam-message-info: Rwr1K+kWX11qjPkSJaYiI5LSfBocXjXtl6tozSTwXMitiAOcLCCyAGm536AT+TTe MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: 3835a8a5-e5a2-48af-3bfc-08d69029dc75 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2019 14:04:38.5793 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT131 X-Rspamd-Queue-Id: 7CF196E8E2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of bantaplan@outlook.de designates 2a01:111:f400:fe05::826 as permitted sender) smtp.mailfrom=bantaplan@outlook.de X-Spamd-Result: default: False [-4.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[outlook.de]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[outlook.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: eur.olc.protection.outlook.com]; NEURAL_HAM_SHORT(-0.80)[-0.802,0]; RCVD_IN_DNSWL_NONE(0.00)[6.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.5.0.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(-1.01)[ipnet: 2a01:111:f000::/36(-2.69), asn: 8075(-2.30), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[outlook.de]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MIME_TRACE(0.00)[0:+,1:+] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 14:04:43 -0000 I think you can reduce the problem to: ## int main() { std::mutex m; m.lock(); m.lock(); return 0; } ## This should deadlock. But this will crash the program. ________________________________ Von: Banta Plan Gesendet: Montag, 11. Februar 2019 12:09 An: freebsd-toolchain@freebsd.org Betreff: Problem with mutex.lock() I compiled this program and it crashes if executed. Compiled with: FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) = (based on LLVM 6.0.1) ## CMakeLists.txt cmake_minimum_required(VERSION 3.13) project(mainP) set(CMAKE_CXX_STANDARD 17) add_executable(mainP main.cpp) find_package(Threads) target_link_libraries(mainP ${CMAKE_THREAD_LIBS_INIT}) ## main.cpp #include #include #include #include #include int main() { using namespace std::chrono_literals; std::mutex m; m.lock(); std::thread([&] { std::cout << "Before sleepFor" << std::endl; std::this_thread::sleep_for(2s); std::cout << "Before unlock" << std::endl; m.unlock(); std::cout << "After unlock" << std::endl; }).detach(); std::cout << "Before lock2" << std::endl; m.lock(); std::cout << "After lock2" << std::endl; return 0; } ## This program compiles and runs under MacOS (Clang Version: Apple LLVM versi= on 10.0.0 (clang-1000.11.45.5)) and manjaro arm64 with gcc (GCC) 8.2.1 20180831 From owner-freebsd-toolchain@freebsd.org Mon Feb 11 14:41:27 2019 Return-Path: Delivered-To: freebsd-toolchain@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 A5CD614D8DA3 for ; Mon, 11 Feb 2019 14:41:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A3976FFC2 for ; Mon, 11 Feb 2019 14:41:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x1BEfIWl046824 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 Feb 2019 16:41:21 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x1BEfIWl046824 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x1BEfIot046823; Mon, 11 Feb 2019 16:41:18 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 11 Feb 2019 16:41:18 +0200 From: Konstantin Belousov To: Banta Plan Cc: "freebsd-toolchain@freebsd.org" Subject: Re: Problem with mutex.lock() Message-ID: <20190211144118.GZ24863@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 14:41:27 -0000 On Mon, Feb 11, 2019 at 02:04:38PM +0000, Banta Plan wrote: > I think you can reduce the problem to: > ## > int main() { > std::mutex m; > m.lock(); > m.lock(); > > return 0; > } > ## > > This should deadlock. Where is it specified that the program should deadlock ? The behaviour for this case is undefined. > But this will crash the program. Which is not disallowed by standard. From owner-freebsd-toolchain@freebsd.org Tue Feb 12 10:48:55 2019 Return-Path: Delivered-To: freebsd-toolchain@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 9469E14E1E4D for ; Tue, 12 Feb 2019 10:48:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1E94D863DD for ; Tue, 12 Feb 2019 10:48:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D687114E1E4C; Tue, 12 Feb 2019 10:48:54 +0000 (UTC) Delivered-To: toolchain@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 C466014E1E4B for ; Tue, 12 Feb 2019 10:48:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 607D9863DB for ; Tue, 12 Feb 2019 10:48:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9885D2A3F for ; Tue, 12 Feb 2019 10:48:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1CAmrWW039314 for ; Tue, 12 Feb 2019 10:48:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1CAmrFP039313 for toolchain@FreeBSD.org; Tue, 12 Feb 2019 10:48:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235603] audio/openal-soft fails to build with linker error on 12/stable poudriere Date: Tue, 12 Feb 2019 10:48:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tobik@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 10:48:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235603 Tobias Kortkamp changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |toolchain@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Tue Feb 12 10:49:40 2019 Return-Path: Delivered-To: freebsd-toolchain@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 6C12414E1F4D for ; Tue, 12 Feb 2019 10:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 056B686437 for ; Tue, 12 Feb 2019 10:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B9CD214E1F4C; Tue, 12 Feb 2019 10:49:39 +0000 (UTC) Delivered-To: toolchain@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 A84A514E1F4B for ; Tue, 12 Feb 2019 10:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 347CF86433 for ; Tue, 12 Feb 2019 10:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 82CB22A43 for ; Tue, 12 Feb 2019 10:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1CAncq3040104 for ; Tue, 12 Feb 2019 10:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1CAncjq040103 for toolchain@FreeBSD.org; Tue, 12 Feb 2019 10:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235603] audio/openal-soft fails to build with linker error on 12/stable poudriere Date: Tue, 12 Feb 2019 10:49:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tobik@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 10:49:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235603 Tobias Kortkamp changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Feb 13 20:14:46 2019 Return-Path: Delivered-To: freebsd-toolchain@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 B3E6814D6A61 for ; Wed, 13 Feb 2019 20:14:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 49285725A3 for ; Wed, 13 Feb 2019 20:14:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 027E314D6A5E; Wed, 13 Feb 2019 20:14:46 +0000 (UTC) Delivered-To: toolchain@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 E3AB614D6A5B for ; Wed, 13 Feb 2019 20:14:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A5127259F for ; Wed, 13 Feb 2019 20:14:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BCDD91534D for ; Wed, 13 Feb 2019 20:14:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1DKEiNO059216 for ; Wed, 13 Feb 2019 20:14:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1DKEirm059215 for toolchain@FreeBSD.org; Wed, 13 Feb 2019 20:14:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 234671] clang faults while compiling new GlusterFS source code Date: Wed, 13 Feb 2019 20:14:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 20:14:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234671 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Wed Feb 13 20:13:40 UTC 2019 New revision: 344112 URL: https://svnweb.freebsd.org/changeset/base/344112 Log: Pull in r353907 from upstream llvm trunk (by Reid Kleckner): [MC] Make symbol version errors non-fatal We stil don't have a source location, which is pretty lame, but at least we won't tell the user to file a clang bug report anymore. Fixes PR40712 This will make errors for symbols with @@ versions that are not defined non-fatal. For example: void f(void) { __asm__(".symver foo,bar@@baz"); } will now result in: error: versioned symbol bar@@baz must be defined instead of clang crashing with a diagnostic report. PR: 234671 Upstream PR: https://bugs.llvm.org/show_bug.cgi?id=3D40712 MFC after: 3 days Changes: head/contrib/llvm/lib/MC/ELFObjectWriter.cpp --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Feb 13 20:56:06 2019 Return-Path: Delivered-To: freebsd-toolchain@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 D1C5514D790D for ; Wed, 13 Feb 2019 20:56:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 68CD5742E3 for ; Wed, 13 Feb 2019 20:56:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 244B814D790C; Wed, 13 Feb 2019 20:56:06 +0000 (UTC) Delivered-To: toolchain@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 1192E14D790B for ; Wed, 13 Feb 2019 20:56:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0881742E1 for ; Wed, 13 Feb 2019 20:56:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D1F1D1591B for ; Wed, 13 Feb 2019 20:56:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1DKu46d040188 for ; Wed, 13 Feb 2019 20:56:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1DKu4SV040187 for toolchain@FreeBSD.org; Wed, 13 Feb 2019 20:56:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 215798] clang: please Include thread sanitizer (and all other available sanitizers) Date: Wed, 13 Feb 2019 20:56:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sean@rogue-research.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 20:56:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215798 Sean McBride changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sean@rogue-research.com --- Comment #3 from Sean McBride --- The clang docs say TSan works on FreeBSD: https://clang.llvm.org/docs/ThreadSanitizer.html yet this bug is open. Does FreeBSD support TSan or not? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Feb 13 20:59:49 2019 Return-Path: Delivered-To: freebsd-toolchain@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 4063914D79B5 for ; Wed, 13 Feb 2019 20:59:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CACE374385 for ; Wed, 13 Feb 2019 20:59:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8AA2C14D79B4; Wed, 13 Feb 2019 20:59:48 +0000 (UTC) Delivered-To: toolchain@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 77B9F14D79B2 for ; Wed, 13 Feb 2019 20:59:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 12E6374382 for ; Wed, 13 Feb 2019 20:59:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 619A715924 for ; Wed, 13 Feb 2019 20:59:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1DKxlg0043949 for ; Wed, 13 Feb 2019 20:59:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1DKxlTb043948 for toolchain@FreeBSD.org; Wed, 13 Feb 2019 20:59:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 215798] clang: please Include thread sanitizer (and all other available sanitizers) Date: Wed, 13 Feb 2019 20:59:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 20:59:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215798 --- Comment #4 from Dimitry Andric --- (In reply to Sean McBride from comment #3) > The clang docs say TSan works on FreeBSD: > https://clang.llvm.org/docs/ThreadSanitizer.html >=20 > yet this bug is open. >=20 > Does FreeBSD support TSan or not? As far as I know, TSan is still broken. At least, with the most recent 8.0 release, it gets into an endless loop, and crashes due to a stack overflow = on initialization. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Feb 14 03:05:54 2019 Return-Path: Delivered-To: freebsd-toolchain@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 B561614E4A0B for ; Thu, 14 Feb 2019 03:05:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6FB8AE87 for ; Thu, 14 Feb 2019 03:05:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DB69914E4A0A; Thu, 14 Feb 2019 03:05:53 +0000 (UTC) Delivered-To: toolchain@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 AEE5014E4A09 for ; Thu, 14 Feb 2019 03:05:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CAE58AE85 for ; Thu, 14 Feb 2019 03:05:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4FB9118F3C for ; Thu, 14 Feb 2019 03:05:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1E35qak072883 for ; Thu, 14 Feb 2019 03:05:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1E35qwG072874 for toolchain@FreeBSD.org; Thu, 14 Feb 2019 03:05:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 234671] clang faults while compiling new GlusterFS source code Date: Thu, 14 Feb 2019 03:05:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: flagtypes.name see_also bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 03:05:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234671 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable11?, | |mfc-stable12? See Also| |https://bugs.llvm.org/show_ | |bug.cgi?id=3D40712 Severity|Affects Only Me |Affects Some People --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Feb 14 20:57:11 2019 Return-Path: Delivered-To: freebsd-toolchain@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 4836614E1659 for ; Thu, 14 Feb 2019 20:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D57808B949 for ; Thu, 14 Feb 2019 20:57:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 441B114E1654; Thu, 14 Feb 2019 20:57:10 +0000 (UTC) Delivered-To: toolchain@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 3145314E1653 for ; Thu, 14 Feb 2019 20:57:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE6458B943 for ; Thu, 14 Feb 2019 20:57:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 190F82AE1 for ; Thu, 14 Feb 2019 20:57:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1EKv8Op021761 for ; Thu, 14 Feb 2019 20:57:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1EKv8D8021758 for toolchain@FreeBSD.org; Thu, 14 Feb 2019 20:57:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235749] c++: std::experimental::filesystem::v1::__copy isn't found Date: Thu, 14 Feb 2019 20:57:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 20:57:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235749 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |toolchain@FreeBSD.org Summary|std::experimental::filesyst |c++: |em::v1::__copy isn't found |std::experimental::filesyst | |em::v1::__copy isn't found --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Feb 14 21:48:16 2019 Return-Path: Delivered-To: freebsd-toolchain@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 2A43B14E2FBA for ; Thu, 14 Feb 2019 21:48:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B33478D6B1 for ; Thu, 14 Feb 2019 21:48:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6C5E814E2FB9; Thu, 14 Feb 2019 21:48:15 +0000 (UTC) Delivered-To: toolchain@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 5ACD814E2FB6 for ; Thu, 14 Feb 2019 21:48:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC6B88D6AD for ; Thu, 14 Feb 2019 21:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 43353322A for ; Thu, 14 Feb 2019 21:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1ELmEil053356 for ; Thu, 14 Feb 2019 21:48:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1ELmEAJ053355 for toolchain@FreeBSD.org; Thu, 14 Feb 2019 21:48:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235749] c++: std::experimental::filesystem::v1::__copy isn't found Date: Thu, 14 Feb 2019 21:48:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 21:48:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235749 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug CC| |dim@FreeBSD.org Status|New |Closed --- Comment #1 from Dimitry Andric --- To use libc++ 6.0 experimental features, you have to add an explicit -lc++experimental flag to your link command line, e.g. try: c++ fs.cpp -o fs -lc++experimental (Also note that experimental features are in no way stable or guaranteed to exist in newer versions.) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Fri Feb 15 09:52:53 2019 Return-Path: Delivered-To: freebsd-toolchain@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 09BCD14D3635 for ; Fri, 15 Feb 2019 09:52:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 96D1588B00 for ; Fri, 15 Feb 2019 09:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 546A414D3634; Fri, 15 Feb 2019 09:52:52 +0000 (UTC) Delivered-To: toolchain@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 426C414D3633 for ; Fri, 15 Feb 2019 09:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D53C788AFB for ; Fri, 15 Feb 2019 09:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DEE979E5B for ; Fri, 15 Feb 2019 09:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1F9qo6d024045 for ; Fri, 15 Feb 2019 09:52:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1F9qoDa024044 for toolchain@FreeBSD.org; Fri, 15 Feb 2019 09:52:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235749] c++: std::experimental::filesystem::v1::__copy isn't found Date: Fri, 15 Feb 2019 09:52:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: theraven@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 09:52:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235749 David Chisnall changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |theraven@FreeBSD.org --- Comment #2 from David Chisnall --- > (Also note that experimental features are in no way stable or guaranteed = to exist in newer versions.) That said, libc++experimental is provided as a static library only, so if y= ou manage to link it then your binary should keep working in future versions of FreeBSD, you just might not be able to link it again if the experimental features go away or change... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Fri Feb 15 10:46:47 2019 Return-Path: Delivered-To: freebsd-toolchain@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 3FC6D14D5862 for ; Fri, 15 Feb 2019 10:46:47 +0000 (UTC) (envelope-from bantaplan@outlook.de) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02olkn0804.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::804]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F3448AC9C for ; Fri, 15 Feb 2019 10:46:45 +0000 (UTC) (envelope-from bantaplan@outlook.de) Received: from AM5EUR02FT015.eop-EUR02.prod.protection.outlook.com (10.152.8.53) by AM5EUR02HT033.eop-EUR02.prod.protection.outlook.com (10.152.9.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10; Fri, 15 Feb 2019 10:46:43 +0000 Received: from VI1PR02MB4671.eurprd02.prod.outlook.com (10.152.8.56) by AM5EUR02FT015.mail.protection.outlook.com (10.152.8.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10 via Frontend Transport; Fri, 15 Feb 2019 10:46:43 +0000 Received: from VI1PR02MB4671.eurprd02.prod.outlook.com ([fe80::f1ec:a0c:fd8b:cc3a]) by VI1PR02MB4671.eurprd02.prod.outlook.com ([fe80::f1ec:a0c:fd8b:cc3a%2]) with mapi id 15.20.1622.018; Fri, 15 Feb 2019 10:46:43 +0000 From: Banta Plan To: "freebsd-toolchain@freebsd.org" Subject: Re: Problem with mutex.lock() Thread-Topic: Problem with mutex.lock() Thread-Index: AQHUwhK56ZaPu4xD90aOU/gNeGejLaXaq4wAgAYHyIA= Date: Fri, 15 Feb 2019 10:46:43 +0000 Message-ID: References: <20190211144118.GZ24863@kib.kiev.ua> In-Reply-To: <20190211144118.GZ24863@kib.kiev.ua> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0402CA0001.eurprd04.prod.outlook.com (2603:10a6:203:90::11) To VI1PR02MB4671.eurprd02.prod.outlook.com (2603:10a6:803:8d::20) x-incomingtopheadermarker: OriginalChecksum:9A288719ABAAEDA3E16AFDCE0EAFC450D1D7BAF0686ACC27ABCAF0A959724DDA; UpperCasedChecksum:5D2ACEFFE78CE013ED3D60F59B96F134820D77E16EAF6C89888C257FB8EAD5C4; SizeAsReceived:8247; Count:62 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [v98sFq6CjTtZzgot7pNCU8qxaum8Mzm5] x-microsoft-original-message-id: x-ms-publictraffictype: Email x-incomingheadercount: 62 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(9118020)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:AM5EUR02HT033; x-ms-traffictypediagnostic: AM5EUR02HT033: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:AM5EUR02HT033; BCL:0; PCL:0; RULEID:; SRVR:AM5EUR02HT033; x-microsoft-antispam-message-info: NMw8YHrTU2XbbWcRHLwLs9vB8Cfoh26rXjjjFBrNfTKtX5wLJ8l7QXgfbB6NUUTa Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: fbab47ba-3105-4acb-0c59-08d69332df95 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2019 10:46:42.6697 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT033 X-Rspamd-Queue-Id: 5F3448AC9C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of bantaplan@outlook.de designates 2a01:111:f400:fe06::804 as permitted sender) smtp.mailfrom=bantaplan@outlook.de X-Spamd-Result: default: False [-4.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[outlook.de]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[outlook.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[eur.olc.protection.outlook.com,eur.olc.protection.outlook.com]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[4.0.8.0.0.0.0.0.0.0.0.0.0.0.0.0.6.0.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; NEURAL_HAM_SHORT(-0.88)[-0.883,0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(-1.01)[ipnet: 2a01:111:f000::/36(-2.68), asn: 8075(-2.31), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[outlook.de]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MIME_TRACE(0.00)[0:+] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 10:46:47 -0000 SnVzdCB0byB3cmFwIHRoaXMgdXAuDQoNCnN0ZDo6bXV0ZXggYmVoYXZlcyBhcyBpdCBzaG91bGQu IFN0aWxsIG1vc3Qgb2YgdGhlIG90aGVyIE9TcyBpbXBsZW1lbnRlZCANCml0IGluIGEgZGl2ZXJl bnQgd2F5Lg0KDQpBbmQganVzdCBhcyBhIHNob3J0IGhlbHAuDQoNCklmIHNvbWVib2R5IHJlYWxs eSB3YW50cyB0byBkZWFkbG9jayBoaW1zZWxmLCBpdCBjYW4gYmUgZG9uZSB3aXRoIA0Kc3RkOjpj b25kaXRpb25fdmFyaWFibGVzLg0KDQo= From owner-freebsd-toolchain@freebsd.org Fri Feb 15 12:16:57 2019 Return-Path: Delivered-To: freebsd-toolchain@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 2A7EF14D91EE for ; Fri, 15 Feb 2019 12:16:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B61CF8E6F3 for ; Fri, 15 Feb 2019 12:16:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 74CE614D91ED; Fri, 15 Feb 2019 12:16:56 +0000 (UTC) Delivered-To: toolchain@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 625B514D91EC for ; Fri, 15 Feb 2019 12:16:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEDC88E6EF for ; Fri, 15 Feb 2019 12:16:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 105A0B2BB for ; Fri, 15 Feb 2019 12:16:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1FCGsjU008453 for ; Fri, 15 Feb 2019 12:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1FCGsw2008446 for toolchain@FreeBSD.org; Fri, 15 Feb 2019 12:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 215798] clang: please Include thread sanitizer (and all other available sanitizers) Date: Fri, 15 Feb 2019 12:16:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmt@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 12:16:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215798 Christoph Moench-Tegeder changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cmt@freebsd.org --- Comment #5 from Christoph Moench-Tegeder --- At least for trivial examples (like the one in the clang documentation), TS= an from devel/llvm60 and devel/llvm70 does work as advertised on amd64. And th= en, the documentation states "Support for 32-bit platforms is problematic and is not planned.", so that's about it for i386. And then, my 12.0-STABLE machine does have /usr/lib/clang/6.0.1/lib/freebsd/libclang_rt.tsan-x86_64.a /usr/lib/clang/6.0.1/lib/freebsd/libclang_rt.tsan_cxx-x86_64.a and quite a few more sanitizers. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 09:14:09 2019 Return-Path: Delivered-To: freebsd-toolchain@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 BFF7F14DC21E for ; Sat, 16 Feb 2019 09:14:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 59E05821F7 for ; Sat, 16 Feb 2019 09:14:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1DD2014DC21B; Sat, 16 Feb 2019 09:14:09 +0000 (UTC) Delivered-To: toolchain@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 0B51E14DC21A for ; Sat, 16 Feb 2019 09:14:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C092821F2 for ; Sat, 16 Feb 2019 09:14:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F1B1016D7B for ; Sat, 16 Feb 2019 09:14:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1G9E7M6056243 for ; Sat, 16 Feb 2019 09:14:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1G9E7GC056239 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 09:14:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235749] c++: std::experimental::filesystem::v1::__copy isn't found Date: Sat, 16 Feb 2019 09:14:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 09:14:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235749 --- Comment #4 from Dimitry Andric --- (In reply to Yuri Victorovich from comment #3) > (In reply to Dimitry Andric from comment #1) >=20 > 11.2-STABLE has this header, but no libc++experimental.a: Yes, I noticed that while preparing the clang 7.0 merge, so it is going to = be fixed real soon now. Either it was an oversight, or I was convinced that nobody would be interested in having experimental features on a stable branch... :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 07:44:52 2019 Return-Path: Delivered-To: freebsd-toolchain@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 EA52A14D915C for ; Sat, 16 Feb 2019 07:44:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 60FB07773D for ; Sat, 16 Feb 2019 07:44:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2150B14D915B; Sat, 16 Feb 2019 07:44:51 +0000 (UTC) Delivered-To: toolchain@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 0D2B414D9159 for ; Sat, 16 Feb 2019 07:44:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96EE077738 for ; Sat, 16 Feb 2019 07:44:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BE6D716084 for ; Sat, 16 Feb 2019 07:44:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1G7inHh066597 for ; Sat, 16 Feb 2019 07:44:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1G7inBX066596 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 07:44:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235749] c++: std::experimental::filesystem::v1::__copy isn't found Date: Sat, 16 Feb 2019 07:44:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 07:44:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235749 --- Comment #3 from Yuri Victorovich --- (In reply to Dimitry Andric from comment #1) 11.2-STABLE has this header, but no libc++experimental.a: > $ c++ fs.cpp -o fs -lc++experimental > /usr/bin/ld: cannot find -lc++experimental > c++: error: linker command failed with exit code 1 (use -v to see invocat= ion) > $ uname -a > FreeBSD xx.xx.xx 11.2-STABLE FreeBSD 11.2-STABLE #0 r338762M: Tue Sep 18 = 18:20:50 PDT 2018 unknown@nohost.com:/usr/obj/usr/src/sys/GENERIC amd64 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 16:50:11 2019 Return-Path: Delivered-To: freebsd-toolchain@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 C419E14EDFA2 for ; Sat, 16 Feb 2019 16:50:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5586891D99 for ; Sat, 16 Feb 2019 16:50:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1169C14EDF9F; Sat, 16 Feb 2019 16:50:11 +0000 (UTC) Delivered-To: toolchain@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 F2EC014EDF9E for ; Sat, 16 Feb 2019 16:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D53D91D97 for ; Sat, 16 Feb 2019 16:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C04101AF03 for ; Sat, 16 Feb 2019 16:50:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GGo9IP098424 for ; Sat, 16 Feb 2019 16:50:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GGo9wB098423 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 16:50:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235782] clang compiler crashed while building a large C++ program (that makes some use of boost) Date: Sat, 16 Feb 2019 16:50:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 16:50:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235782 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|clang compiler crashed |clang compiler crashed |while building a large C++ |while building a large C++ |program (that makes some |program (that makes some |use of boost), told me to |use of boost) |submit a bug report | Assignee|bugs@FreeBSD.org |toolchain@FreeBSD.org --- Comment #1 from Mark Linimon --- Reassign to toolchain@ and trim Summary. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 17:39:25 2019 Return-Path: Delivered-To: freebsd-toolchain@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 9D37814EF40C for ; Sat, 16 Feb 2019 17:39:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 27EA893990 for ; Sat, 16 Feb 2019 17:39:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D620A14EF40B; Sat, 16 Feb 2019 17:39:24 +0000 (UTC) Delivered-To: toolchain@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 C1FE914EF40A for ; Sat, 16 Feb 2019 17:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E9099398E for ; Sat, 16 Feb 2019 17:39:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8C73C1B62E for ; Sat, 16 Feb 2019 17:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GHdNeF026827 for ; Sat, 16 Feb 2019 17:39:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GHdNPk026826 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 17:39:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235782] clang compiler crashed while building a large C++ program (that makes some use of boost) Date: Sat, 16 Feb 2019 17:39:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 17:39:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235782 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |dim@FreeBSD.org --- Comment #2 from Dimitry Andric --- This "Killed" phenomenon is what typically happens if you run out of memory= .=20 Please check your dmesg for "was killed: out of swap space" or "swap_pager_getswapspace(number): failed" errors. If you see those, try ad= ding more RAM to the machine, adding more swap space, or alternatively, lower the number of parallel build jobs. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 18:28:44 2019 Return-Path: Delivered-To: freebsd-toolchain@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 39AF214F0AB3 for ; Sat, 16 Feb 2019 18:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C31CF954BE for ; Sat, 16 Feb 2019 18:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 79D3C14F0AB2; Sat, 16 Feb 2019 18:28:43 +0000 (UTC) Delivered-To: toolchain@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 686FF14F0AB1 for ; Sat, 16 Feb 2019 18:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01D1C954BC for ; Sat, 16 Feb 2019 18:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0D9F31BD6B for ; Sat, 16 Feb 2019 18:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GISf0Q011813 for ; Sat, 16 Feb 2019 18:28:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GISfOQ011812 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 18:28:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235782] clang compiler crashed while building a large C++ program (that makes some use of boost) Date: Sat, 16 Feb 2019 18:28:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: robthedude@mac.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 18:28:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235782 --- Comment #3 from robthedude@mac.com --- Yes that appears to have been what happened (it actually looks like there m= ay have been some stale .o state -- I was building and fixing errors and build= ing etc -- and there was a file left over when it crashed that wasn't actually a real file).=20=20 I didn't add any RAM or change the build, but a make clean followed by anot= her make worked fine. You can close this if you like -- I only filed it because it told me to :-). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 18:32:13 2019 Return-Path: Delivered-To: freebsd-toolchain@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 B530A14F0DB1 for ; Sat, 16 Feb 2019 18:32:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 471E095847 for ; Sat, 16 Feb 2019 18:32:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 07C7214F0DB0; Sat, 16 Feb 2019 18:32:13 +0000 (UTC) Delivered-To: toolchain@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 EA50814F0DAE for ; Sat, 16 Feb 2019 18:32:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 885D795843 for ; Sat, 16 Feb 2019 18:32:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CEC011BEBD for ; Sat, 16 Feb 2019 18:32:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GIWB3Q017481 for ; Sat, 16 Feb 2019 18:32:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GIWBVG017471 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 18:32:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235782] clang compiler crashed while building a large C++ program (that makes some use of boost) Date: Sat, 16 Feb 2019 18:32:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 18:32:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235782 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|Open |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 18:41:14 2019 Return-Path: Delivered-To: freebsd-toolchain@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 241BB14F1240 for ; Sat, 16 Feb 2019 18:41:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B53395C92 for ; Sat, 16 Feb 2019 18:41:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5F3FC14F123F; Sat, 16 Feb 2019 18:41:13 +0000 (UTC) Delivered-To: toolchain@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 4B24114F123E for ; Sat, 16 Feb 2019 18:41:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D27A695C8A for ; Sat, 16 Feb 2019 18:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 12CE21BF05 for ; Sat, 16 Feb 2019 18:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GIfBK7068698 for ; Sat, 16 Feb 2019 18:41:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GIfBJF068695 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 18:41:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 235782] clang compiler crashed while building a large C++ program (that makes some use of boost) Date: Sat, 16 Feb 2019 18:41:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 18:41:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235782 --- Comment #4 from Mark Millard --- (In reply to Dimitry Andric from comment #2) If the person with the problem see any of the: swap_pager_getswapspace(number): failed message they really are out of swap. The other message can happen when there is plenty of swap but processes that stay runnable are preventing having sufficient free RAM after some number of tries by FreeBSD: runnable processes are not (fully) swapped-out by FreeBSD, only paged. There is a tunable that can increase the number of tries at freeing RAM before "was killed: out of swap space" happens. This is used on low end armv7's and aarch64's and such to allow buildworld and the like to complete with -j4, for example. vm.pageout_oom_seq has a default of 12 (last I checked). Figures like 120 and 1024 have been used on those low end armv7 and aarch64 examples. (pi2 V1.1 and rpi3 are examples: just 1 GiByte of RAM. Of course sufficient swap space is also required for this kind of context.) For lld based links, LDFLAGS.lld+=3D -Wl,--no-threads can also help avoid memory use by avoiding having ncpu+2 threads in use in each active lld. How-to-build-software documentation should probably cover this subject. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 19:50:05 2019 Return-Path: Delivered-To: freebsd-toolchain@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 473D614F2CCA for ; Sat, 16 Feb 2019 19:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D2624685A3 for ; Sat, 16 Feb 2019 19:50:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 914CC14F2CC9; Sat, 16 Feb 2019 19:50:04 +0000 (UTC) Delivered-To: toolchain@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 7EA3814F2CC8 for ; Sat, 16 Feb 2019 19:50:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 192E76859F for ; Sat, 16 Feb 2019 19:50:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5D7A91C918 for ; Sat, 16 Feb 2019 19:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GJo35u037493 for ; Sat, 16 Feb 2019 19:50:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GJo3Jw037492 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 19:50:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 234671] clang faults while compiling new GlusterFS source code Date: Sat, 16 Feb 2019 19:50:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 19:50:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234671 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Sat Feb 16 19:49:13 UTC 2019 New revision: 344217 URL: https://svnweb.freebsd.org/changeset/base/344217 Log: MFC r344112: Pull in r353907 from upstream llvm trunk (by Reid Kleckner): [MC] Make symbol version errors non-fatal We stil don't have a source location, which is pretty lame, but at least we won't tell the user to file a clang bug report anymore. Fixes PR40712 This will make errors for symbols with @@ versions that are not defined non-fatal. For example: void f(void) { __asm__(".symver foo,bar@@baz"); } will now result in: error: versioned symbol bar@@baz must be defined instead of clang crashing with a diagnostic report. PR: 234671 Upstream PR: https://bugs.llvm.org/show_bug.cgi?id=3D40712 Changes: _U stable/11/ stable/11/contrib/llvm/lib/MC/ELFObjectWriter.cpp _U stable/12/ stable/12/contrib/llvm/lib/MC/ELFObjectWriter.cpp --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Feb 16 20:46:33 2019 Return-Path: Delivered-To: freebsd-toolchain@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 840AC14F4736 for ; Sat, 16 Feb 2019 20:46:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0B76CDEE for ; Sat, 16 Feb 2019 20:46:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CFCA914F4735; Sat, 16 Feb 2019 20:46:32 +0000 (UTC) Delivered-To: toolchain@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 929BC14F4734 for ; Sat, 16 Feb 2019 20:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E0836CDEC for ; Sat, 16 Feb 2019 20:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 56A401D1CC for ; Sat, 16 Feb 2019 20:46:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1GKkVVa090143 for ; Sat, 16 Feb 2019 20:46:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1GKkV7e090142 for toolchain@FreeBSD.org; Sat, 16 Feb 2019 20:46:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 234671] clang faults while compiling new GlusterFS source code Date: Sat, 16 Feb 2019 20:46:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 20:46:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234671 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #6 from Dimitry Andric --- After merging the upstream fixes, clang won't crash anymore with a fatal er= ror. It still will refuse to compile the glfs.c file though, now with: error: versioned symbol glfs_upcall_register@@GFAPI_3.13.0 must be defined error: versioned symbol glfs_upcall_unregister@@GFAPI_3.13.0 must be defined 2 errors generated. Indeed, this is an error in the code, which seems to have been fixed in this upstream commit (together with a lot of other symbol breakage): https://github.com/gluster/glusterfs/commit/b4ce5e090dee2afc9ed0c86456a54f7= 6a2bb6563 Can you try applying that, or at least parts of it? Alternatively, a minim= al fix is: --- a/glfs.c 2019-01-10 08:57:50.000000000 +0100 +++ b/glfs.c 2019-02-16 21:45:03.999966000 +0100 @@ -48952,7 +48952,7 @@ GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_sysrq, 3.10.0); int -glfs_upcall_register (struct glfs *fs, uint32_t event_list, +pub_glfs_upcall_register (struct glfs *fs, uint32_t event_list, glfs_upcall_cbk cbk, void *data) { int ret =3D 0; @@ -49003,7 +49003,7 @@ } GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_upcall_register, 3.13.0); -int glfs_upcall_unregister (struct glfs *fs, uint32_t event_list) +int pub_glfs_upcall_unregister (struct glfs *fs, uint32_t event_list) { int ret =3D 0; /* list of supported upcall events */ --=20 You are receiving this mail because: You are on the CC list for the bug.=