**** BEGIN LOGGING AT Mon Nov 16 02:59:56 2009 Nov 16 08:05:28 Morning Nov 16 08:06:02 hi Nov 16 08:35:12 jancona, there? Nov 16 09:11:53 hi jancona Nov 16 09:12:02 I'm working on camera support on the freerunner Nov 16 09:12:07 and I'm facing a problem Nov 16 09:12:14 it can be a global one problem Nov 16 09:12:16 are you there Nov 16 09:12:17 ? Nov 16 09:13:20 the freerunner doesn't have a camera? Nov 16 09:17:01 yes I know Nov 16 09:17:02 :) Nov 16 09:17:07 but we can use in android Nov 16 09:17:21 and it's possible to find an design a micro camera Nov 16 09:17:29 for it and plug on the usbhost Nov 16 09:18:41 Ok, the problem is in the short-enums Nov 16 09:18:51 so a find a bug in the code Nov 16 09:19:30 because the sizeof is different Nov 16 09:19:34 and the ioctl fail Nov 16 09:20:50 panicking, would that be in the compiler? Nov 16 09:21:41 of isi t in the c library? Nov 16 09:23:31 the ioctl Nov 16 09:23:40 use the sizeof(struct) for Nov 16 09:23:43 create cmd Nov 16 09:23:49 so if the sizeof is different Nov 16 09:23:56 from the kernel point of view Nov 16 09:24:05 and the userspace point of view Nov 16 09:24:10 the cmd is different Nov 16 09:24:38 ahh that is a problem Nov 16 09:25:14 it can be affected a lot of subsytem Nov 16 09:29:16 so where does this size difference come from? Nov 16 09:29:27 aren't both user and kernel space using the same include? Nov 16 09:29:27 s Nov 16 09:29:45 compilation issue Nov 16 09:29:48 of enum type Nov 16 09:29:53 sizeof(enum) = 1 Nov 16 09:30:01 -fno-short-enum Nov 16 09:30:05 sizeof(enum) = 4 Nov 16 09:30:09 so a struct can be Nov 16 09:30:14 of different size Nov 16 09:30:16 is it clear Nov 16 09:30:24 gcc -fno-short-enum pippo.c Nov 16 09:30:28 gcc pippo.c Nov 16 09:30:59 ah, I see Nov 16 09:31:08 so for example Nov 16 09:31:12 in the audio makefile Nov 16 09:31:29 LOCAL_CFLAGS := -fno-short-enums Nov 16 09:31:32 we have this one Nov 16 09:31:35 yeah Nov 16 09:31:39 I see the problem... Nov 16 09:31:48 ok how many external application Nov 16 09:31:50 use the ioctl Nov 16 09:31:50 ? Nov 16 09:31:53 where does this difference come from? (I mean the difference in -f flags)? Nov 16 09:32:04 is this from the "original" Android? Nov 16 09:32:30 and some of them can be fail because Nov 16 09:32:43 the ioctl use a struct as param Nov 16 09:32:47 with some enum type Nov 16 09:32:53 so it's very tricky Nov 16 09:52:46 but if all are compiled the same way, it shouldn't be a problem, should it? Nov 16 09:56:56 yes, if you compile in the same way Nov 16 09:57:00 it's not a problem Nov 16 09:57:13 but are we sure that all the application are compiled in the same way Nov 16 09:57:47 hi Nov 16 09:59:42 hi Nov 16 10:03:31 well... no Nov 16 10:03:40 but then they will simply crash on an ioctl call Nov 16 10:05:30 or return an EINVAL Nov 16 10:05:39 because they check the value Nov 16 10:05:46 of the size Nov 16 10:05:53 so if the size is different they fail Nov 16 10:05:56 and nothing crash Nov 16 10:06:04 just it answer that is not supported Nov 16 10:06:37 there is a syncing problem with android.kernel.org. Nov 16 10:07:28 serdar__, do you try to compile eclair Nov 16 10:07:28 ? Nov 16 10:08:41 i can't sync Nov 16 10:09:21 I see, panicking Nov 16 10:11:31 serdar@serdar-laptop:~/eclair$ repo init -u git://android.git.kernel.org/platform/manifest.git Nov 16 10:11:31 Getting repo ... Nov 16 10:11:31 from git://android.git.kernel.org/tools/repo.git Nov 16 10:11:31 fatal: The remote end hung up unexpectedly Nov 16 10:32:07 have someone tried golang? Nov 16 10:53:33 golang? Nov 16 10:55:33 the google go language Nov 16 10:55:48 but I guess it will be renamed to issue 9 Nov 16 10:57:36 haven't tried it yet Nov 16 10:58:27 ah, "I thought of the name first" issue Nov 16 10:59:06 look at issue 9 http://code.google.com/p/go/issues/detail?id=9 Nov 16 10:59:09 909 comments Nov 16 10:59:17 hold on, not yet done scrolling Nov 16 10:59:19 pfff Nov 16 10:59:27 :) Nov 16 10:59:49 but renaming google go to issue9 will be nice. Nov 16 10:59:55 yeah Nov 16 11:00:02 or follow comment 79 Nov 16 11:00:48 look at #135 Nov 16 11:01:41 hehehe Nov 16 11:02:02 way too much free time Nov 16 11:02:24 but 'Issue9' has a nice ring to it Nov 16 11:02:55 #go-nuts Nov 16 11:04:18 hmm Nov 16 11:04:36 apparently weechat doesn't like this many people in a channel.. Nov 16 11:06:28 the nicklist is filling 80% of the screen :) Nov 16 11:11:42 u4ia, and this not a particularly big channel =) Nov 16 11:12:49 i'll just stay in channels with under 50 users, and I'll be fine :) Nov 16 13:11:32 oh my god, they killed chanserv. Nov 16 13:12:44 umm, is the new weekly release up already? Nov 16 13:13:52 apparently Nov 16 13:15:27 th0br0, it's automagic Nov 16 13:18:36 Ah ok larlin... Nov 16 13:18:51 Well, given the commits I doubt that the SMS issues and so on have been fixed yet :( Nov 16 13:28:19 I can't sync! Nov 16 13:50:12 hi all Nov 16 14:09:46 hi jancona Nov 16 14:33:29 * GovCon acts like a kernel and panics Nov 16 14:33:54 * larlin thinks GovCon is a brokend kernel Nov 16 20:00:18 hi panicking Nov 16 20:02:35 Hi Nov 16 20:32:24 hi all Nov 16 20:32:34 someone's running eclair? Nov 16 20:32:43 and someone's running w3eekly47? Nov 16 20:32:46 weekly47* Nov 16 21:32:37 still can't sync :| **** ENDING LOGGING AT Tue Nov 17 02:59:56 2009