LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2004, 02:01 PM   #1
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Are there any issues on updating gcc (-> 3.3.3)


Hello,

yeah, I considered updating my gcc from 3.2.3 to 3.3.3 on Slackware 9.1. Will I get any incompatibilites after that. I have compiled a lot of packages with the compiler. Is it necessary to recompile them, or e.g. the kernel?

Thanks for your advice!

cu

hp_tux
 
Old 03-24-2004, 02:21 PM   #2
Crazy Travis
Member
 
Registered: Feb 2004
Location: Knoxville TN
Distribution: gentoo
Posts: 104

Rep: Reputation: 15
I would always compile my kernel with a version of gcc that is known to be very stable. Some people go back to 2.95 I use 3.2.3 and it works just fine. I haven't heard anything bad about 3.3.3, but you might encounter little bugs.
 
Old 03-24-2004, 02:30 PM   #3
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Original Poster
Rep: Reputation: 15
Hello,

Quote:
I would always compile my kernel with a version of gcc that is known to be very stable. Some people go back to 2.95 I use 3.2.3 and it works just fine. I haven't heard anything bad about 3.3.3, but you might encounter little bugs.
thank you for your quick reply. Maybe you are right - never change a winning team!

cu

hp_tux
 
Old 03-24-2004, 02:40 PM   #4
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
I recently did gcc3.3.3 and compiled 2.6.4 with no problems, ive compiled a few things since upgrading.. no problems yet (alsa 1.0.3 gave me a few troubles but i got it worked out)
 
Old 03-24-2004, 03:02 PM   #5
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Original Poster
Rep: Reputation: 15
Hello,

Quote:
I recently did gcc3.3.3 and compiled 2.6.4 with no problems, ive compiled a few things since upgrading.. no problems yet (alsa 1.0.3 gave me a few troubles but i got it worked out)
yes, that sounds interesting! Did you compile it from source or did you install the binary package?

Well, do you know anybody who switched over to 2.6 and alsa and had no trouble with sound?! I have solved the most problems so far, but I can't play any audio CD. The drive is working, but I can't hear anything.

And many thanks for your quick reply!

cu

hp_tux
 
Old 03-24-2004, 03:03 PM   #6
Crazy Travis
Member
 
Registered: Feb 2004
Location: Knoxville TN
Distribution: gentoo
Posts: 104

Rep: Reputation: 15
binary shouldn't involve gcc. And I had sound working perfectly with alsa in slackware. make sure to follow the steps for your card at www.alsa-project.org
 
Old 03-24-2004, 03:06 PM   #7
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by hp_tux
Hello,


yes, that sounds interesting! Did you compile it from source or did you install the binary package?

Well, do you know anybody who switched over to 2.6 and alsa and had no trouble with sound?! I have solved the most problems so far, but I can't play any audio CD. The drive is working, but I can't hear anything.

And many thanks for your quick reply!

cu

hp_tux
i installed from source.. and I also had no problems with sound after upgrading to 2.6.0 or 2.6.4

EDIT: sorry 2.6.4 compiled with gcc 3.3.3 took a few compiles before it worked.. but with 3.2.3 it worked first time on every recompile

Last edited by trey85stang; 03-24-2004 at 03:07 PM.
 
Old 03-24-2004, 03:43 PM   #8
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Original Poster
Rep: Reputation: 15
Hello,

Quote:
and I also had no problems with sound after upgrading to 2.6.0 or 2.6.4
well, my deepest respect!

I think, one problem may be that i'm missing two modules: "snd" and "soundcore". Alsaconf wrote the following into my "/etc/modprobe.conf":
Code:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.2 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
I can't find the appropriate options in the kernel config file! But nevertheless, KDE system sound with arts works, but no music from CD

I'm sure you can help me!

cu

hp_tux
 
Old 03-24-2004, 03:49 PM   #9
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
I keep a really stable gcc installed for critical packages, but I have the gcc symlinks pointing to 3.3.3. Get the best of both worlds.
 
Old 03-24-2004, 04:01 PM   #10
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by hp_tux
Hello,


well, my deepest respect!

I think, one problem may be that i'm missing two modules: "snd" and "soundcore". Alsaconf wrote the following into my "/etc/modprobe.conf":
Code:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.2 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
I can't find the appropriate options in the kernel config file! But nevertheless, KDE system sound with arts works, but no music from CD

I'm sure you can help me!

cu

hp_tux
hmmm.. im not sure about music from cd's... i usually just rip em to mp3's.. I think I will check that out when i get home today. I will let you know if it works or now.

although.. for sound to work at all.. you have to have snd and soundcore.. are you sure thats not compiled statically in the kernel?
 
Old 03-24-2004, 04:34 PM   #11
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Original Poster
Rep: Reputation: 15
Hello,

Quote:
are you sure thats not compiled statically in the kernel?
oh, yes, you are right:
Code:
CONFIG_SND=y
and the help screen says:
Quote:
CONFIG_SOUND:
...
the module will be called soundcore.
Well, I think this option is also responsible for the other module ("snd").

There are at least two modules which seem to be unnecessary: "snd-pcm-oss" and "snd-mixer-oss". I have unloaded them and sound is still working.

My Hardware:
Code:
# lspci -v
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 04)
        Subsystem: Intel Corp.: Unknown device 4d56
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at e800 [size=256]
        I/O ports at ef00 [size=64]
Chipset: Intel i850
Kernel: 2.6.4

Thank you so far!

cu

hp_tux
 
Old 03-24-2004, 09:23 PM   #12
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
the -oss modules provide OSS compatibility in case some program doesn't support ALSA but does support OSS
 
Old 03-25-2004, 06:40 AM   #13
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by hp_tux
Hello,


oh, yes, you are right:
Code:
CONFIG_SND=y
and the help screen says:


Well, I think this option is also responsible for the other module ("snd").

There are at least two modules which seem to be unnecessary: "snd-pcm-oss" and "snd-mixer-oss". I have unloaded them and sound is still working.

My Hardware:
Code:
# lspci -v
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 04)
        Subsystem: Intel Corp.: Unknown device 4d56
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at e800 [size=256]
        I/O ports at ef00 [size=64]
Chipset: Intel i850
Kernel: 2.6.4

Thank you so far!

cu

hp_tux
Ok bud, here is the deal.. I cannot play music cd's either.. but I think I have a kernel module left out or something.. cause KsCD and Kaudiocreator do not see my cd... keeps saying device not available :shrugs: Dont know if it will play though... Ill try and figure it out this weekend.
 
Old 03-25-2004, 03:31 PM   #14
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Original Poster
Rep: Reputation: 15
Hello,

@verdeboy2k:
Quote:
the -oss modules provide OSS compatibility in case some program doesn't support ALSA but does support OSS
oh, that's new to me, I thought, "alsa" and "arts" are providing sound, so that there would be no other way accessing the sound device. Thank you for the information!

Quote:
I keep a really stable gcc installed for critical packages, but I have the gcc symlinks pointing to 3.3.3. Get the best of both worlds.
Does this mean, you compile all with 3.3.3, but when you encounter problems, you take the original gcc from Slackware? What are the advantages of the new version: does it compile faster or smaller binaries, or is it faster, or what?


@trey85stang:
Quote:
Ok bud, here is the deal.. I cannot play music cd's either.. but I think I have a kernel module left out or something.. cause KsCD and Kaudiocreator do not see my cd... keeps saying device not available :shrugs: Dont know if it will play though... Ill try and figure it out this weekend.
Well, I tried the same with another Distro (Archlinux), but with the same result: sound is generally working, but no music from CD!

cu

hp_tux
 
Old 03-25-2004, 06:16 PM   #15
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by hp_tux

Well, I tried the same with another Distro (Archlinux), but with the same result: sound is generally working, but no music from CD!

cu

hp_tux

you do have an audio cable from your cdrom to the sound card right?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating GCC winterhunter Linux - Newbie 2 10-14-2005 10:33 PM
Trouble with updating in FC3 and setting up GCC habanerosky Linux - Newbie 3 02-27-2005 06:47 PM
updating gcc - am I specifying correct directories mullera Linux - Software 0 01-13-2005 09:07 AM
updating gcc boku Programming 6 09-01-2002 04:45 AM
Updating gcc 2.96 Doalwa Linux - Newbie 4 08-10-2002 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration