From owner-freebsd-office@FreeBSD.ORG Fri May 10 20:28:02 2013 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1288CCAD for ; Fri, 10 May 2013 20:28:02 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id CC156754 for ; Fri, 10 May 2013 20:28:01 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=EMiEIilC c=1 sm=0 a=fEl05wXzeJCkBz9gs2itqQ==:17 a=FtuzIWGT4-YA:10 a=HOQOAYpd0lgA:10 a=YNqtyO0l_hcA:10 a=LaogzpLLAAAA:8 a=HacUgyI6l6QA:10 a=DAVCABSluKc_OszmrY0A:9 a=wPNLvfGTeEIA:10 a=sol3VE4AAAAA:8 a=Ny_vhB8-EHtpbnWWdUsA:9 a=_W_S_7VecoQA:10 a=HHaMzGHmBJS5uCpr:21 a=fEl05wXzeJCkBz9gs2itqQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.63.29 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [209.6.63.29] ([209.6.63.29:15009] helo=utka.zajac) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPA id A2/E2-26387-0585D815; Fri, 10 May 2013 16:28:00 -0400 Message-ID: <518D5850.4020802@aldan.algebra.com> Date: Fri, 10 May 2013 16:28:00 -0400 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130325 Thunderbird/17.0.4 MIME-Version: 1.0 To: Baptiste Daroussin , office@freebsd.org Subject: boost-libs and CXXFLAGS (Re: devel/boost-bjam) References: <517ABC7F.6040807@aldan.algebra.com> <518066A5.6090601@aldan.algebra.com> <20130501181311.GW3577@ithaqua.etoilebsd.net> <5181885A.1030501@aldan.algebra.com> <20130502210136.GG79495@ithaqua.etoilebsd.net> <5182D5C9.4000004@aldan.algebra.com> <20130502215048.GI79495@ithaqua.etoilebsd.net> <5182E531.8050109@aldan.algebra.com> <20130502222115.GL79495@ithaqua.etoilebsd.net> In-Reply-To: <20130502222115.GL79495@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 20:28:02 -0000 On 02.05.2013 18:21, Baptiste Daroussin wrote: > Thanks you your investigation and tests, I'm expecting for your commit then. Though boost-libs are now built with the specified compiler, the compiler flags continue to be ignored. I don't necessarily mind the optimization level raised from -O2, that I specify, to -O3 that boost prefers, but I am also setting -march=native on my systems and this is getting dropped. For example: g++47 -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_LOCALE_DYN_LINK=1 -DBOOST_LOCALE_NO_POSIX_BACKEND=1 -DBOOST_LOCALE_NO_WINAPI_BACKEND=1 -DBOOST_LOCALE_WITH_ICONV=1 -DBOOST_LOCALE_WITH_ICU=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_NO_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I. -I/opt/include -c -o bin.v2/libs/locale/build/gcc-4.7.4/release/threading-multi/shared/message.o libs/locale/src/shared/message.cpp Without the -march flag, the compiler is forced to assume, the generated code must work even on i386, and can not take advantage of the MMX and the SSE instructions available on modern CPUs... Can anything be done about this? Thanks! Yours, -mi