From owner-freebsd-ports-bugs@freebsd.org Sat Dec 10 02:30:56 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 EBDA1C6F34B for ; Sat, 10 Dec 2016 02:30:56 +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 DA9BB999 for ; Sat, 10 Dec 2016 02:30:56 +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 uBA2UuJo068719 for ; Sat, 10 Dec 2016 02:30:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215188] databases/memcached after update 4-Dec on FreeBSD11.0S using core-avx-i build failure Date: Sat, 10 Dec 2016 02:30:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: swills@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2016 02:30:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215188 Bug ID: 215188 Summary: databases/memcached after update 4-Dec on FreeBSD11.0S using core-avx-i build failure Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: swills@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au Flags: maintainer-feedback?(swills@FreeBSD.org) Assignee: swills@FreeBSD.org Regularly rebuilding ALL ports we came across a problem with memcached Please note we are building for specific core-avx-i instructions, which we = do regularly (approx 3 weekly), none of the make or other mechanisms have chan= ged. we're using a make/portmaster environment. This is what happens: # Using clang 3.8.0 on FreeBSD 11.0 Stable /usr/local/libexec/ccache/cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/local/inc= lude -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRP_FBSDID -UND= EBUG -UDEBUGGING -UEBUGGING -UDEBUG -march=3Dcore-avx-i -mtune=3Dcore-avx-i=20 -I/usr/local/include -no-integrated-as -fno-strict-aliasng -std=3Dc99 -m64= -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UNDEBUG -UDEBUGGING -UEBUGGING -UDEBUG -march=3Dcore-vx-i -mtune=3Dcore-avx-i=20 -I/usr/local/include -no-integrated-as -fno-strict-aliasing -std=3Dc99 -Wall -pedantic -Wmissing-prototypes -Wmissing-delarations -Wredundant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcache.c' || echo './'`memcached.c /tmp/memcached-1b0c80.s: Assembler messages: /tmp/memcached-1b0c80.s:2842: Error: no such instruction: `vxorps %xmm0,%xmm0,%xmm0' /tmp/memcached-1b0c80.s:2843: Error: no such instruction: `vmovups %xmm0,stats+16(%rip)' /tmp/memcached-1b0c80.s:2844: Error: no such instruction: `vmovups %xmm0,stats(%rip)' ... Using gcc5.4.0 configure:3342: gcc5 -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggd= b0 -DSTRIP_FBSDID -UNDEBUG -UDEBUGGING -UEBUGGING -UDEBUG -march=3Dcore-avx-i = -mtu gcc5: error: unrecognized command line option '-no-integrated-as' gcc5: error: unrecognized command line option '-no-integrated-as' # gcc5 doesn't recognise no-integrated-as so # sed -i '' -e "/integrated-as/s/^/#/g" /usr/ports/databases/memcached/Make= file It fails with another problem. Ok - lets just revert # svnlite update -r '{2016-12-01}' /usr/ports/databases/memcached Yay! =3D=3D=3D> Building package for memcached-1.4.33 Works for clang 3.8.0 (ccache was disabled) Not that we need to, lets try under gcc5 Yay! =3D=3D=3D> Building package for memcached-1.4.33 Works for gcc5.4 (ccache was disabled) The ONLY thing that was changed between failure and success was a revert.=20 Interesting we were able to successfully build memcached using march=3Dcore= 2 on this same box. :/=20 Aside: Why use gcc5.4.0? Because that's what is in /usr/ports/base/gcc, tho= ugh why the Makefile says its in category devel is a separate mystery. --=20 You are receiving this mail because: You are the assignee for the bug.=