[12:04] doko: I'll take a look and see what I can do [06:31] morning [07:21] fabbione; do you still need access to gorecki? [07:21] desrt: nope.. thanks :) [07:22] awesome === desrt resumes the crashing :) [07:22] desrt: i am confident you did try the new headers.. didn't you? [07:23] fabbione; actually, no [07:23] fabbione; i've been avoiding too much kernel hacking so that i didn't accidentally crash the box when you needed to use it :) [07:23] oh [07:23] thanks :) [07:23] well crash it and let me know :) [07:23] k. lemme check [07:24] i need to go offline soon for approx 20 minutes [07:24] MODPOST [07:24] modpost: /home/desrt/coconet/coconet.o no symtab? [07:25] /bin/sh: line 1: 14814 Aborted scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.12-3-powerpc64-smp/Module.symvers /home/desrt/coconet/coconet.o /home/desrt/coconet/large-page.o [07:25] very possibly my fault :) [07:25] yes [07:25] i saw that too [07:25] but given that all the rest compiles... [07:26] i sort of assumed it was a specific coconet problem [07:26] let me check [07:26] no. it's a -headers problem, i think [07:27] i'll try and find out more about it while you're offline [07:27] i don't think it is [07:27] (compiles just fine against the full kernel source 2.6.12 with ubuntu patches) [07:27] hmmmm [07:27] ok... leave my account around.. [07:27] i will look at it later [07:28] desrt: did you actually upgrade the kernel and headers to the latest version or are you just using the one i hacked locally? [07:29] whatever is currently in /usr/src/linux-kernel-headers [07:29] currently as in? [07:29] currently can be that you dist-upgraded the box 2 minutes ago [07:29] or currently is what i left there a few days back :P [07:29] i just did dist-upgrade now.. the only difference was a new yaboot [07:29] yeah the yaboot we fixed together [07:30] nod. i'm only running ubuntu-base... so not many updates [07:30] ok gimme a bit and i will come back [07:43] ok.. i've found the problem.. and it's one of those big sort of problems that won't easily go away [07:43] desrt: re [07:43] /usr/src/linux-headers-2.6.12-3-powerpc64-smp/scripts is a symlink to linux-headers-2.6.12-3/scripts [07:44] ie: all the various different arch versions share the same scripts/ directory [07:44] that's right... [07:44] the modpost script has a compile-time flag for 32bit or 64bit mode [07:44] if you run the 32bit version on a 64bit .o file you get the "missing symtab" error [07:44] it gets its settings from elfconfig.h [07:45] which contains this: #define KERNEL_ELFCLASS ELFCLASS32 [07:45] you'll basically need 2 versions of the modpost script... one for 32bit kernels and one for 64bit [07:46] crack [07:47] we need a completely different approach here :/ [07:47] bah [07:47] ok.. i got the problem thanks... [07:47] thanks again for all your work on this :) [07:48] this is going to be a real problem [07:48] btw: there is a working version of the kernel source in /usr/src/linux-source-2.6.12 that you can use for comparison [07:48] nah i got it thanks [07:48] if you compile coconet the top line in the Makefile is LINUX=/path/to/source [07:48] this is going to cost me an extra amount of painful work [07:49] anything i can do to help? [07:49] desrt: not really.. this needs to be fixed in the source package... [07:49] (just think -- you're solving the problem for biarch amd64 too) :) [07:49] when we build the kernel on the buildd's [07:49] that's the real problem [07:49] desrt: nope.. ppc64 is a "special case" all over the Makefiles [07:50] ah [07:50] because it's the only one that's cross compiled [07:50] god I hate building the monolith [07:50] even with it not building anything in programs/ except for the server and most of lib/ [07:50] hate hate hate [07:50] don't worry.. the machine i use to build is fast :) [07:50] daniels; Xc? [07:50] desrt: yeah [07:51] i really like the fd.o broken-out-everything approach with pkgconfig help [07:51] my back is hurting a lot [07:51] crap i must have slept really bad this night [07:52] clearly an indication that you require a mid-morning nap :) [07:52] desrt: i am not just tired.. my back is really hurting a lot [07:54] desrt: you're telling me === Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === chmj [~chmj@196.36.161.235] has joined #ubuntu-toolchain === Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === chmj [~chmj@196.36.161.235] has joined #ubuntu-toolchain === Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === chmj [~chmj@196.36.161.235] has joined #ubuntu-toolchain === zul [~chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-toolchain === Seveaz [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain === mirak [~c0553202@ip-42.net-81-220-108.rev.numericable.fr] has joined #ubuntu-toolchain [04:14] hello [04:14] I am trying to cross compile [04:14] my two architectures are ppc and i386 [04:14] I tried the howto [04:15] but it both fail when I try to build gcci386 for ppc and gcc-ppc for i386 [04:16] Which howto? [04:16] If it was anything other than http://kegel.com/crosstool/ you'd probably do better to start for there. [04:49] jbailey /usr/share/doc/toolchain/howto [04:49] I use this how to [04:50] I already followed the http://kegel.com/crosstool/ [04:50] some month ago but it failed as well [04:50] I use tpkg-make === desrt [~desrt@dhcp-0-20-af-d2-7c-3.cpe.mountaincable.net] has joined #ubuntu-toolchain === karim [~mirak@AAubervilliers-152-1-57-128.w82-121.abo.wanadoo.fr] has joined #ubuntu-toolchain [07:04] hi [07:04] how important are the glibc version and kernel version for cross compiling [07:04] ? [07:05] jbailey: hey [07:05] The versions shouldn't really matter. Cross compiling on older stuff might be a bit more finicky but not much. [07:05] You generally want to make sure your libraries that you're using for cross compiling are the same or older than the ones you'll be executing with. [07:05] Otherwise you risk symbol mismatches and stuff. [07:08] here is what I want to do [07:08] I want to set up a cross compile gcc [07:08] to use with distcc [07:08] my goal is to use this ubuntu i386 box to help this poor ppc G3 [07:09] so I don't think I need all the gdb and stuff to do that [07:09] jbailey: I don't understand why toolchain tpkg-make script fails [07:09] it's a pity because it's very handy [07:10] I haven't used that script, so I don't know. [07:10] I have some vague dreams of making it so that building cross compilers from the standard toolchain packages is trivial, but I haven't taken them past the dream stage. [07:17] well it IS trivial [07:17] but the compile fail [07:17] a problem with some files missing it seems [07:17] signal.h [07:31] IIRC, signal.h means you don't have glibc headers in place. [07:41] someone should start an arm port.. [07:45] Planning on it. === jbailey needs to get around to writing up the buntu spec. [07:57] wasnt there a paper at debconf for porting debian to another arch? [07:57] Dunno. I've done it twice, so wouldn't need much of a paper. [08:12] jbailey: how do I put them in place ? [09:06] karim: It depends where you've configured gcc to look for them. [09:06] I tend to use --with-sysroot [09:09] hem I am trying to use distcc [09:09] I can remotely connect and compile [09:09] but I don't know how to tell distccd to use the ppc gcc cross compiler [09:13] Dunno. I've read about doing that but have never done so. [09:13] I thought about doing that for the Debian hurd-i386 buildd. =) === doko [~doko@a130-233-5-210.debconf5.hut.fi] has joined #ubuntu-toolchain [09:14] Have a huge ccache tied in with distcc and cross compilers. [09:14] Make the hurd the fastest compile farm in Debian. =) [09:14] Of course, doko might kill me for thinking that thought out loud. =) [09:14] ? [09:15] so you did fix the biarch i386 builds? [09:15] ;) [09:15] karim: Or he'll play dirty. =) [09:16] what ? [09:25] I give up [09:42] if I compile for ppc on the i386 I can execute the binary on the ppc host [09:42] so cross compile work [09:42] but however distcc fail === lamont [~lamont@15.238.5.95] has joined #ubuntu-toolchain [09:42] it produce a little binary [09:43] that can't be executed [10:02] lamont, lamont-away: 4.0 did fail on the ia64 and hppa unstable buildds [10:02] figures [10:19] Eh? What's different than in breezy? [10:23] nothing is different. the ia64 buildd looks seriously broken