You are not logged in.

#1 2009-05-14 20:10:11

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

[Broken again] The new gcc downgrade thread

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. wink

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

#2 2009-05-14 20:27:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [Broken again] The new gcc downgrade thread

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

#3 2009-05-14 21:12:05

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [Broken again] The new gcc downgrade thread

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

#4 2009-05-14 22:15:19

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#5 2009-05-14 22:38:38

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [Broken again] The new gcc downgrade thread

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 tongue

Last edited by djgera (2009-05-15 01:51:54)

Offline

#6 2009-05-15 06:19:43

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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. lol lol lol lol

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

#7 2009-05-15 13:06:15

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [Broken again] The new gcc downgrade thread

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

#8 2009-05-15 13:12:48

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#9 2009-05-15 13:13:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [Broken again] The new gcc downgrade thread

Neo_The_User wrote:

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

#10 2009-05-15 13:16:02

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#11 2009-05-15 13:19:11

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [Broken again] The new gcc downgrade thread

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

#12 2009-05-15 13:20:21

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#13 2009-05-15 13:22:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [Broken again] The new gcc downgrade thread

Neo_The_User wrote:

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

#14 2009-05-15 13:26:53

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#15 2009-05-15 13:28:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [Broken again] The new gcc downgrade thread

Lets try again...

Downgrade gmp.

Offline

#16 2009-05-15 13:31:58

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

[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

#17 2009-05-15 13:45:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [Broken again] The new gcc downgrade thread

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

#18 2009-05-15 14:06:56

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#19 2009-05-16 16:51:24

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: [Broken again] The new gcc downgrade thread

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

#20 2009-05-16 18:32:49

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: [Broken again] The new gcc downgrade thread

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

#21 2009-05-16 20:17:14

kumyco
Member
From: somewhere
Registered: 2008-06-23
Posts: 153
Website

Re: [Broken again] The new gcc downgrade thread

Offline

#22 2009-05-16 21:54:16

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: [Broken again] The new gcc downgrade thread

Cool, thanks.

Offline

#23 2009-05-16 23:57:37

wolfvorkian
Member
Registered: 2008-05-09
Posts: 9

Re: [Broken again] The new gcc downgrade thread

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

#24 2009-05-17 00:31:11

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [Broken again] The new gcc downgrade thread

Neo_The_User wrote:

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

#25 2009-05-17 12:20:44

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: [Broken again] The new gcc downgrade thread

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

Board footer

Powered by FluxBB