**** BEGIN LOGGING AT Wed Nov 04 02:59:57 2009 Nov 04 05:48:10 Hello folks Nov 04 05:49:01 I'm trying to build an ARM cross toolchain to match the native toolchain from Ubuntu's ARM repository Nov 04 05:49:06 Has anybody done this already? Nov 04 05:53:38 lbt may have Nov 04 05:53:54 we use one in our obs cross setup at least Nov 04 05:58:59 Um lbt? obs? Nov 04 05:59:36 Thought I'd try apt-cross but it obstinately refuses to look at Ubuntu source mirrors Nov 04 06:00:20 lbt=a nickname, obs=a builder service Nov 04 06:00:51 Stskeeps, okay. Will wait till lbt shows up, I guess. Nov 04 06:08:05 Ford_Prefect|w, why do you want a cross-compiler Nov 04 06:08:06 The toolchain packages are the same across all architectures. You can get the most recent source suitable for building cross-compilers by installing binutils-source, gcc-source, and glibc-source Nov 04 06:09:37 NCommander, I'm working on an SDK which provides a cross-compiler Nov 04 06:09:48 So development happens on the host, binaries are copied to the target Nov 04 06:10:25 Ford_Prefect|w, with the target running Ubuntu or? Nov 04 06:10:29 NCommander, I can pull the sources on the host but I was hoping to find scripts to do the whole bootstrapping shebang Nov 04 06:10:32 NCommander, Ubuntu Nov 04 06:10:42 On the target and host, both Nov 04 06:10:46 Ford_Prefect|w, in general, we don't support cross-compiling for Ubuntu. Nov 04 06:10:51 Everything is natively compiled Nov 04 06:11:10 There are a few guides though to getting the toolchain off the ground Nov 04 06:12:09 Okay. I think before long I won't be the only one who needs this. :) Nov 04 06:16:10 As in, cross-compiling is a common enough use case in a lot of development environments, so it wouild be good to have a standard method to generate and use these. Nov 04 06:19:40 Ford_Prefect|w: talk to lbt for sure :) we have a very cool solution in this regard Nov 04 06:19:50 building qt for armel in 4 hours Nov 04 06:20:07 Ah, excellent Nov 04 06:20:12 But wow, 4 hours? Nov 04 06:20:22 Does it really take that long on the host? Nov 04 06:20:33 * Ford_Prefect|w huggles gtk and glib :P Nov 04 06:20:50 it takes 3-4 days natively Nov 04 06:21:06 Nov 04 06:21:15 These are those orion5x' I've hear of? Nov 04 06:22:10 either way we compiled our entire Mer with gtk,glib,qt in a day :P Nov 04 06:22:32 Ah, omap2 :) Nov 04 06:22:45 Reminds me that I need to try Mer out on my N810 Nov 04 06:22:55 doesnt have to be omap2 :P Nov 04 06:23:09 :) True, dat Nov 04 06:25:39 check out http://wiki.maemo.org/Mer/Build , especially the cross section Nov 04 06:26:19 Thanks! ... looking Nov 04 06:36:22 We're actually using CodeSourcery's toolchain for cross-compiling right now, but there's potential for ABI breakage there, since they're not the same version as on the target Nov 04 06:36:55 yeah, it is better to have matching Nov 04 06:40:02 * armin76 looks at Ford_Prefect|w Nov 04 06:40:31 Heya armin76 :) Nov 04 06:40:42 (don't ask me why we're not just using Gentoo and crossdev :P) Nov 04 07:06:01 Stskeeps, depends on what hardware you have ;-) Nov 04 07:06:10 NCommander: yes, of course :P Nov 04 07:06:13 Stskeeps, I can build Qt4 on native hardware in 18-25 hours Nov 04 07:33:19 Anyone know some legal stuff here? If I release an image for some hardware that's mainly Ubuntu but has some other packages added, can it be called an Ubuntu image, or do I need to rename it? Nov 04 08:23:04 NCommander, out of curiosity, what hardware is that? Nov 04 08:23:52 Ford_Prefect|w, Marvell Dove Y0/Y1, and Freescale Babbage iMX51 Nov 04 08:24:08 Ah Nov 04 08:24:19 dpb, http://www.ubuntu.com/aboutus/trademarkpolicy - trademark policy if here Nov 04 08:25:24 dpb, its pretty clear on what you can and can't call Ubuntu or an Ubuntu Remix Nov 04 08:45:24 Ford_Prefect|w: /msg lbt Nov 04 09:00:02 Stskeeps, doing so Nov 04 13:35:30 If I have the source code that compiled the kernel, where from that source code can I extract the headers that are normally downloaded through apt-get install linux-headers-(uname -r) Nov 04 15:29:19 Has anyone tried newest kernel from jaunty-security (2.6.28-16.55) on armel? It appears badly broken... gdm and X don't work, and logging in is impossible except as root. Nov 04 15:29:58 A simple program which just uses setresgid and setresuid to become a normal user and then exec's a shell receives SIGKILL when the exec is attempted :O Nov 04 15:30:13 The OOM killer did not run though Nov 04 15:31:15 dmart, thats imx51 ? Nov 04 15:31:25 Yes, babbage1 Nov 04 15:31:39 Am I doing something stupid... ? Nov 04 15:31:43 bjf, amitk ^^^ ? Nov 04 15:31:55 dmart, definately not, it should work Nov 04 15:32:08 ogra, no idea, should just work Nov 04 15:32:40 you didnt change the patchset or anything in jaunty, right ? Nov 04 15:33:16 ogra, no change to the patchset, I think there may have been a rebase done Nov 04 15:33:23 hrm Nov 04 15:33:29 I think the only think I did was to upgrade the kernel via apt-get install linux-imx51 Nov 04 15:33:44 If a roll back to 2.6.28-15.52, that seems to work normally. Nov 04 15:33:46 ogra, we aren't building that kernel for updates are we Nov 04 15:33:59 Dunno, this was from jaunty-security Nov 04 15:34:11 ogra, the only one I work on is the one in the jaunty topic branch Nov 04 15:34:15 bjf, you mean jaunty->karmic ? Nov 04 15:34:49 will likely not workj since the jaunty kernel didnt support B2.x and the karmic kernel doesnt support But 2.6.28 isn't the karmic kernel, right? Nov 04 15:35:08 this is a jaunty update Nov 04 15:35:16 dmart, no that's jaunty Nov 04 15:35:34 bjf, so what did you mean with " ogra, we aren't building that kernel for updates are we" ? Nov 04 15:35:42 for sure security updates should work Nov 04 15:36:01 release to release wont work because of the different patchsets Nov 04 15:36:16 Sure; that I would expect Nov 04 15:36:31 ogra, the only work I've done w.r.t. imx51 on jaunty is in the imx51 topic branch and that branch doesn't get built for updates (or any other reason that I'm aware of) Nov 04 15:36:42 right Nov 04 15:36:57 There's been a regular trickle of updates to the jaunty kernel through jaunty-security Nov 04 15:37:07 i was just wondering if someone was insane enough to merge that one into the security update for whatever reason Nov 04 15:39:21 Sounds like I should go ahead and raise a bug on this? Nov 04 15:39:22 dmart, can I get you to file a bug on this issue? Nov 04 15:39:35 Yeah, I can. Nov 04 15:39:58 Thought I should check with you guys first though Nov 04 15:40:07 dmart, thanks, what you are seeing should _not_ be happening Nov 04 15:41:03 right Nov 04 15:41:20 It's very weird... the kernel mostly works, but with some very strange behaviours Nov 04 15:43:18 dmart, if you stick with -15.52 you should be ok, we'll look at the bug and try to get it sorted out Nov 04 15:43:51 dmart, post the bug number here and I'll assign it to myself Nov 04 15:44:03 I can use the older kernel, no problem... but if something got merged in the jaunty imx51 kernel tree that shouldn't have been, I guess that needs sorting out. I'll raise a bug. Nov 04 15:45:15 * bjf-afk will be back in a few minutes Nov 04 15:53:16 I've raised a bug and subscribed you guys— cheers. Nov 04 15:54:27 thanks Nov 04 16:05:58 dmart, got a bug number for that? Nov 04 16:06:17 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/474322 Nov 04 16:06:21 Launchpad bug 474322 in linux "linux-image-2.6.28-16-imx51 appears broken on armel" [Undecided,New] Nov 04 16:06:34 tanks Nov 04 16:11:55 looks like freescale is now selling an eval board of imx51 **** ENDING LOGGING AT Thu Nov 05 02:59:56 2009