From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31654138CBE for ; Sat, 21 Mar 2015 19:52:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FDBFE0960; Sat, 21 Mar 2015 19:52:32 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) by pigeon.gentoo.org (Postfix) with ESMTP id 04A1BE0948 for ; Sat, 21 Mar 2015 19:52:30 +0000 (UTC) Received: from [142.196.200.180] ([142.196.200.180:34212] helo=navi.localnet) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 08/D8-04116-EFBCD055; Sat, 21 Mar 2015 19:52:30 +0000 From: Fernando Rodriguez To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? Date: Sat, 21 Mar 2015 15:52:02 -0400 Message-ID: <2482967.XKl8GgfQej@navi> User-Agent: KMail/4.14.3 (Linux/3.19.1; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: <20150319015612.GA7416@waltdnes.org> <20150319042026.GA7681@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-Archives-Salt: 75feb4aa-9c4f-4163-ad1f-6941ac4a515d X-Archives-Hash: 11355c9a780dd4170d6b98e1bc5c7528 On Saturday, March 21, 2015 8:46:10 AM Mike Gilbert wrote: > On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes wrote: > > CFLAGS="-O2 -march=atom -mno-cx16 -msahf -mmovbe -mno-aes -mno-pclmul - mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 - mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rtm -mno- hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt --param l1-cache-size=24 --param l1-cache-line- size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector -mfpmath=sse - fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables" > > > > Is that correct (assuming that's my output)? > > > > I should warn you against including all of those -mno-xxx flags. This > has been known to break the build process for packages like chromium, > which always wants to build with SSE4 support and toggles it off at > runtime. Passing -mno-sse4.1 causes a build failure as it tries to use > macros that are not defined. > Isn't it possible that removing it for all packages would cause a more subtle problem with another faulty ebuild (like a program crashing due to an illegal instruction)? -- Fernando Rodriguez