David Bélanger | 5 Jun 2004 21:14
Picon
Favicon

X11 fails to compile


Hi,

Following a disk crash, I am currently installing Gentoo on my new disk.
I started from the 2004.1 LiveCD and I did an emerge sync.

I get compilation error for xorg-x11.
It says something like: "make: [X_cursor] Segmentation fault".
(sorry don't know how to copy/paste from console...)

I am currently using the stable version of most software.

I tried with both -O3 and -O2.

I also got this error before on my old disk while attempting to upgrade.

My emerge info is below.

Thanks,
David

ibou root # emerge info
Portage 2.0.50-r7 (default-ppc-2004.1, gcc-3.3.3,
glibc-2.3.3_pre20040420-r1, 2.
6.1-benh1)
=================================================================
System uname: 2.6.1-benh1 ppc 750FX
Gentoo Base System version 1.4.15
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
(Continue reading)

Pieter Van den Abeele | 5 Jun 2004 22:53
Picon
Favicon

Re: X11 fails to compile

put -fno-strict-aliasing in your CFLAGS. That is needed for gcc-3.3.3.

Best regards,

Pieter Van den Abeele

On 05 Jun 2004, at 21:14, David Bélanger wrote:

>
> Hi,
>
> Following a disk crash, I am currently installing Gentoo on my new 
> disk.
> I started from the 2004.1 LiveCD and I did an emerge sync.
>
> I get compilation error for xorg-x11.
> It says something like: "make: [X_cursor] Segmentation fault".
> (sorry don't know how to copy/paste from console...)
>
> I am currently using the stable version of most software.
>
> I tried with both -O3 and -O2.
>
> I also got this error before on my old disk while attempting to 
> upgrade.
>
> My emerge info is below.
>
> Thanks,
> David
(Continue reading)

David Bélanger | 6 Jun 2004 08:08
Picon
Favicon

Re: X11 fails to compile


Hi,

I added the -fno-strict-aliasing to my CFLAGS but I still have the same
problem...  I downgrade to gcc-3.2 and I still have the same problem.
Any other suggestion?

David

On Sat, Jun 05, 2004 at 10:53:39PM +0200, Pieter Van den Abeele wrote:
> put -fno-strict-aliasing in your CFLAGS. That is needed for gcc-3.3.3.
> 
> Best regards,
> 
> Pieter Van den Abeele
> 
> On 05 Jun 2004, at 21:14, David Bélanger wrote:
> 
> >
> >Hi,
> >
> >Following a disk crash, I am currently installing Gentoo on my new 
> >disk.
> >I started from the 2004.1 LiveCD and I did an emerge sync.
> >
> >I get compilation error for xorg-x11.
> >It says something like: "make: [X_cursor] Segmentation fault".
> >(sorry don't know how to copy/paste from console...)
> >
> >I am currently using the stable version of most software.
(Continue reading)

Daniel Wischolek | 6 Jun 2004 11:43
Picon
Favicon

Re: X11 fails to compile

Hi!

Am So, den 06.06.2004 schrieb David Bélanger um 8:08:
> I added the -fno-strict-aliasing to my CFLAGS but I still have the same
> problem...  I downgrade to gcc-3.2 and I still have the same problem.
> Any other suggestion?

I had to re-emerge libpng to get xorg-x11 to build!

Hope that helps,
Daniel

--
gentoo-ppc-user <at> gentoo.org mailing list

David Bélanger | 6 Jun 2004 23:36
Picon
Favicon

Re: X11 fails to compile


Hi,

Since X11 takes time to time compile, I cheated and installed the
precompiled binary... :(  I will try some other time.

I had some difficulty with gtk.  I re-emerge libpng and added the
-fno-strict-aliasing and it worked out!

Thanks for the help,
David

On Sun, Jun 06, 2004 at 11:43:58AM +0200, Daniel Wischolek wrote:
> Hi!
> 
> Am So, den 06.06.2004 schrieb David Bélanger um 8:08:
> > I added the -fno-strict-aliasing to my CFLAGS but I still have the same
> > problem...  I downgrade to gcc-3.2 and I still have the same problem.
> > Any other suggestion?
> 
> I had to re-emerge libpng to get xorg-x11 to build!
> 
> Hope that helps,
> Daniel
> 
> 

---

David Bélanger
(Continue reading)

David Bélanger | 8 Jun 2004 22:05
Picon
Favicon

ghostscript segfault...


Hi,

gv/xdvi do not work with postscript files...

Simply running gs and it segfaults:
Program received signal SIGSEGV, Segmentation fault.
0x100b4d24 in gs_gc_reclaim ()
(gdb) bt
#0  0x100b4d24 in gs_gc_reclaim ()
#1  0x1011008c in gs_image2_t_init ()
#2  0x10089198 in array_indexed_param_list_read ()
#3  0x1008507c in gs_interpret ()
#4  0x1007904c in gs_push_boolean ()
#5  0x1007ac9c in gs_main_init2 ()
#6  0x1007d330 in gs_main_init_with_args ()
#7  0x1002844c in main ()
(gdb)

I tried recompiling ghostscript a few time with different CFLAGS (-O2
and -fno-strict-aliasing) with the stable gcc 3.3 as well as gcc 3.4 without
success.  With gcc-3.4 it segfaults in some other function.

I run Gentoo on my x86 box, testing ~x86 version without any problem.
Is Gentoo more unstable on ppc or I am doing something wrong?  Any
suggestion on how to get it stable on my ppc would be appreciated.

Thanks in advance for your help,
David

(Continue reading)

Marko Vallius | 9 Jun 2004 06:39
Picon
Picon
Favicon

Re: ghostscript segfault...

On Tue, Jun 08, 2004 at 04:05:07PM -0400, David Bélanger wrote:                 
>                                                                               
> gv/xdvi do not work with postscript files...                                  
>                                                                               
> Simply running gs and it segfaults:                                           
> Program received signal SIGSEGV, Segmentation fault.                          

I've noticed, too. :-/ Newer ghostscripts do not seem to work on my ppc         
and this breaks just about everything (only xpdf works). See Gentoo             
Bugzilla:                                                                       

http://bugs.gentoo.org/show_bug.cgi?id=49227                                    

I downgraded to ghostscript-7.05.6-r4, which works ok. You can get an           
an ebuild from gentoo cvs:                                                      

http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/app-text/ghostscript/Attic/
ghostscript-7.05.6-r4.ebuild?rev=1.5                                            

--

-- 
Marko Vallius   	#  PGP public key A4B84F58

--
gentoo-ppc-user <at> gentoo.org mailing list

David Bélanger | 9 Jun 2004 23:17
Picon
Favicon

Re: ghostscript segfault...


Thanks for your help!

The older version works well.

David

On Wed, Jun 09, 2004 at 07:39:11AM +0300, Marko Vallius wrote:
> On Tue, Jun 08, 2004 at 04:05:07PM -0400, David Bélanger wrote:                 
> >                                                                               
> > gv/xdvi do not work with postscript files...                                  
> >                                                                               
> > Simply running gs and it segfaults:                                           
> > Program received signal SIGSEGV, Segmentation fault.                          
>                                                                                 
> I've noticed, too. :-/ Newer ghostscripts do not seem to work on my ppc         
> and this breaks just about everything (only xpdf works). See Gentoo             
> Bugzilla:                                                                       
>                                                                                 
> http://bugs.gentoo.org/show_bug.cgi?id=49227                                    
>                                                                                 
> I downgraded to ghostscript-7.05.6-r4, which works ok. You can get an           
> an ebuild from gentoo cvs:                                                      
>                                                                                 
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/app-text/ghostscript/Attic/
> ghostscript-7.05.6-r4.ebuild?rev=1.5                                            
> 
> -- 
> Marko Vallius   	#  PGP public key A4B84F58
> 
(Continue reading)

IsoH | 10 Jun 2004 21:30
Picon

G5 & missing performance


 I've noticed that there is no /proc/cpufreq anymore 
 (this is 2.6.7-rc2), so how do I suppose to give a command: 
    echo "x:yyyy:zzzz:performance" > /proc/cpufreq

 ???

 It is obvious that about 25-35% performance is missing;
 it is possible to gain this back if I boot by mac-boot & livecd,
 but I want to boot from /dev/sda now with full performance...

--

-- 

IsoH

--
gentoo-ppc-user <at> gentoo.org mailing list

Pieter Van den Abeele | 10 Jun 2004 23:06
Picon
Favicon

Re: [gentoo-ppc-dev] G5 & missing performance

is /proc/cpufreq useable on a G5?

The only thing I see on a G5 is /proc/cpuinfo, which displays:

pvdabeel <at> Dual-G5 proc $ cat cpuinfo
processor       : 0
cpu             : PPC970, altivec supported
clock           : 1800MHz
revision        : 2.2 (pvr 0039 0202)
bogomips        : 1200.12

processor       : 1
cpu             : PPC970, altivec supported
clock           : 1800MHz
revision        : 2.2 (pvr 0039 0202)
bogomips        : 1200.12

total bogomips  : 2400.25
machine         : PowerMac7,2
motherboard     : PowerMac7,2 MacRISC4 Power Macintosh
detected as     : 336 (PowerMac G5)
pmac flags      : 00000000
L2 cache        : 512K unified
memory          : 0MB
pmac-generation : NewWorld

On 10 Jun 2004, at 21:30, IsoH wrote:

>
>  I've noticed that there is no /proc/cpufreq anymore
(Continue reading)


Gmane