Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone successfully compile glibc-2.15 with march=bdver2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
vexatious
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2010
Posts: 85

PostPosted: Fri Jun 07, 2013 1:36 am    Post subject: Anyone successfully compile glibc-2.15 with march=bdver2? Reply with quote

Have not been able to compile glibc-2.15 with march or mtune bdver2 (or bdver1). Have the patch to fix avx and virtualization issues but it never compiles properly with bdver2 flags; march=native also gives problems. It seems to compile fine and finish but upon restarting xfce4 window manager (or restarting the computer) I get pango errors and corrupt text-icons.

Closest to bdver2 flags that work are: "-O2 -pipe -fomit-frame-pointer -mno-3dnow -msse -msse2 -msse3 -msse4a -msseregparm -mfpmath=sse -minline-all-stringops -fopenmp -mprefer-avx128 -fno-tree-pre -ftree-vectorize -funroll-all-loops -fprefetch-loop-arrays"; otherwise I get corrupt icons and no text on my desktop. This is with gcc-4.7.1 and binutils-2.22.52.0.2 on amd64. All other packages are built with the same flags but also including march=native and mtune=bdver2. Thoughts?

Regards
_________________
Gentoo
Slackware
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Fri Jun 07, 2013 1:41 am    Post subject: Reply with quote

I would poke around on the gcc bug tracker and see if it's a known issue, they're probably the ones who will ultimately fix it, unless you fix it yourself and submit a patch to gentoo ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum