Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?
Date: Sat, 21 Mar 2015 12:46:40
Message-Id: CAJ0EP413Qp8LqN4zXjwUCLSkDWiJ1LDSB0U8C_Fbf69opp51Yg@mail.gmail.com
In Reply to: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? by Walter Dnes
1 On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > 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"
3 >
4 > Is that correct (assuming that's my output)?
5 >
6
7 I should warn you against including all of those -mno-xxx flags. This
8 has been known to break the build process for packages like chromium,
9 which always wants to build with SSE4 support and toggles it off at
10 runtime. Passing -mno-sse4.1 causes a build failure as it tries to use
11 macros that are not defined.

Replies

Subject Author
Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? Fernando Rodriguez <frodriguez.developer@×××××××.com>
Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? Walter Dnes <waltdnes@××××××××.org>