**** BEGIN LOGGING AT Wed Dec 21 02:59:56 2005 Dec 21 15:48:45 hi all, just trying to build openslug from source Dec 21 15:48:51 i get an error building gcc Dec 21 15:48:56 error: unrecognizable insn: Dec 21 15:48:56 (insn 672 574 673 53 (set (reg:SI 270) ... Dec 21 15:49:19 gcc-3.4.4-r5 Dec 21 15:49:35 anyone ran into that before ? Dec 21 15:50:09 native compiler is gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Dec 21 15:51:30 full error is Dec 21 15:51:34 /home/bug1/slug/openslug/tmp/work/gcc-3.4.4-r5/gcc-3.4.4/gcc/stmt.c:4051: error: unrecognizable insn: Dec 21 15:51:35 (insn 672 574 673 53 (set (reg:SI 270) Dec 21 15:51:35 (const_int -4294958849 [0xffffffff000020ff])) -1 (insn_list:REG_DEP_ANTI 566 (nil)) Dec 21 15:51:35 (nil)) Dec 21 15:52:20 im just trying to build openslug for the first time, havent changed naything Dec 21 15:56:02 hmm Dec 21 15:56:10 I'd say compiler bug :P Dec 21 15:56:16 :( Dec 21 15:56:24 is your gentoo up to date? Dec 21 15:56:36 my gentoo compiler ? Dec 21 15:56:40 yeah Dec 21 15:56:42 yea Dec 21 15:57:04 im building on amd64, maybe that means i run into different bugs Dec 21 15:57:10 hmm Dec 21 15:57:11 yes Dec 21 15:57:24 i guess ill have to do some googling myself Dec 21 15:57:41 I think you're the first one I've run into using gentoo/amd64 to build openslug Dec 21 15:57:42 was hoping it was a known problem Dec 21 15:57:47 nah Dec 21 15:58:00 it builds fine on ubuntu/64 Dec 21 15:58:02 * bug1 the guinipig Dec 21 15:58:09 i cant spell... Dec 21 15:58:20 My guess is that it's in the gentoo patches to gcc Dec 21 15:58:27 maybe its the gentoo gcc patches then Dec 21 15:58:38 exactly ;) Dec 21 15:59:02 maybe the ssp-3.4.4-1.0, pie-8.7.8 part Dec 21 15:59:29 k, ill have a play and see what i work out... Dec 21 15:59:40 cool Dec 21 15:59:51 gimme a shout if you manage to fix it Dec 21 16:00:17 k Dec 21 16:42:23 Hi all, I'm working on a custom openslug image and have run into a problem. I built the baseline openslug without a problem, but now I'm trying to get a number of packages included in the image and it's not working. Following the 'adding a package to the firmware' instructions on the wiki I've added OPENSLUG_EXTRA_RDEPENDS and OPENSLUG_EXTRA_DEPENDS lines to conf/local.conf but it seems that they're being ignored when I do a 'make build- Dec 21 16:43:09 I can build the packages seperately with bitbake, but they don't get included in my image. Any suggestions? Dec 21 16:44:21 I think that was changed somehow Dec 21 16:45:19 part of the slugos changes? Dec 21 16:46:11 yeah, but I haven't had time to look at that extensively Dec 21 16:46:50 hmm Dec 21 16:47:09 Try setting "SLUGOS_EXTRA_PACKAGES" and see if that helps Dec 21 16:47:51 in addition to the EXTRA lines, or instead of? Dec 21 16:49:06 instead of Dec 21 16:49:27 ok, running make now.... Dec 21 16:50:36 good luck. I'll be going to bed right about now. Tell me if it worked ;) Dec 21 16:51:04 ok, thanks... Dec 21 16:51:11 np Dec 21 17:24:16 nslu2-log: I normally only add my bots to channels where I hear from the channel contact and/or ops. Dec 21 17:25:19 apt has open channels at present. I'm ok having him join here and log if it's ok with the channel owners. Dec 21 17:26:47 dyoung-away, rwhitby-away, [g2]: what say ye? Dec 21 17:27:44 * TimRiker is deafened by the overwhelming silence. Dec 21 17:28:43 * TimRiker adds apt here. botmail, email or memoserv me to get him removed again. Dec 21 17:28:57 apt: save Dec 21 17:28:57 saved user and chan files Dec 21 17:29:03 apt: logs Dec 21 17:29:04 apt/ibot/jbot/purl all log to http://ibot.rikers.org// where channelname is html encoded ie: %23debian | lines that start with a space are not shown | some channels have stats at http://ibot.rikers.org/stats/.html.gz, or updated "nightly" Dec 21 17:37:09 * TimRiker nights Dec 21 18:36:50 hi all, I wasn't able to use updatedb on OpenSlug. I've a small fix, where should I post it? Dec 21 18:43:53 What is the fix? Dec 21 18:51:17 well, replace "sort -f" by "sort" in two places Dec 21 18:51:38 since busybox's sort doesn't support the -f option Dec 21 18:52:12 I've been using it for a couple day and it works ok Dec 21 19:03:09 gfk: I'm not sure that is an adequate solution. Probably, the better thing to do is to patch busybox to accept the option and either ignore it or not. Dec 21 19:03:34 some people may install a real sort and they should get the right behavior from updatedb. Dec 21 19:04:09 ok, that makes sense Dec 21 19:04:55 any idea of who's going to do it? :-) Dec 21 19:14:04 It shouldn't be hard. Dec 21 19:14:13 You already hacked one package... Dec 21 19:16:59 Looking at the source from http://www.busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/coreutils/sort.c, it would be quite easy... Dec 21 19:17:57 Is is the same version as the one used by OpenSlug? If so, where can I submit a patch? Dec 21 19:21:55 hum, the version at busybox.net has: #define FLAG_f 1024 /* Force uppercase */ Dec 21 19:22:19 it's gonna be easy to patch! 8-) Dec 21 19:28:57 ok, I guess I'm smoking crack. The version of sort that is included in openslug supports -f... Dec 21 19:29:25 I'm pretty sure that the version that came with is originally wasn't supporting it, but after doing a ipkg update it supports it Dec 21 19:29:43 so sorry for all the noise, the problem solved itself! :-) Dec 21 19:41:48 gfk: NP. **** BEGIN LOGGING AT Wed Dec 21 23:15:38 2005 Dec 22 00:03:05 apt, help Dec 22 00:25:00 im getting internal gcc errors in the arm cross compiler Dec 22 00:25:24 'make build-openslug-image' works Dec 22 00:26:15 but when do 'make build-openslug' i get a compiler error (internal gcc error) building gcc-3.4.4-r5 Dec 22 00:26:31 what host distro? Dec 22 00:26:45 (works fine here running on Debian sarge) Dec 22 00:26:54 gentoo/amd64 Dec 22 00:27:15 but the intenral compile error is in armeb-linux-gcc Dec 22 00:27:28 which openslug built Dec 22 00:27:44 yep - sounds like it might be broken on gentoo/adm64 then Dec 22 00:28:12 the cross compiler is broken Dec 22 00:28:13 jacques: you know anything about gentoo/amd64 ICEs ? Dec 22 00:28:14 ? Dec 22 00:28:30 the actual error i get is gcc-3.4.4/gcc/stmt.c:4051: error: unrecognizable insn: Dec 22 00:28:30 (insn 672 574 673 53 (set (reg:SI 270) Dec 22 00:28:45 bug1: looks like the native compiler is broken. Dec 22 00:28:50 stmt.c:4051: internal compiler error: in extract_insn, at recog.c:2083 Dec 22 00:28:58 what version of gcc is running on gentoo/adm64? Dec 22 00:29:14 (i.e. what is your host compiler native version that is being used to build gcc-3.4.4 ?) Dec 22 00:29:31 (Gentoo Linux 3.4.3.20050110 Dec 22 00:29:55 ive tried 3.4.4 also, with and without ssp Dec 22 00:30:43 well, all I can say is it builds fine here with Debian sarge: gcc version 3.3.5 (Debian 1:3.3.5-13) Dec 22 00:30:44 i dont understand how its the host compiler that broken when its the cross compiler that errors Dec 22 00:31:02 the host compiler is complaining as it is trying to build the cross compiler, isn't it? Dec 22 00:31:05 i should be able to run a gcc testsuite to check the cross compiler shouldnt i ? Dec 22 00:31:56 its armeb-linux-gcc that complaining when trying to build gcc-3.4.4 that would run under arm Dec 22 00:32:03 thats how i read it Dec 22 00:32:31 ah, ok. Dec 22 00:32:46 you're past openslug-image and into building openslug-packages (one of which is gcc). Dec 22 00:33:05 Is there a reason why you want to build openslug-packages ? Dec 22 00:33:13 (i.e. you can just ipkg install them ...) Dec 22 00:33:15 yea, make build-openslug-image finished without error Dec 22 00:33:45 sounds like armeb-linux-gcc is broken on gentoo/amd64 then. I haven't heard of anyone using that combination before. Dec 22 00:33:52 (for openslug builds) Dec 22 00:34:08 well i was jsut readign the docs and it mentioned 'make build-openslug' :) Dec 22 00:35:03 can you edit that page and change it to build-openslug-image then ? Dec 22 00:35:12 i want to build fetchmail for openslug, i dont really know what 'make build-openslug' is trying to build, guess ive gone too far Dec 22 00:35:36 make build-openslug will build the image and all packages for the feeds Dec 22 00:35:44 k Dec 22 00:35:59 the page is at http://www.nslu2-linux.org/wiki/Development/MasterMakefile Dec 22 00:36:02 it says Dec 22 00:36:13 A quick start is to run make setup followed by make build-openslug-image.... Dec 22 00:36:22 f you have lots of time (out for the night?) and disk space (as of September 2005: 7GB), you can easily kick off make build-openslug, too Dec 22 00:37:05 so if its trying to build everything i guess its not surprising, i dont need a arm native compiler on the openslug anyway, as long as the cross compiler works Dec 22 00:37:47 you can always ipkg install gcc if you need the native compiler anyway Dec 22 00:38:02 yea, thats true Dec 22 00:38:35 and comment out gcc-3.4.4 so it can try and build other stuff Dec 22 00:38:35 perhaps you can add that to the page (letting people know that they can just ipkg install anything that would be built after openslug-image Dec 22 00:43:20 k, changed it a bit Dec 22 00:45:12 ive forgot how to drive oe Dec 22 00:50:00 how dows bitbake know which version of gcc to build ? Dec 22 00:50:50 i see ${PKGDIR}/packages/gcc/*.bb in openslug/openembedded/conf/distro/openslug-packages.conf not sure how it gets the verison of gcc Dec 22 00:56:39 found it inugos.conf Dec 22 01:03:27 bug1: fetchmail shouldf be in the feed in half an hour (when the next autobuild runs) Dec 22 01:07:41 nice Dec 22 01:08:44 im going to keep digging at this gcc problem, trying 3.4.3 this time Dec 22 01:28:04 bug1: I forgot to add it to slugos-packages.bb, so it will be an other half hour. Dec 22 01:29:18 np Dec 22 01:30:52 so openslug is derived from slugos ? Dec 22 01:32:02 openslug is slugos-bag Dec 22 01:32:10 (big-endian, arm, glibc) Dec 22 01:32:33 LeSlug is slugos-lag Dec 22 01:32:41 and UcSlugC is slugos-btu Dec 22 01:32:51 (big-endian, thumb, uclibc) **** ENDING LOGGING AT Thu Dec 22 02:59:58 2005