> You can't download it because PPA doesn't support PPC architecture. 
I went to the deb-src URL ([0] and [1]) directly, and use wget to download the 
source (the .tar.gz and .diff.gz). In the makefile, ppc arch is supported (so 
does ppc64). Not sure what do you mean by: PPA doesn't support PPC architecture.

> Anyway, in order for PPC arch to be available, you can compile code with 
> -fno-stack-protector, you should have no problems then.
1) what does -fno-stack-protector do? Is it required for ppc and ppc64?
2) If so, we should add this option to the makefile for ppc64 (ppc always has 
this option).

In any case, I add this option to fgetty (not to dietlibc), and changed
CROSS to ppu- in both Makefiles. fgetty works great. Thanks!

FYI, here is memory comparison:
 before login:
            VIRT  RES SHR
 getty:   1864  612  544
 fgetty:     120   28   12 
 after login:
 getty:  getty is gone, but login stays, with about 1200k memory
 fgetty: both fgetty and login are gone.

So basically, for each tty, fgetty saves about half mega memory before
login, saves 1M after login. Ubuntu comes with 6 ttys by default. So
that is 3M, 6M respectively. This is significant savings for PS3.

We should makes this as the default for PS3, unless someone seems a drawback...
  
 


[0] http://ppa.launchpad.net/dietlibc-hackers/ubuntu/pool/main/d/dietlibc/ 
[1] http://ppa.launchpad.net/dietlibc-hackers/ubuntu/pool/main/f/fgetty/

-- 
fgetty
https://bugs.launchpad.net/bugs/252652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to