Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/egcs64-sparc package conflicts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Jan 08, 2004 5:51 pm    Post subject: sys-devel/egcs64-sparc package conflicts Reply with quote

I run emerge -Up world and get a list of a bunch of things I should update:
Code:

[ebuild     U ] sys-devel/gettext-0.12.1 [0.11.5-r1]
[ebuild     U ] sys-devel/binutils-2.14.90.0.7-r3 [2.14.90.0.6-r6]
[ebuild     U ] sys-boot/silo-1.3.1-r1 [1.3.0-r1]
[ebuild     U ] app-arch/bzip2-1.0.2-r3 [1.0.2-r2]
[ebuild     U ] sys-apps/portage-2.0.49-r21 [2.0.49-r20]
*** Portage will stop merging at this point and reload itself,
    recalculate dependencies, and complete the merge.

[ebuild     U ] dev-util/ccache-2.3 [2.2]
[ebuild     U ] sys-apps/groff-1.18.1-r4 [1.18.1-r3]
[ebuild     U ] x11-wm/fluxbox-0.9.7 [0.1.14-r2]
[ebuild     UD] net-print/foomatic-filters-3.0.0.20031018 [20031018]
[ebuild     UD] net-print/foomatic-db-engine-3.0.0.20031018 [20031018]
[ebuild     UD] net-print/foomatic-3.0.0.20031018 [20031018]
[ebuild     U ] sys-apps/gawk-3.1.3-r1 [3.1.3]
[ebuild     U ] app-portage/gentoolkit-0.1.38 [0.1.37]
[ebuild     U ] net-analyzer/ethereal-0.9.16 [0.9.13]
[ebuild     U ] net-misc/rsync-2.6.0 [2.5.7]
[ebuild     U ] net-analyzer/nmap-3.48 [3.45]
[ebuild     U ] sys-devel/gcc-config-1.3.4 [1.3.3-r1]
[blocks B     ] sys-devel/egcs64-sparc (from pkg sys-devel/gcc-sparc64-3.2.3)
[ebuild  N    ] sys-devel/gcc-sparc64-3.2.3


I've never seen a block before. This looks like
a pretty tricky one for my first case. So do I unemerge
egcs64-sparc and then emerge in gcc-sparc64? I expect
a catch-22 from that, or is this purely related
to kernel compiling?

How do I deal with this?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Jan 08, 2004 8:26 pm    Post subject: Reply with quote

It's just for the kernel. To be paranoid, you can do something like
Code:

quickpkg egcs64-sparc
emerge -C egcs64-sparc

And then the build of gcc-sparc64 goes fine. (And quickly, since
it is building just enough of a compiler to compile the kernel.) What it builds is
gcc64 -> sparc64-unknown-linux-gnu-gcc

Then, according to the ebuild, what you do is put this in your
profile file
Code:

alias sparc64make='make ARCH=sparc64 CROSS_COMPILE=sparc64-unknown-linux-gnu-'


and use sparc64make for making your kernel.

If you do this, it does in fact build a kernel, and I understand the kernel
works fine (but I haven't tried it beyond the kernel build itself).
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Thu Jan 08, 2004 9:12 pm    Post subject: Reply with quote

From hanging out in #gentoo-sparc compiling other things in 64 bit mode makes them slower. (most won't compile) A 64bit kernel is good because it lets you run 32bit and 64bit binaries.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Fri Jan 09, 2004 1:47 am    Post subject: Reply with quote

You don't need the alias either to make your kernel. gcc-sparc64 will act as a drop-in replacement for egcs64-sparc, which among other things allows you to build 2.6 kernels (though not recommended at this time as the support for sparc and sparc64 is spotty).
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Jan 09, 2004 2:30 pm    Post subject: Reply with quote

Just to follow up, for labrador's concern. I have installed the rebuilt
kernels & modules on U2, U60 (SMP), and for
2.4.23-sparc-r1, the replacement compiler seems to have done fine.
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 434

PostPosted: Fri Jan 09, 2004 8:51 pm    Post subject: Reply with quote

I have been using gcc 3.x compiled kernels (2.4.x) for a very long time, there is one mailrelay machine (50k+ mails/day) with 200+ days of uptime. I did this because egcs compiled kernel weren't stable enough,

xming

BTW: nice to see my gcc64 ebuild in the portage :)
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Fri Jan 09, 2004 10:55 pm    Post subject: Reply with quote

xming wrote:
BTW: nice to see my gcc64 ebuild in the portage :)


Thanks for contributing it :)
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Jan 09, 2004 10:55 pm    Post subject: Reply with quote

xming! dude! you're alive!!!
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 434

PostPosted: Sat Jan 10, 2004 8:41 pm    Post subject: Reply with quote

Quote:
Thanks for contributing it

You welcome, I needed it myself and by intergrating it in the portage just makes my life a bit easier.
Quote:
xming! dude! you're alive!!!

Thanks for you concern :) Lately I am too busy (with goats and sheeps :) ) hopefully I will have some time after February and will get back to the IRC,

BTW and ciaranm congrats to your developership :lol:

xming
Back to top
View user's profile Send private message
ak_hepcat
n00b
n00b


Joined: 16 May 2003
Posts: 4
Location: Anchorage, Ak

PostPosted: Sat Jan 31, 2004 12:44 am    Post subject: Reply with quote

Ferris wrote:
It's just for the kernel. To be paranoid, you can do something like
Code:

quickpkg egcs64-sparc
emerge -C egcs64-sparc

And then the build of gcc-sparc64 goes fine.


Hmm. I must be having some weird errors then. I've tried all sorts of tricks and such to get gcc-sparc64 to build correctly, but every time I try, it fails:

make[2]: sparc64-unknown-linux-gnu-ar: Command not found

There doesn't seem to be a binutils64.... What am I missing?
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sat Jan 31, 2004 12:52 am    Post subject: Reply with quote

Try reemerging binutils. Failing that, what's your CHOST?
Back to top
View user's profile Send private message
ak_hepcat
n00b
n00b


Joined: 16 May 2003
Posts: 4
Location: Anchorage, Ak

PostPosted: Mon Feb 02, 2004 9:07 pm    Post subject: Reply with quote

ciaranm wrote:
Try reemerging binutils. Failing that, what's your CHOST?


It's currently sparc-unknown-linux-gnu

Does this need to be set to sparc64-uknown-linux-gnu when re-emerging binutils?

Thanks!
Back to top
View user's profile Send private message
ak_hepcat
n00b
n00b


Joined: 16 May 2003
Posts: 4
Location: Anchorage, Ak

PostPosted: Mon Feb 02, 2004 9:45 pm    Post subject: Reply with quote

ak_hepcat wrote:
ciaranm wrote:
Try reemerging binutils. Failing that, what's your CHOST?


It's currently sparc-unknown-linux-gnu

Does this need to be set to sparc64-uknown-linux-gnu when re-emerging binutils?

Thanks!


Ah, yeah, that seems to have been the problem the whole time. Sigh. And it's probably on a FAQ that I overlooked somewhere, too.

Figures.

(slinks off to the corner like a newbie and not like a linux user since '92.. :-( )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
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