Revert from gcc-3.4.0 to gcc-3.3.3

I'm trying to install VMware but I'm having a problem. When i compiled my kernel, i used gcc-3.3.3 and now i've since upgraded to gcc-3.4.0. However, VMware complains that i need to use the same gcc that I used to compile my kernel. I'd rather not recompile my kernel. Is there a simple way to revert gcc back to version 3.3.3.

Re: Revert from gcc-3.4.0 to gcc-3.3.3

This gcc 3.4 thing is deadly. I just tried to build a 2.6.6 kernel,and it will not get past make menuconfig.Then it barfs real bad about an internal gcc error and requestsa bug report. There is no way I can find to get round this.So the problem is to replace gcc 3.4 with something that works.

Getting rid of gcc 3.4 is easy. Just remember that somthing else might break when you do this.

pacman -Rd gcc

Getting gcc 3.3 is easy too,

ftp.ibiblio.org::distros/archlinux/0.6/os/i686/gcc-3.3.3-1.pkg.tar.gz

you can use another rsynch server if you wish.

My problem is how to convince pacman that gcc 3.3should be in a database?

:?: pacman -A ?? gcc 3.3 :?:

My local current.db.tar.gz only believes in gcc 3.4 After this problem is fixed, you need an entry in your/etc/pcman.conf that adds gcc to the NoUpgrade list.

Sorry I only have half the answer to your problem. However it is also possible to run 2 different versions of gcc ( according to the gcc people ) but I have never tried to do that.

Re: Revert from gcc-3.4.0 to gcc-3.3.3

in more ways than one.I have removed 3.4, and installed 3.3but small things lime man dont work anymore.However the kernel 2.6.6 does compile ( so far ), and after Iinstall it, I will upgrade back to gcc 3.4

I type too soon, kernel build falls over, but gets quite a distance into the build. So the answer is to keep gcc 3.4, and do a seperate installation of 3.3.whatever.I tried all that on a spare box, so it is not a disaster, and reinstalling arch is not a problem, but when I do I will zap gcc upgrades in /etc/pacman.conf

Re: Revert from gcc-3.4.0 to gcc-3.3.3

cs25x wrote:

This gcc 3.4 thing is deadly. I just tried to build a 2.6.6 kernel,and it will not get past make menuconfig

I've built 2.6.5 and 2.6.6 kernels here with gcc 3.4, never had a problem with menuconfig. I also recompiled glibc with -O3, using gcc 3.4, and have no problems. gcc 3.4 fixed many bugs which remain in 3.3.X.

I did have some weirdness with arch after installing, but that was before I used abs to recompile everything from source. After using gcc 3.4 to recompile all my packages with -O3, and using pacman -U to upgrade each package, I've had no problems.

Re: Revert from gcc-3.4.0 to gcc-3.3.3

kernel 2.6.6 builds just fine on gcc 3.4 and gcc-current for that matter - Andrew pushed patches to Linux for 2.6.5 I recall - we had (and made) a large part of them in Love-sources, and I have personally build several kernels with this compiler and the prereleases - hell I ran CVS when I was on Gentoo just for the hell of it.

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Thanks for y'alls help. I was able to download the gcc-3.3.3-1.pkg.tar.gz and then use

pacman --upgrade gcc-3.3.3-1.pkg.tar.gz

obviously there were several things that then failed, but I was able to run vmware-install.pl and get it installed. Then after running the vmware-config.pl script I ran pacman -Syu and returned to gcc-3.4.0

Unfortunatly, I'm getting other issues with VMware. But I'll worry about that later.

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Hardware is perfect.Celery 1.81G ram.

I built a 2.3 kernel on that box, no problems.

I have not got round to doing a fresh install yet, but like I said, linux 2.6.6 & gcc 3.4 falls over on make menuconfig, claiming an internal gcc error and a request for a bug report.After I find the CD and revitalise it, I will upgrade immediately and see if it still barfs.Right now I am on a more important machine, and there is no way I will touch this baby.P 2.2384M ramgcc 3.4linux 2.6.5 strainght from the archives.