Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

AMD Bulldozer CPU (8-Core); can't build icu, glibc, gcc

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Tatsh
Apprentice
Apprentice
Posts: 187
Joined: Sun Jul 22, 2007 4:48 am
Contact:
Contact Tatsh
Website

AMD Bulldozer CPU (8-Core); can't build icu, glibc, gcc

  • Quote

Post by Tatsh » Sat Jan 14, 2012 11:16 am

I get either segfaults or illegal instruction during building. For GCC 4.6, can't even get the past configuration because linking with mpfr fails (and no I cannot build mpfr either).

I was just able to compile big things like Chromium, LibreOffice, parts of KDE with:

Code: Select all

CFLAGS="-O2 -pipe -march=amdfam10 -mtune=amdfam10 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
But I decided I wanted to have my system fully on a specific GCC version, namely 4.6 because that actually has support for Bulldozer (-march=bdver1).

Is my only hope to reinstall everything? :(
Top
your_WooDness
Tux's lil' helper
Tux's lil' helper
Posts: 77
Joined: Thu Oct 25, 2007 9:01 am

  • Quote

Post by your_WooDness » Sat Jan 14, 2012 2:59 pm

Hej,

you should update to the latest GCC compiler to include BMI and TBM ( -mbmi / -mtbm ). At the office we played a bit with the -mbmi GCC option with a GCC 4.6.2 and had a real performance boost with benchmarks and this flag. Not sure if the -mtbm also boosts performance, need more time for playing...

WooD
Top
Tatsh
Apprentice
Apprentice
Posts: 187
Joined: Sun Jul 22, 2007 4:48 am
Contact:
Contact Tatsh
Website

  • Quote

Post by Tatsh » Sun Jan 15, 2012 1:43 am

your_WooDness wrote:Hej,

you should update to the latest GCC compiler to include BMI and TBM ( -mbmi / -mtbm ). At the office we played a bit with the -mbmi GCC option with a GCC 4.6.2 and had a real performance boost with benchmarks and this flag. Not sure if the -mtbm also boosts performance, need more time for playing...

WooD
That really doesn't work. I tried htop and curl and both compile but start and quit with 'Illegal instruction.'

These are my CFLAGS (on GCC 4.6.2):

Code: Select all

CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -mpclmul -mabm -mlwp -mavx"
I ended up reinstalling everything (but actually I may have only had to turn the memory speed back to 1333; this what was causing major problems during compilation). I guess the AMD Phenom II X4 and the Bulldozer are just too different to 'just work' (although 99% of things work; it's the 1% that's the problem).
Top
nlsa8z6zoz7lyih3ap
Guru
Guru
Posts: 388
Joined: Tue Sep 25, 2007 5:35 pm
Location: Canada

  • Quote

Post by nlsa8z6zoz7lyih3ap » Sun Jan 15, 2012 2:42 am

Similar things come up in http://forums.gentoo.org/viewtopic-t-90 ... ight-.html .
This might (or might not) be of interest to you.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic