You are not logged in.
OK Now that I know the rules are not to open bump an old thread from 6 months ago, umm... How do I downgrade gcc in testing to the one in core? I keep trying to compile a kernel but I get an error on usb stuff.
Tank you very much (Yes. Tank. As in a military issue tank.
edit: kernels won't compile, mesa won't compile, vlc, mplayer, totem the list just goes on.
Last edited by Neo_The_User (2009-05-15 21:04:04)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
Install Gcc 4.3 alongside instead. See http://bbs.archlinux.org/viewtopic.php?id=72045
Edit: I compiled 2.6.30-rcsomething and the latest mplayer from the svn just fine 2 days ago.
Last edited by Mr.Elendig (2009-05-14 20:33:49)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
pacman -S core/gcc
edit: OOPS, seems like gcc 4.4.0 already hit core too, so my line won't work for you ;-)
Then
pacman -U /var/cache/pacman/pkg/gcc-*.pkg.tar.gz
will do it
Last edited by Army (2009-05-14 21:14:29)
Offline
Army, the first one was actually what I was looking for. Thank you so so much!
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
Hi,
Instead of downgrade, try to fix the error if you can, or post the error to LKML or to USB subsystem ML (first search for the error was actually solved in git repos). This will help much more, than downgrade and skip the problem.
In last instance downgrade as instructed here.
Your decide what pill take
Last edited by djgera (2009-05-15 01:51:54)
Offline
Hehehehe...
sudo pacman -Rd gcc-libs gcc
sudo pacman -Ud /var/cache/pacman/pkg/gcc-libs-4.4.0-1-i686.pkg.tar.gz && sudo pacman -Ud /var/cache/pacman/pkg/gcc-4.4.0-1-i686.pkg.tar.gz
Now it works.
edit: I know.. thats bad what I did and dangerous and breaks stuff.
edit: no it doesn't:
main/imports.c: In function '_mesa_init_sqrt_table':
main/imports.c:362: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [main/imports.o] Error 1
make[3]: Leaving directory `/home/neo93/mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/neo93/mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/neo93/mesa'
make: *** [linux-dri-x86] Error 2
back to debian
btw allan broke it
Last edited by Neo_The_User (2009-05-15 06:37:39)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
edit: kernels won't compile, mesa won't compile, vlc, mplayer, totem the list just goes on.
actually, kernel compiles just fine with gcc 4.4.0-1, in other words, fix your compilation routine.
Offline
I'm talking about 4.4.0-2 in testing
edit: just try it. Just try 4.4.0-2 in testing for a day and try to compile a kernel, mesa, anything. I can't even compile vlc!
Last edited by Neo_The_User (2009-05-15 13:14:34)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
btw allan broke it
I always test compiling the kernel before pushing the toolchain to [testing]. So compiling the default Arch kernel works with the default CFLAGS. You aren't using -O3 by any chance? That is full of breakage...
Offline
Oh hey Allan! Can you put gcc 4.3 in the repos again? One more thing, i'm talking about 2.6.29.3 from kernel.org and linus's git tree. And no i don't edit the Makefile. I use -O3 for mesa though because I actually need it.
Last edited by Neo_The_User (2009-05-15 13:17:05)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
gcc-4.3 is not going to the repos again... but given your list of packages that won't compile, something else is going on.
gmp-4.3.1 is going to the repos now. That may fix some issues. Try downgrading it in the meantime.
Offline
Downgrading won't work. Its stuck in my hard drive.
edit: "A free library for arbitrary precision arithmetic" That's exactly what I need since gcc 4.4.0-2 is kinda stupid (literally stupid. Has a low IQ and other stuff.)
Last edited by Neo_The_User (2009-05-15 13:21:41)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
Downgrading won't work. Its stuck in my hard drive.
edit: "A free library for arbitrary precision arithmetic" That's exactly what I need since gcc 4.4.0-2 is kinda stupid (literally stupid. Has a low IQ and other stuff.)
I have no understanding of what you said there...
Offline
OK.....
[neo93@archie ~]$ sudo pacman -Rd gcc gcc-libs
(1/2) removing gcc [#####################] 100%
(2/2) removing gcc-libs [#####################] 100%
[neo93@archie ~]$ sudo pacman -Ud /var/cache/pacman/pkg/gcc-4.4.0-1-i686.pkg.tar.gz
loading package data...
(1/1) checking for file conflicts [#####################] 100%
(1/1) installing gcc [#####################] 100%
[neo93@archie ~]$ sudo pacman -Ud /var/cache/pacman/pkg/gcc-libs-4.4.0-1-i686.pkg.tar.gz
loading package data...
(1/1) checking for file conflicts [#####################] 100%
(1/1) installing gcc-libs [#####################] 100%
[neo93@archie ~]$
Try to compile something:
main/imports.c: In function '_mesa_init_sqrt_table':
main/imports.c:362: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [main/imports.o] Error 1
make[3]: Leaving directory `/home/neo93/mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/neo93/mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/neo93/mesa'
make: *** [linux-dri-x86] Error 2
And yet again... kernel compilation breaks on USB core.
edit: the 2nd code box was mesa. not a kernel. but kernels still don't compile for me because of USB, HID, Core, something like that.
Last edited by Neo_The_User (2009-05-15 13:27:53)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
Lets try again...
Downgrade gmp.
Offline
[neo93@archie ~]$ sudo pacman -Rd gmp
(1/1) removing gmp [#####################] 100%
[neo93@archie ~]$ sudo pacman -Sd core/gmp
looking for inter-conflicts...
Targets (1): gmp-4.2.4-1.1
Total Download Size: 0.43 MB
Total Installed Size: 1.14 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
gmp-4.2.4-1.1-i686 438.2K 981.4K/s 00:00:00 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
(1/1) installing gmp [#####################] 100%
OK Now... kernel this time. Not mesa. Give me some time to compile it. I will post an error if any here.
OK THAT WORKED! ALLAN THANK YOU SO MUCH! ALLANFIXEDIT!
Last edited by Neo_The_User (2009-05-15 13:44:14)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
I have just pushed gmp-4.3.1 to [testing]. That should fix this without having to downgrade.
Edit: seems this error is very hardware specific.
Offline
Thanks Allan!
edit: broken again
"drivers/usb/core/hcd.c:144: error: expected expression before '>>' token"
I get 4 errors of those when compiling a kernel
Last edited by Neo_The_User (2009-05-15 21:04:24)
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
OK I switched to debian so I guess you can just close this thread now
AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE
Offline
Maybe someone can upload the tarball gcc-4.3.3-1-i686.pkg.tar.gz and corresponding gcc-libs along with some md5sums for those packages?
Offline
all the files are @ http://arm.nrk.cc/ -- http://arm.nrk.cc/arms/gcc-4.3.3-1-i686.pkg.tar.gz
http://arm.nrk.cc/arms/[PKG] should get you any pkg you want
see http://wiki.archlinux.org/index.php/Downgrade_packages
Offline
Cool, thanks.
Offline
all the files are @ http://arm.nrk.cc/ -- http://arm.nrk.cc/arms/gcc-4.3.3-1-i686.pkg.tar.gz
http://arm.nrk.cc/arms/[PKG] should get you any pkg you want
see http://wiki.archlinux.org/index.php/Downgrade_packages
And thanks from me to for the helpful post. I was able to solve the gcc problem and downgrade very easily due to it. Now I can and did build mplayer which I needed the latest svn version for as the player in another program.
Takes a long time to compile gcc, nice to avoid the task.
Offline
edit: broken again
"drivers/usb/core/hcd.c:144: error: expected expression before '>>' token"
I get 4 errors of those when compiling a kernel
That looks like a code error rather than a compiler error...
Just downgrading is going to screw people over. C++ code built with gcc-4.4 will not run with gcc-libs-4.3.x. This really needs to go to a bug report.
Offline
I'm also having a problem with gcc 4.4.0 and mplayer. Everything compiles and builds just fine but when I try to play a file that has dts audio (i.e libdca is being used), I get a message saying mplayer crashed.
When building mplayer with gcc 4.3.3, everything works just fine.
Last edited by Nepherte (2009-05-17 12:21:08)
Offline