From owner-freebsd-office@freebsd.org Fri Feb 3 18:34:44 2017 Return-Path: Delivered-To: freebsd-office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF1FFCCFF4F for ; Fri, 3 Feb 2017 18:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A8787149C for ; Fri, 3 Feb 2017 18:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A49A1CCFF4D; Fri, 3 Feb 2017 18:34:44 +0000 (UTC) Delivered-To: office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A43E2CCFF4C for ; Fri, 3 Feb 2017 18:34:44 +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 mx1.freebsd.org (Postfix) with ESMTPS id 7A368149B for ; Fri, 3 Feb 2017 18:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v13IYhIo010734 for ; Fri, 3 Feb 2017 18:34:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 216745] devel/boost-libs: atomics are broken with clang 4.0 on i386 Date: Fri, 03 Feb 2017 18:34:44 +0000 X-Bugzilla-Reason: CC AssignedTo 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: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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-office@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 18:34:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216745 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org, | |kib@FreeBSD.org --- Comment #7 from Dimitry Andric --- (In reply to Jan Beich (mail not working) from comment #4) > Dimitry, can you bisect or check if https://reviews.llvm.org/D28213 caused > the above behavior? I'm not sure how to fix Boost... I don't think we should fix Boost, as gcc on i386 also seems to set __GCC_ATOMIC_LLONG_LOCK_FREE to 1 on FreeBSD: $ gcc6 -v Using built-in specs. COLLECT_GCC=3Dgcc6 =20=20=20 COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc6/gcc/i386-portbld-freebsd12.0/= 6.3.0/lto-wrapper Target: i386-portbld-freebsd12.0 Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.3.0/configure --disable-multilib --disable-bootstrap --disable-nls --enable-gnu-indirect-function --libdir=3D/usr/local/lib/gcc6 --libexecdir=3D/usr/local/libexec/gcc6 --program-suffix=3D6 --with-as=3D/usr/local/bin/as --with-gmp=3D/usr/local --with-gxx-include-dir=3D/usr/local/lib/gcc6/include/c++/ --with-ld=3D/usr/local/bin/ld --with-pkgversion=3D'FreeBSD Ports Collection' --with-system-zlib --disable-libgcj --enable-languages=3Dc,c++,objc,fortran --prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man --infodir=3D/usr/local/info/gcc6 --build=3Di386-portbld-freebsd12.0 Thread model: posix gcc version 6.3.0 (FreeBSD Ports Collection) $ gcc6 -dM -E -x c /dev/null | grep __GCC_ATOMIC_LLONG_LOCK_FREE #define __GCC_ATOMIC_LLONG_LOCK_FREE 1 I have posted a similar comment on the LLVM review:=20 https://reviews.llvm.org/D28213#665967 but since it is already committed, I might have to open an upstream bug rep= ort. I would like to have a thorough explanation though. Maybe on Linux, there are only 32 bit x86 arches left that support CMPXCHG8= B?=20 I think we still support those, but we don't have __atomic_xxx_8 functions = in our libs to handle the cases where there isn't hardware support. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=