Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
<SOLVED>*** fx 4100 bulldozer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Fri Jan 06, 2012 7:07 am    Post subject: <SOLVED>*** fx 4100 bulldozer Reply with quote

Good moaning.

I just got a new motherboard,processor and memory.
It's a AMD FX(tm)-4100 Quad-Core Processor.
I couldn't find the right settings for Cflags but tried using the ones for AMD FX(tm)-8120 Eight-Core Processor.


Code:
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"

That didn't work(-march=bdver1 -mtune=bdver1 errors ) so I tried deleting some from that:
Code:
CFLAGS="-O2 -pipe -fomit-frame-pointer   -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"

and
Code:
emerge -e system

And it compiles quite a lot of packages but then stops at qt-core with
Code:

kernel/qobject.cpp: In static member function ‘static void QMetaObject::addGuard(QObject**)’:
kernel/qobject.cpp:403:6: internal compiler error: Segmentation fault


I tried with
Code:
-march=native

but got >:
Code:
../3rdparty/javascriptcore/JavaScriptCore/runtime/StructureTransitionTable.h:132:37:   instantiated from here
../3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h:249:83: internal compiler error: Segmentation fault

I will try restarting emerge -e system and go to work.


Last edited by earthy on Fri Jan 20, 2012 6:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Fri Jan 06, 2012 7:38 am    Post subject: Reply with quote

BTW windows 7 works.
And quite well :D.
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Sat Jan 07, 2012 2:05 pm    Post subject: Reply with quote

x64 family 21
Model 1
stepping 2
ext.family 15
instruction MMX,SSE,SSE2,SSE3,SSE4.2,AES,AVX,EM64T,SSE4-A,AMD-V
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Sat Jan 07, 2012 2:11 pm    Post subject: Reply with quote

With current stable gcc I would go with:

CFLAGS="-O2 -pipe -march=amdfam10 -mtune=amdfam10 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Tue Jan 10, 2012 12:15 pm    Post subject: Reply with quote

Thanks for your help I am just starting to emerge due to some problems.
Mostly figuring out how this motherboard works with win7.
I has a nice bootup menu that can use the mouse 8)
And chrooting into kernel with usb since there is no ide(pata) port on this mobo. :P
but I am now emerging 33 pack of 299 and so far no complain
:D
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Thu Jan 12, 2012 2:08 pm    Post subject: Reply with quote

This was an old gentoo system for my old dual core mobo.
I am trying to save this system because I have made 5 failed attempts with different programs in windows,to make a live-gentoo usb,for reinstall.
Should I start another thread?
I have problem with pkg-config ATM.
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Thu Jan 12, 2012 3:06 pm    Post subject: Reply with quote

disregard last post I got Usb working with unetbootin.:D
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Tue Jan 17, 2012 9:02 pm    Post subject: Reply with quote

I am on my 2nd install as first one failed on the same package as this time : librsvg
cannot find cairo.h.
I don't know why.
Is it default portage behavior or something with the Cflags?
1st install was from 2011 live dvd
2nd from 2012 minimal.
Only difference is I emerged gentoolkit early in the process,
cause I suspected it might help.
Or is it because I follow 2 conflicting xorg guides:
http://www.gentoo.org/doc/en/nvidia-guide.xml
points to
http://www.gentoo.org/doc/en/xorg-config.xml.
Itś very confusing to say the least.
And kernel options in these guides are obsolete.
Does anyone know of up to date nvidia-xorg wikis?
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Tue Jan 17, 2012 9:15 pm    Post subject: Reply with quote

emerging cairo did not help.
I was wrong,revdep-rebuild did not help neither .
Back to square one.I would try gentoo 2013 livedvd next but it isn't out yet.
Well actually I am further back then square 1,cause I have no Idea what to try next.
The system boots and seems to work so I would like to assume the Cflags work.
But setting up xorg with nvidia is a totally different story and a chronic problem.
Back to top
View user's profile Send private message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 706
Location: Billings, MT, USA

PostPosted: Wed Jan 18, 2012 3:57 am    Post subject: Reply with quote

Just a shot in the dark, but did you try =native?
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Wed Jan 18, 2012 5:05 pm    Post subject: Reply with quote

Quote:
Is it default portage behavior or something with the Cflags?

Hasn't to do with either.

Likely bug https://bugs.gentoo.org/show_bug.cgi?id=391213

Resync and try again.
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Thu Jan 19, 2012 3:12 pm    Post subject: Reply with quote

As a side note, with such a new processor I'd give gcc-4.6 a try (with march=native)
Back to top
View user's profile Send private message
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Fri Jan 20, 2012 6:18 pm    Post subject: Reply with quote

Yeah I got all working except gdm.
So I am marking this as resolved.
Might resync this weekend and even try gcc-4.6 some later time.
Thank you for all your help.

:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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