On Tue, Apr 7, 2009 at 9:12 AM, Joseph <syscon...@gmail.com> wrote: > On 04/07/09 09:12, Alan McKinnon wrote: >> >> On Tuesday 07 April 2009 00:22:49 Joseph wrote: >>> >>> On 04/06/09 21:20, Alan McKinnon wrote: >>> >On Monday 06 April 2009 04:13:07 Joseph wrote: >>> >> I upgraded to gcc-4.3.2-r3 rebuild system, world. The only package >>> >> that >>> >> did not compile was g-wrap. However, when I run "revdep-rebuild" it >>> >> quits at 21% >>> >> Does anybody know how to fix it? >>> >> >>> >> I tried recompiling gentoolkit; did not help. >>> > >>> >Error messages? >>> >Logs? >>> >Console output? >>> > >>> >Your question cannot be answered as all we know is that it "failed". 21% >>> > is also meaningless - that just says revdep-rebuild was doing it's main >>> > thing and stopped. >>> >>> I wish I could provide more information, the cursor just seats there, >>> there >>> is no error messages at the console. Which log " revdep-rebuild" writes >>> to? >>> >>> I'm rebuilding the system with the old CFLAGS so I'll have more >>> information >>> tomorrow. I used -march=native but I think my AMD64 didn't like it :-/ >> >> It's possible that gcc got confused as to what cpu you have an it's >> abilities. If you still don't know what CFLAGS to use, post your >> /proc/cpuinfo here and someone is bound to know what works well. >> > > Here is my cpuinfo; > cat /proc/cpuinfo > processor : 0 > vendor_id : AuthenticAMD > cpu family : 15 > model : 47 > model name : AMD Athlon(tm) 64 Processor 3000+ > stepping : 0 > cpu MHz : 1802.243 > cache size : 512 KB > fpu : yes > fpu_exception : yes > cpuid level : 1 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm > 3dnowext 3dnow up rep_good nopl pni > bogomips : 3604.48 > TLB size : 1024 4K pages > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > power management: ts fid vid ttp tm stc > > I'm runing 64-bit so in my case I think it will be Athlon not Sempron: > > Are the setting below correct? > CHOST="x86_64-pc-linux-gnu" > CFLAGS="-march=k8 -O2 -pipe"
I have the same CPU and i use -march=athlon64 but I think this is equivalent to k8 by reading the GCC docs. So I think it looks good.