From owner-freebsd-ports-bugs@freebsd.org Mon Mar 6 07:16:22 2017 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 2A2CCCFB92C for ; Mon, 6 Mar 2017 07:16:22 +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 F21181F24 for ; Mon, 6 Mar 2017 07:16:21 +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 v267GL1x055687 for ; Mon, 6 Mar 2017 07:16:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217575] databases/leveldb: fails to build on armv6 Date: Mon, 06 Mar 2017 07:16:21 +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 Many People X-Bugzilla-Who: mikael.urankar@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@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 cc flagtypes.name attachments.created 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: Mon, 06 Mar 2017 07:16:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217575 Bug ID: 217575 Summary: databases/leveldb: fails to build on armv6 Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: mikael.urankar@gmail.com CC: freebsd-arm@FreeBSD.org Assignee: sunpoet@FreeBSD.org CC: freebsd-arm@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Created attachment 180555 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180555&action= =3Dedit patch Hi, error message: /nxb-bin/usr/bin/c++ -O2 -pipe -O2 -munaligned-access -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl -mcpu=3Dcortex-a15 -isystem /usr/local/include -fno-strict-aliasing -isyst= em /usr/local/include -I. -I./include -std=3Dc++0x -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT -DSNAPPY -O2 -DNDEBUG -fP= IC -msse4.2 -DLEVELDB_PLATFORM_POSIX_SSE -c port/port_posix_sse.cc -o out-shared/port/port_posix_sse.o c++: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument] port/port_posix_sse.cc:58:3: error: use of undeclared identifier '__get_cpu= id' __get_cpuid(1, &eax, &ebx, &ecx, &edx); ^ port/port_posix_sse.cc:97:7: error: use of undeclared identifier '_mm_crc32= _u8' in $WRKSRC/build_detect_platform:227, c++ doesn't treat warning as error and the test will pass for armv6: c++ -x c++ - -o $CXXOUTPUT -msse4.2: c++: warning: argument unused during compilation: '-msse4.2' echo $? 0 The attached patch fixes the issue --=20 You are receiving this mail because: You are the assignee for the bug.=