1 |
2011/2/9 Ryan Hill <dirtyepic@g.o> |
2 |
|
3 |
> On Tue, 08 Feb 2011 09:52:55 +0100 |
4 |
> "Paweł Hajdan, Jr." <phajdan.jr@g.o> wrote: |
5 |
> |
6 |
> > It seems that with glibc-2.13 there are some serious compatibility |
7 |
> > issues. There are good warnings on the planet |
8 |
> > (http://psykil.livejournal.com/340806.html), but not every ~arch user |
9 |
> > reads the planet, so how about creating news item with detailed |
10 |
> > instructions how to ensure smooth glibc-2.13 update or recover a hosed |
11 |
> > system? |
12 |
> |
13 |
> We've blocked prelink in the ebuild so if a user is able to sync they're |
14 |
> either not going to be affected or already have been. |
15 |
> |
16 |
> Also I've the strong suspect that these changes: |
17 |
|
18 |
* New optimized string functions for x86-64: strnlen (SSE2), |
19 |
strcasecmp (SSE2, SSSE3, SSE4.2), strncasecmp (SSE2, SSSE3, SSE4.2) |
20 |
Implemented by Ulrich Drepper. |
21 |
|
22 |
Interact badly with strong optimizations like these |
23 |
|
24 |
CFLAGS="-O2 -march=core2 -pipe" |
25 |
CFLAGS="${CFLAGS} -msse4.1 --param l1-cache-size=32 --param |
26 |
l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2" # native |
27 |
CFLAGS="${CFLAGS} -fgcse-after-reload -fpredictive-commoning |
28 |
-ftree-vectorize -funswitch-loops" # O3 - -finline-functions -fipa-cp-clone |
29 |
CFLAGS="${CFLAGS} -fgraphite-identity -floop-block -floop-interchange |
30 |
-floop-strip-mine" # graphite & co (-fira-loop-pressure no good amd64) |
31 |
|
32 |
using gcc-4.5.2 |
33 |
|
34 |
Since the upgrade I do get portage emerging text files .sh, .conf and such |
35 |
as file of the exact same size but filled of \0, luckily most upgrade fails. |
36 |
|
37 |
cpu is: |
38 |
model name : Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz |
39 |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca |
40 |
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm |
41 |
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 |
42 |
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts |
43 |
tpr_shadow vnmi flexpriority |
44 |
|
45 |
I've masked glibc-2.13, also I'm not filing a bug, because of non-usual |
46 |
CFLAGS and because I'm not totally sure is glibc related. |