Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 3.4.3 is upon us!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Mon Mar 28, 2005 3:16 am    Post subject: Reply with quote

radfoj wrote:
but "emerge -e system" will not emerge gcc-3.3.5

Because 3.4.3.20050110-r1 is the latest version available to you, so portage will emerge that unless you specify that you want it to emerge 3.3.5.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Mon Mar 28, 2005 1:32 pm    Post subject: Reply with quote

Is gcc-3.4.3-r1 the latest version?
I see it has the most recent date stamp, but it won't emerge regardless of whether I put -* or ~x86 anywhere in my package.keywords or put gcc in package.unmask

What gives? Am I confused?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Mon Mar 28, 2005 1:44 pm    Post subject: Reply with quote

What did you put into package.keywords? Show us the line please.
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Mon Mar 28, 2005 2:58 pm    Post subject: Reply with quote

kimchi_sg wrote:
What did you put into package.keywords? Show us the line please.


I tried it like this:
Quote:

sys-devel/gcc-config ~x86
sys-devel/gcc ~x86


and this:
Quote:

sys-devel/gcc-config -*
sys-devel/gcc -*

in package.keywords

and then I put this:
Quote:

sys-devel/gcc

in package.unmask

none of that worked.

This is my gcc-config -l:
Quote:

zaire src # gcc-config -l
[1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3
[3] i686-pc-linux-gnu-3.4.3-20050110 *
[4] i686-pc-linux-gnu-3.4.3-20050110-hardened
[5] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[6] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp
[7] i686-pc-linux-gnu-3.4.3-hardened
[8] i686-pc-linux-gnu-3.4.3-hardenednopie
[9] i686-pc-linux-gnu-3.4.3-hardenednossp


Is 20050110 the latest?
The ebuild from 3.4.3-r1 looks like it is from March.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Mon Mar 28, 2005 3:16 pm    Post subject: Reply with quote

Your package.keywords (first version) is the correct format.
Specifying ~x86 keyword will get you the latest ~x86 gcc package, which is 3.4.3.20050110-r1 iirc. So if you do not get 3.4.3-r1, that is normal. :)
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Mon Mar 28, 2005 3:44 pm    Post subject: Reply with quote

kimchi_sg wrote:
Your package.keywords (first version) is the correct format.
Specifying ~x86 keyword will get you the latest ~x86 gcc package, which is 3.4.3.20050110-r1 iirc. So if you do not get 3.4.3-r1, that is normal. :)


well, goodness, why'd you make me post all that?
lol, I was just curious which was the latest version ;)
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Mon Mar 28, 2005 10:19 pm    Post subject: Reply with quote

Then next time just check http://packges.gentoo.org :wink:.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Mon Mar 28, 2005 11:54 pm    Post subject: Reply with quote

I was going to recompile my system with the gcc 3.4.3 but when I attempt emerge -e system I get a block between linux-headers and linux26-headers, I remember in the install manually that this can sometimes happen and you should use --oneshot --nodeps, but since this isn't a fresh installation I was wondering what I should do to resolve this?
It also seems the emerge -e --oneshot --nodeps system would compile 68 packages, while emerge -e system would recompile 70+. Just want some imput before I do something stupid and bork my system :wink: .
Thx.
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 12:12 am    Post subject: Reply with quote

Would you please be a bit more clear than "between"? Like which one's doing the blocking? My guess is that linux-headers is blocking linux26-headers, in which case you need to unmerge linux-headers and emerge linux26-headers, then you should be good to go.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Tue Mar 29, 2005 12:16 am    Post subject: Reply with quote

Valhalla wrote:
It also seems the emerge -e --oneshot --nodeps system

You should never be using --nodeps with a package class (ie, system or world). I suspect it could be a great way to break things. ;)
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Tue Mar 29, 2005 12:46 am    Post subject: Reply with quote

donjuan wrote:
Then next time just check http://packages.gentoo.org :wink:.
[fixed]

Yes indeed!
Thank you.

Now I see why the r1 ebuild was changed on March 27th, whereas the 2005 ebuild was changed on the 21st--purely due to marking platforms as stable, it appears.

Thank you both for your help, I do appreciate the tips everyone comes up with on this board.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Tue Mar 29, 2005 2:10 am    Post subject: Reply with quote

yeah, linux-headers is blocking linux26-headers, and unmerging linux-headers won't break anything, right?

kimchi_sg wrote:

You should never be using --nodeps with a package class (ie, system or world). I suspect it could be a great way to break things. :wink:


Thats why I asked first :wink:
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 2:57 am    Post subject: Reply with quote

No, unmerging linux-headers won't break anything as long as you emerge linux26-headers soon after.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Tue Mar 29, 2005 3:10 am    Post subject: Reply with quote

If you've changed profiles (2005.0, and you should) then linux-headers are what you want, linux26-headers are the old.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Tue Mar 29, 2005 3:33 am    Post subject: Reply with quote

Um, ok, I'm confused now, how do I change profiles? And which -headers should I use?
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Tue Mar 29, 2005 3:44 am    Post subject: Reply with quote

If you are on an 2004.3 profile with a 2.6 kernel then you would have linux26-headers. If you're on a 2005.0 profile you would have linux-headers and they would be 2.6.8-r4 (I believe).

To change your profile for an x86 install.
Code:

rm /etc/make.profile
ln -s /usr/portage/profiles/default-linux/x86/2005.0 /etc/make.profile

Change the arch to match yours if it's different.

No matter which profile you have there shouldn't be anything masked or unmasked by you, it should all get handled automatically.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Tue Mar 29, 2005 3:49 am    Post subject: Reply with quote

Um, so I switched profiles, and now I get this :?

Code:

MindStorm ryan # emerge -ep system

These are the packages that I would merge, in order:

Calculating system dependencies |
!!! All ebuilds that could satisfy "sys-kernel/linux-headers" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/linux-headers-2.4.23_p3 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.0.40 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.21 (masked by: profile)
- sys-kernel/linux-headers-2.6.8.1-r2 (masked by: package.mask)
# <johnm@gentoo.org> (1/12/2004)
# Masking all 2.6 versions of kernel packages which were originally
# 2.4 only so that we can merge 2.6 with 2.4 without forcing a
# mass upgrade.
# this includes the headers too

- sys-kernel/linux-headers-2.4.23 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.22 (masked by: profile)
- sys-kernel/linux-headers-2.4.25 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.21-r1 (masked by: profile)
- sys-kernel/linux-headers-2.4.26 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.22-r1 (masked by: profile)
- sys-kernel/linux-headers-2.2.26 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.6.11 (masked by: package.mask, -* keyword)
- sys-kernel/linux-headers-2.6.8.1-r4 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "sys-apps/util-linux-2.12q" [ebuild])


!!! Problem with ebuild app-arch/bzip2-1.0.2-r5
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.


I'm clueless on this one.
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Tue Mar 29, 2005 3:52 am    Post subject: Reply with quote

ummm have you sync'd today? If not then you should and do it even if you have unless it was 10 minutes ago. ;)
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 4:13 am    Post subject: Reply with quote

Removed misinformed instructions.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install


Last edited by donjuan on Tue Mar 29, 2005 4:41 am; edited 1 time in total
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Tue Mar 29, 2005 4:25 am    Post subject: Reply with quote

No!
If you have a 2.4 kernel then you use the 2005.0/2.4/ profile.

If you have 2005.0 profile then you DO NOT have linux26-headers. It gets changed when you change your profile and sync.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 29, 2005 4:40 am    Post subject: Reply with quote

Sorry, guess I missed out on that info being on amd64 and just following that upgrade guide: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=1
I actually lifted that line right out of there. I still remember reading that there was an intention of depreciating 2.4 kernels sometime soon, so I thought it happened with 2005.0, oh well :?.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Tue Mar 29, 2005 5:12 am    Post subject: Reply with quote

Ok, that cleared it right up. Stupid me shoudla --sync'ed. Doh :roll:
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
melanarchy
n00b
n00b


Joined: 03 Dec 2002
Posts: 11
Location: New York

PostPosted: Mon Apr 18, 2005 8:58 pm    Post subject: Reply with quote

I'm posting in this thread although this may be a different bug. I ssh to my box from work to compile new things during the day. Usually I start a screen and then kill the connection so it just upgrades while I'm doing my work. The last couple of days I've gotten home and my machine has been frozen. I hadn't really given it a second thought, it wouldn't be unusual for power to kill my machine 3 nights in a row. Today I left the window open and this was the even that lead to the machine freezing: (after running emerge sync & emerge -Du world)

Code:
gcc -c    -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/gcse.c -o gcse.o
/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/gcse.c: In function `expr_equiv_p':
/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/gcse.c:1797: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.


Any help would be appreciated.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Mon Apr 18, 2005 9:23 pm    Post subject: Reply with quote

I'm not very in the know about these things, but to me, that looks like either gcc got badly built, or you found a bug.
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
melanarchy
n00b
n00b


Joined: 03 Dec 2002
Posts: 11
Location: New York

PostPosted: Mon Apr 18, 2005 9:25 pm    Post subject: Reply with quote

Valhalla wrote:
I'm not very in the know about these things, but to me, that looks like either gcc got badly built, or you found a bug.


gcc is capable (to the best of my knowledge) of correctly building other things on my system so perhaps this is a bug, when I get home and can reboot I'll post it over at bugzilla.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Page 11 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum