**** BEGIN LOGGING AT Wed Apr 18 02:59:56 2007 Apr 18 05:23:38 Hey guys, I seem to be having a problem with getting a toolchain working on my slug. I keep running into this: root@Pan:~# gcc test.c Apr 18 05:23:39 gcc: Internal error: Segmentation fault (program cc1) Apr 18 06:43:14 Anyone know why /usr/libexec/gcc/armeb-linux/3.4.4/cc1 would be segfaulting. strace doesn't give me many clues. It's a fresh OpenSlug 3.10 install, and a ipkg update/upgrade, and install gcc. Apr 18 09:01:22 bkero_: no idea Apr 18 09:03:51 bkero_: Looked at the trace. Try tracing the forked child Apr 18 09:04:24 It's forking off a child do do something, and that's where it fails Apr 18 09:13:36 hm Apr 18 09:13:46 How would I go about that? Apr 18 09:14:36 This is the latest, I'm not sure where I can go from here, I don't see a pid. http://pastebin.osuosl.org/1197 Apr 18 09:23:46 strace -f gcc -o test test.c Apr 18 10:29:13 http://pastebin.osuosl.org/1199 Apr 18 10:34:48 hmm Apr 18 10:34:50 no idea Apr 18 10:54:56 snap Apr 18 10:54:57 :/ Apr 18 14:05:48 hi Apr 18 18:42:00 Hola peoples. I seem to be having a problem getting gcc to run on OpenSlug. I'm running into this: http://pastebin.osuosl.org/1199 Apr 18 18:58:02 bkero: Same problem as earlier? Apr 18 18:59:14 Yea Apr 18 19:00:05 Stick around. Hopefully someone will be able to help. Apr 18 19:00:12 you're osuosl staff? Apr 18 19:00:22 I'm a system administrator. :) Apr 18 19:00:43 oh cool. So you know where our server(s?) are then ? :) Apr 18 19:00:57 About 20 feet from my chair. :) Apr 18 19:01:27 neat Apr 18 19:01:28 ka6sox is sending a nice big fun box with a couple slugs in it. Apr 18 19:01:51 yeah Apr 18 19:03:13 I'm wondering where that illegal instruction comes from Apr 18 19:03:28 I'm not sure. That's what nnewton said too. :/ Apr 18 19:03:40 does it compile *anything*? Apr 18 19:04:26 rwhitby-away: ping? do you have any clue on the problem our friendly osuosl admin has with compiling? ;) Apr 18 19:04:29 Nope Apr 18 19:04:31 that's hello world Apr 18 19:04:36 aha... Apr 18 19:05:27 I got a shorter strace by using /usr/libexec/bin/gcc/3.4.4/cc1 Apr 18 22:23:41 hi Apr 18 22:58:02 hrm :/ Apr 18 23:27:51 bkero: tried in #nslu2-linux? More people there that might be able to help Apr 18 23:31:31 yea, nothing :( Apr 18 23:32:28 I guess it's time to push forward a release of slugos 4.x Apr 18 23:33:27 I'm gonna try to set up a crossdev environment on my workstation Apr 18 23:33:57 I suppose the EASY way would be try running unstable to see if this is only an issue with this binpkg Apr 18 23:34:50 yeah Apr 18 23:35:21 All I needed it for is to compile microdc anyways. Apr 18 23:35:31 Any chance I could make that into an ipkg and get it committed? :P Apr 18 23:35:46 sure Apr 18 23:36:31 Never done ipkg stuff before, although I have written some ebuilds. Apr 18 23:36:51 writing bitbake files is pretty similar to ebuilds Apr 18 23:37:18 Is that what they're called? Heh. Apr 18 23:37:40 yup Apr 18 23:38:38 I'll have to look into that. Is this still the current way of getting a crossdev environment setup? http://www.nslu2-linux.org/wiki/Development/MasterMakefile#gentoo Apr 18 23:40:07 almost Apr 18 23:40:17 it might want to install a too old monotone Apr 18 23:40:24 0.29-ish should be fine Apr 18 23:40:34 cool, that's what's marked stable Apr 18 23:40:40 good Apr 18 23:43:25 I imagine this is for setting up a whole new distro for it. How about if I just want a bootstrap toolchain so I can make crosscompile for it? Is this still relevant? http://www.nslu2-linux.org/wiki/HowTo/CompileCrossTool Apr 18 23:44:03 no, use the master makefile in the first link to set stuff up Apr 18 23:44:20 ah Apr 18 23:44:26 then make setup-slugobe && cd slugosbe && source setup-env && bb virtual/kerne Apr 18 23:44:31 virtual/kernel Apr 18 23:44:41 That'll build the toolchain, and a basic set of packages Apr 18 23:47:27 lol no TOPDIR, it's closing my terminals Apr 18 23:47:42 heh Apr 18 23:47:55 odd... make setup-slugosbe should've set that Apr 18 23:48:54 Nope Apr 18 23:49:10 grep TOPDIR Makefile Apr 18 23:49:15 Not even a mention of it in the makefile Apr 18 23:49:22 hmm. Apr 18 23:49:41 Unlesso Apr 18 23:49:42 oo Apr 18 23:49:51 You mean the makefile in slugosbe/ Apr 18 23:52:19 Should I just run 'make' under slugosbe then? Apr 18 23:52:57 under slugosbe, do echo "TOPDIR=$PWD" > conf/topdir.conf Apr 18 23:53:01 should do the trick Apr 18 23:53:25 already in there Apr 18 23:53:47 uh, then it.. should work Apr 18 23:54:12 I'm just wondering why sourcing it is killing my xterm windows, heh Apr 18 23:54:38 Oh cool, didn't kill it this time. O_o Strange brew. Apr 18 23:55:17 haha Apr 18 23:55:31 the topdir stuff confused the heck out of me in the beginning Apr 18 23:55:50 Only thing in it to have an exit statement, so I was singling that out. **** ENDING LOGGING AT Thu Apr 19 02:59:56 2007