1 |
On Saturday, March 21, 2015 8:46:10 AM Mike Gilbert wrote: |
2 |
> On Thu, Mar 19, 2015 at 12:20 AM, Walter Dnes <waltdnes@××××××××.org> wrote: |
3 |
> > CFLAGS="-O2 -march=atom -mno-cx16 -msahf -mmovbe -mno-aes -mno-pclmul - |
4 |
mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 - |
5 |
mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rtm -mno- |
6 |
hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr |
7 |
-mno-xsave -mno-xsaveopt --param l1-cache-size=24 --param l1-cache-line- |
8 |
size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector -mfpmath=sse - |
9 |
fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables" |
10 |
> > |
11 |
> > Is that correct (assuming that's my output)? |
12 |
> > |
13 |
> |
14 |
> I should warn you against including all of those -mno-xxx flags. This |
15 |
> has been known to break the build process for packages like chromium, |
16 |
> which always wants to build with SSE4 support and toggles it off at |
17 |
> runtime. Passing -mno-sse4.1 causes a build failure as it tries to use |
18 |
> macros that are not defined. |
19 |
> |
20 |
|
21 |
Isn't it possible that removing it for all packages would cause a more subtle |
22 |
problem with another faulty ebuild (like a program crashing due to an illegal |
23 |
instruction)? |
24 |
|
25 |
-- |
26 |
Fernando Rodriguez |