/srv/irclogs.ubuntu.com/2008/06/09/#ubuntu-toolchain.txt

munckfishI couldn't see a mailing list for the ubuntu toolchain, if I need to address you guys do I just mail ubuntu-devel and prefix subject with [toolchain] or similar?12:58
dokomunckfish: no separate list. is this about spu?14:05
munckfishdoko: got a sec?21:47
dokonot much, 11pm21:48
munckfishoh you're an hour ahead21:48
munckfishok I'll be quick21:48
munckfishright - this is about ppu-gcc cell-sdk etc21:49
munckfisha while back you said they were obsolete21:49
munckfishI understand this21:49
munckfishcause the patches are now upstream21:49
munckfishand we now have the ability to build spu-gcc etc21:49
munckfishin gcc 4.321:49
munckfishright21:49
munckfishso I tried to build a cross compiling toolchain21:49
munckfishfrom these sources21:50
munckfishby following debian/README.cross21:50
munckfishbintuils 2.18 -- great21:50
munckfishgcc 4.3 - doesn't compile21:50
munckfishso ...21:50
munckfishI desperately need a cross compiler21:50
munckfishand i think people helping on PS3 port do to21:50
munckfishso I've updated cell-gcc21:50
munckfishwould be you prepared to sponsor an upload of this to inrepid?21:51
munckfish*intrepid?21:51
munckfishover21:51
munckfishTo make your life easy - I have put the sources into bzr (yet to upload to LP, but that's detail), and I can host it in my PPA for review21:52
munckfishdoko: that's all for now21:54
dokowell, we should agree how to proceed. maybe ask arthur- what he intends to do for debian? would it be possible for you to build a new gcc-4.3-spu source package (empty) which build depends on gcc-4.3-source and builds this cross compiler?22:00
munckfishinteresting idea22:00
munckfishprobably and I'd prefer to do it this way22:00
arthur-hallo22:00
munckfishbut cell-gcc currently provides the least lead time for me22:00
arthur-(reading backlog)22:00
munckfishto get a cross compiling toolchain together so I can fix and test the PS3 the kernel22:01
munckfishe.g.22:01
dokoI do not want to build cross compilers from the "core" gcc-4.3 source, because it delays build times, and it doesn't really belong there22:01
munckfishdoko: I understand I'm not suggesting putting x compilers in the repo22:01
munckfishI understand the issues there22:01
munckfishjust it's not working right now22:02
munckfishI need to spend time on the kernel22:02
dokounderstood22:02
munckfishand I need to get other folks involved22:02
arthur-munckfish: so you need a !ppc -> spu cross-compiler ?22:02
munckfishI can revisit the problem I have compiling gcc 4.3 later22:02
munckfisharthur-: yes, most important at the moment is22:03
munckfisha powerpc and ppc64 capable toolchain22:03
munckfishthere are few projects using spu at the moment22:03
munckfishI won't get to packaing them for a few months I think22:03
munckfishI do not intend to maintain the cell SDK any longer than I have to22:04
munckfishbut it's so much easier than explaining to people about dpkg-cross and all that complicated baloney22:04
munckfish:)22:04
dokoyeah, my idea was just to use the upstream releases; apinski indicated this would be sufficient22:04
munckfisharthur-: sorry I misunderstood22:04
munckfishI need a power compiler on x8622:05
munckfishso I can build on my normal PC22:05
munckfishwhose apinski?22:05
dokopinskia22:05
doko,-P22:05
arthur-gcc dev from sony, doing spu and ps3 things and a lot of more22:06
arthur-doko: eheh22:06
munckfishok I recognise his nick22:06
arthur-munckfish: Andrew Pinski22:06
munckfishright22:06
munckfisharthur-: so are you going to be providing cell-sdk in debian?22:07
munckfishdoko: I will raise an issue for the gcc 4.3 cross problem I have22:07
munckfishI'll upload the sources I have anyway, if you don't want it I can just leave the package in my PPA until I get the 4.3 issue solved22:09
arthur-munckfish: no I don't think so, ps3 kernel will be built on a powerpc buildd so current packages are enough for the archive, I would prefer you making your own ppc compiler for x8622:09
arthur-what is your gcc-4.3 issue ?22:09
munckfishlinking error22:09
munckfishI use dpkg-cross to convert and install the powerpc libs e.g. libc etc22:10
munckfishwhen I build the powerpc64 compiler ld looks in the wrong place for libc.so22:10
munckfishfinds incompatible 32 bit libc22:10
munckfishthis is while building libgcc22:11
arthur-this shouldn't be hard to fix22:11
munckfishI looked up on Google found a discussion on Emdebian they were saying cross building 4.3 isn't cool just yet22:11
munckfisharthur-: I hoped not, but I'm new to gnu tools and Make so I have to focus my time and try not to get too sidetracked22:12
arthur-munckfish: cross building gcc-4.3 or building a gcc-4.3 cross compiler ?22:12
munckfishI'm sure you guys could fix it in an instant22:12
munckfishhost is x8622:12
munckfishbuilding ppc64 cross compiler22:12
munckfishfollowing instructions from debian/README.cross22:12
arthur-munckfish: ok I'm going to try to do it, just have to get some food first...22:13
munckfishok cool22:13
munckfishI have a note of the steps I took22:13
munckfisharthur-: when you return these are the steps I took:22:18
munckfishfirst read through debian/README.cross in both binutils-2.18 and gcc-4.322:19
munckfishfollowing the one from gcc22:19
munckfishfirst step was to get powerpc dep libs 22:19
munckfishinstalled on my pc22:19
munckfishdid this using dpkg-cross. apt-cross seemed to be broken or not working as I expected so I had to download the deps manually :(22:20
munckfishthey get installed under /usr/powerpc-linux-gnu and22:20
munckfish/usr/powerpc64-linux-gnu22:21
munckfishonce that was done I created binutils cross quite easily22:21
munckfishand installed22:21
munckfishthen on to gcc22:21
munckfishhalf way through that it gets stuck22:22
munckfishSo the main obstacles are22:22
munckfish1) getting the dep libs is a pain in the derriere, cause of apt-cross problem22:23
munckfish2) gcc build was failing linking 64 bit libgcc22:23
munckfishover22:23
arthur-munckfish: ok, launched a build22:44
arthur-munckfish: this is because it doesn't have a look in /usr/powerpc-linux-gnu/lib6422:50
arthur-I'll fix tomorrow, bed time22:51
munckfishgood night all22:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!