From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 20 14:52:08 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1B7719D for ; Fri, 20 Mar 2015 14:52:08 +0000 (UTC) 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 9370081C for ; Fri, 20 Mar 2015 14:52:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2KEq8EB046844 for ; Fri, 20 Mar 2015 14:52:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198738] Incorrect optimization flag SSE2 on i386 Date: Fri, 20 Mar 2015 14:52:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sasamotikomi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 14:52:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198738 Bug ID: 198738 Summary: Incorrect optimization flag SSE2 on i386 Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Ports Framework Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: sasamotikomi@gmail.com CC: portmgr@FreeBSD.org Many ports have -msse2 on 32-bit version FreeBSD. I think it's incorrect, many modern 32-bit processor have SSE but SSE2 isn't. As example affected many QT4/5 ports: >From devel/qt5-core: c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -msse2 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wall -W -pthread -D_THREAD_SAFE -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_GLIB -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_ICU -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.4.1 -I../../include/QtCore/5.4.1/QtCore -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I.moc -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qabstractanimation.o animation/qabstractanimation.cpp Even is define (in make.conf as CPUTYPE) processor without SSE2 support: c++ -c -O2 -pipe -march=athlon-xp -fstack-protector -fno-strict-aliasing -msse2 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wall -W -pthread -D_THREAD_SAFE -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_GLIB -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_ICU -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.4.1 -I../../include/QtCore/5.4.1/QtCore -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I.moc -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qdatetime.o tools/qdatetime.cpp -- You are receiving this mail because: You are the assignee for the bug.