**** BEGIN LOGGING AT Mon Jan 29 02:59:59 2007 Jan 29 15:32:20 hi all Jan 29 15:32:27 hey Jan 29 15:33:29 i built a binary with buildroot-ng but when i try it onto openwrt (mipsel) it always get segfault Jan 29 15:33:39 any suggest ? Jan 29 15:39:41 nbd ^? Jan 29 15:42:16 fabsoft: use strace, maybe it's just missing a lib Jan 29 15:42:56 fcntl(2, F_GETFD) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Jan 29 15:43:06 ldd say me all libs are ok Jan 29 15:44:39 uclib to old in guest system? Jan 29 15:45:04 i tries same binary on fonera and it works Jan 29 15:45:07 tried Jan 29 15:45:30 obviously compiled for atheros and not brc Jan 29 15:50:04 sounds like you built against a non-compatible uclibc Jan 29 15:50:22 umh Jan 29 15:50:26 whay i can do? Jan 29 15:50:34 Fix your build env, I would guess Jan 29 15:50:58 segfaulting at that instruction doesn't make any sense to me, it's not handling pointer data, so I'm going to guess some lib linkage wackiness Jan 29 15:51:28 ok Jan 29 15:52:27 buildroot config file is the default Jan 29 15:52:37 with gcc 3.4 Jan 29 15:59:36 [mbm] Jan 29 16:52:29 http://www.theregister.co.uk/2007/01/29/bt_says_enough_gpl/ Jan 29 16:52:31 bummer. Jan 29 16:52:43 I would have liked to have a BT Home Hub :-P Jan 29 16:54:59 they are bitchin Jan 29 16:55:29 are they? Jan 29 16:55:39 and in what sense "bitchin"? Jan 29 16:57:25 they say we released everything we're supposed to but armijn woun't stop bothering us, this is sooo unfair Jan 29 16:58:53 hi Jan 29 16:58:59 hi Jan 29 16:59:16 you're the bad guy now armijn ;-) Jan 29 16:59:21 yeah, I'm good at bugging Jan 29 16:59:22 i built a package with buildroot, the target host is: Target System (Broadcom BCM947xx/953xx [2.4]) Jan 29 16:59:25 hey, Shane made me do it... Jan 29 16:59:50 but it always get a segmentation fault onto a openwrt whiterussian Jan 29 17:00:29 btw, all packages in build_mipsel have same error Jan 29 17:01:14 you are loading a package built from kamikaze builtroot to a whiterussian router? Jan 29 17:01:52 is the target right ? by default uclib in buildroot-ng are compatibile with old uclib present in kamikaze? Jan 29 17:02:06 thepeople_work yes Jan 29 17:02:33 not backward compatibile? Jan 29 17:03:07 no Jan 29 17:03:13 ah Jan 29 17:03:56 using strace command i notice that there are system call wrapped with old_ prefix ... Jan 29 17:04:22 is there a way to get buildroot build whiterussian package ? Jan 29 17:05:57 thepeople_work ? Jan 29 17:07:10 not from kamikaze buildroot itself, if there is a good way to do it I will leave that to a openwrt dev to answer Jan 29 17:08:00 ok thx Jan 29 17:22:45 <[florian]> armijn: another brcm63xx violation ;) how surprising Jan 29 17:25:24 uclibc has a nasty habit of not being binary compatible across point releases Jan 29 17:26:05 <[florian]> that is why we keep using 0.9.28 for nas to work :/ Jan 29 17:26:11 you MAY be able to hack something in, in a horrible horrible way, by finding your build env uclibc and replacing it with uclibc from your target device. MAY. It may make other things blow up, but if the problem is resolved in the linker then it might step around your issue. Jan 29 17:26:18 Definitely not a really great thing to go do tho Jan 29 17:27:22 ok, i download whiterussian buildroot :P Jan 29 17:28:26 for kamikaze i built both sdk and imagebuilder, now i can remove toolchain_build_mipsel ? Jan 29 17:28:27 speaking of uclibc, it failed to compile for me after I updated http://pastebin.ca/332008 Jan 29 17:29:04 target: x86 Jan 29 17:29:07 thepeople_work: hah awesome. Got enough RAM in that box? Jan 29 17:29:52 internal compiler error: Segmentation fault Please submit a full bug report, Jan 29 17:30:58 dragorn: I do have enough, why do you ask? Jan 29 17:31:05 yup, g++ blew its head off. Sometimes linked to running it in a ram-starved environment, I don't think they do the best job with malloc result checking. Or you've just got a broken gcc. Jan 29 17:31:28 thepeople_work: because sometimes gcc can get stupid when a malloc fails internally Jan 29 17:31:41 ok :-) Jan 29 17:34:31 dragorn, once i compiled sdk and imagebuilder, can i delete toolchain_build_arch definitively ? Jan 29 17:35:19 no idea Jan 29 17:35:41 I'm answering off past experience kluging build envs together, I haven't done much with the proper buildroot :P Jan 29 19:43:04 nbd * r6227 /trunk/ (2 files in 2 dirs): move the natsemi preselection into the x86 default package list Jan 29 21:32:17 nbd * r6228 /trunk/package/base-files/files/etc/functions.sh: fix a typo Jan 29 21:35:44 hm Jan 29 21:35:55 a friend called tonight saying that his speedtouch crashed Jan 29 21:36:08 it was annex b, so I had to give away one of the conceptronic adsl modems :o Jan 29 21:36:15 so you won't be getting 4 of those, but just 3 Jan 29 21:36:16 sorry. Jan 29 21:36:28 it is an interesting piece of crap though Jan 29 21:49:30 hi Jan 29 21:49:36 fabsoft: what? Jan 29 21:51:04 i compiled openwrt-sdk ... is there a way to use make menuconfig to configure out busybox and usere-space level stuff ? Jan 29 21:51:23 why would you want to do that? Jan 29 21:52:35 i have to configure properly busybox, in specific i want stty support and other applets Jan 29 21:53:03 which config file are used ? Jan 29 21:53:19 busybox currently does not build in the sdk Jan 29 21:53:37 it pulls the config from the main menuconfig Jan 29 21:54:42 i built it now Jan 29 21:56:13 i have moved sdk directory in another place, do you mean it use .config from buildroot ? Jan 29 21:58:07 nbd, sdk should build only user-space package? Jan 29 21:58:33 yes Jan 29 21:58:51 so i cannot use it to build madwifi-kmod ... Jan 29 21:58:57 k Jan 29 22:00:08 what im currently working is porting a external package to different archs, fonera wrt54g based on kamikaze and whiterussian Jan 29 22:01:22 for fonera fortunately i only used buildroot-ng, but for wrt whiterussian i have to use old buildroot/sdk Jan 29 22:01:29 a lot of space ... Jan 29 22:07:15 ndb, i can use serial port on fonera with kamikaze, or the kernel still use /dev/console attached to /dev/ttyS0 as original fon kernel ? Jan 29 22:07:39 still used as console Jan 29 22:09:52 nbd, but init process cannot detach it once booted ? Jan 29 22:11:37 i searching a way to do this Jan 29 22:12:30 fonera has only one serial port on it, i must unblock it ! Jan 29 22:22:07 add another serial port? Jan 29 22:58:51 armijn: wherE? Jan 29 22:59:51 fabsoft: dunno Jan 29 23:00:09 I don't know if the board allows for that **** ENDING LOGGING AT Tue Jan 30 02:59:57 2007