X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by lists.alpinelinux.org (Postfix) with ESMTP id 50B215C5917 for ; Wed, 25 Oct 2017 23:36:41 +0000 (GMT) Received: by mail-qt0-f195.google.com with SMTP id z50so2213916qtj.4 for ; Wed, 25 Oct 2017 16:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jdEpC2ofhmat5mzOoE3wTro+RiNq6a3Jzfp+M6r2BI8=; b=Xixqbhfwj+tvJ382O4vMdQng8FCxzvLzitPVpvfzSCAIwa4nkwQ9gnSZiDrdyEAnHu 3L6N9s42RnGGYkh3AExe9wcumRQAcZn0ob0MOBV9iYs+4d8HUAX3hQXDTtB7QZE/UCdq guc9CD/2bxwIwyavvzyjhqiC4s8XgL8arjVZB6kzYstHMiTBvq60yaEKz4RN9oRJVbYT xI68gnNJUH56ckthWx8sumcPUVDmOu3Uw+ZBYUrHJYGKFvCI4MHPPMJjM5ny2s8PFZpT SDQ0Iq02xxDU4ikS771l6Sx6hyRfavYrBjN3/1X3Q9wSb6oVKzM+RaXvLePlcqBosAbp eaeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jdEpC2ofhmat5mzOoE3wTro+RiNq6a3Jzfp+M6r2BI8=; b=jgkVltNI5GB2N5J2L/50IY1aJZ+2dLHaiQxFmwdGVNRiqNS/QHVHgZ9hxBqbJ59qjn nGpgQvnRk/8Js0PvNCqAat2zTMMq4vbvBWsZ54sH5/UbD6CHZE4eMYKDd4U8aBGcb2iq 3WwW1GTqfrvUOc2MrvRT5bxs6w1jt/LN4vyw0/MUp3XePLALn/STHAuqQ/pWZJu+ZLpe mIRpKyrhdADO2azQ9p+sWdq+EFcRZ1sMpuEMdpzWtNtt7+nOOsBhBHHaLZt3fg8uK3E6 nPjQYPfSwNNIUXG677szlVVi25GjpzLia2nrX2Gk296FoybvzJ+X1kdPAs6/Ipo6izBl z6Zw== X-Gm-Message-State: AMCzsaU3wr9Q811hNz9E1azNksvunlyRH1pYGYuxnYasjUw6OR//NLyn gRLgELThap4Ps0CytxtUwakp3nVyxJEJfJcJ9w+pFQ== X-Google-Smtp-Source: ABhQp+QBqDCzqKci5HuhsnbXCAxWEURkXGb3GuRA3l5q7nTGFmGLUnjg8phSx70nrx+5X8hbcnbtKt8XcbfYNl++juI= X-Received: by 10.200.45.226 with SMTP id q31mr35056301qta.288.1508974600850; Wed, 25 Oct 2017 16:36:40 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.237.53.79 with HTTP; Wed, 25 Oct 2017 16:36:40 -0700 (PDT) In-Reply-To: <59F0E348.6020807@adelielinux.org> References: <20171025164614.14c4c57e@ncopa-desktop.copa.dup.pw> <59F0E348.6020807@adelielinux.org> From: William Pitcock Date: Wed, 25 Oct 2017 18:36:40 -0500 Message-ID: Subject: Re: [alpine-devel] force compile flag for musl? To: "A. Wilcox" Cc: alpine-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Wed, Oct 25, 2017 at 2:17 PM, A. Wilcox wrote: > On 25/10/17 09:46, Natanael Copa wrote: >> Hi, >> >> >> I wonder what you think about overriding the -Os compile flag for >> musl, and hardcode it to -O2. > > > Possibly. Is there some benchmarks available, maybe using libc-test > or such? > > >> What do you think? >> >> + # force -O2 compile flag for better performance + >> CFLAGS=3D"-O2" \ > > > No. Stuff in abuild.conf needs to be preserved and -O2 tacked on the > end (GCC will only honour last -O flag passed, so this is what you want). > > This is INCREDIBLY important to us at Ad=C3=A9lie because for instance > ppc64 BE requires -fno-inline-small-functions due to GCC bug elsewise > it will cause ABI issues with long double. We also use -march / -mcpu > which would be discarded here as well, which would cause it to be > slower on some platforms (-O2 won't help as much on x86_32 as it would > on -march=3Dpentium4 x86_32, for instance). Maybe we should fix the specfiles to bring in -fno-inline-small-functions on ppc64/ppc64le? This seems like something that could hurt if you run into it on a ppc64 mac= hine. William --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---