Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5322 - pgcc-2.95.2.1-r1.ebuild - (New Package)
Summary: pgcc-2.95.2.1-r1.ebuild - (New Package)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-20 21:04 UTC by Björn Kalkbrenner
Modified: 2003-05-18 19:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pgcc-2.95.2.1-r1.ebuild - (New Release) (pgcc-2.95.2.1-r1.ebuild,3.90 KB, text/plain)
2002-07-20 21:06 UTC, Björn Kalkbrenner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Kalkbrenner 2002-07-20 21:04:38 UTC
Hi,

attached is an ebuild file for the latest pgcc (http://www.goof.com/pcg/) which 
is just a patched version of the gcc. Packages compiled with it are 5%-25% 
faster than with the vanilla gcc (if e.g. -O3 and -march=pentiumpro is used).

I suggest sys-devel/pgcc.
Comment 1 Björn Kalkbrenner 2002-07-20 21:06:15 UTC
Created attachment 2428 [details]
pgcc-2.95.2.1-r1.ebuild - (New Release)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-21 11:24:18 UTC
Is this really needed with gcc-3.1 and upcomming gcc-3.1.1 (should be more bug
free) ?
Comment 3 Björn Kalkbrenner 2002-07-22 01:34:14 UTC
if you don't like gcc-3.1 yet and you would like to let the "old" 2.95.x do 
it's job, yes ;)

I'm not sure if the 3.1.1 does it's job really stable (because there are enough 
bugs known i think), i will use the pgcc some month more until gcc 3.1.1 is 
really stable and tested. pgcc is the same optimized gcc-compiler which is used 
for the stampede distribution (so called pentium and speed optimized). I'm not 
really sure if packages compiled with pgcc are faster than with gcc-3.1, but it 
works for me. I compiled gentoo from stage1 with pgcc with -march=pentiumpro 
and -O3 and no problems yet, it runs very fast, only the bash made troubles.

Whatever, just a small contribution from me, maybe there are some other people 
(like stampede users) who like these small compiler-optimisations ;) I am using 
and testing it at home now and at work on our servers in the future.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-22 13:53:01 UTC
Hehe, to be honest, I must admit I am with you in regards to gcc-3.x.  Ill have
a look .. most prob only this weekend though due to time limitations :(
Comment 5 Björn Kalkbrenner 2002-07-23 01:41:55 UTC
Just an information:

after i changed the compiler from gcc to pgcc in the scripts/bootstrap.sh and 
compiled with CFLAGS/CXXFLAGS=-mcpu=i686 -march=pentiumpro -O3 -pipe, 
everything worked well till stage3, system is up. 2 Problems found:

bash-2.05a-r2 - if compiled with optimisation-cflags/cxxflags, the script 
command "shift" segfaults - recompiling without opt. settings - OK

XFree-4.2.0-r12 - Nice problem. If i use the cflags, something changes the -
march=pentiumpro to -march=1 which isn't understood from pgcc. If i change it 
to -march=i686 it works. Haven't found a solution yet but it worked well 
without -march=pentiumpro.

Everything else compiles and worked well yet.

Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-23 14:19:29 UTC
Wont pgcc work with -march=i686 -mcpu=i686, as they are supposed to be
the same as pentiumpro ?
Comment 7 Björn Kalkbrenner 2002-07-23 23:49:50 UTC
No, not for pgcc. For additional informations, take a look at

http://www.goof.com/pcg/pgcc-faq.html#non_intel
and 
http://www.goof.com/pcg/pgcc-faq.html#SEC0401

Later ;)
Comment 8 Hanno Böck gentoo-dev 2003-05-18 19:17:12 UTC
I think we can close this one, as we have gcc 3.2.
pgcc seems to be unmaintained at all.