currently, I don't have 32bit gcc on hand, can you upload an 32bit version to the community if convenient, thank you !
On 12月12日, 下午2时51分, Zhen Xin <lones...@fedoraproject.org> wrote: > Android needs the kernel be 32bit. > > 在 2011年12月11日 下午11:37,zhangfx <zhan...@lemote.com> 写道: > > > > > > > > > > > If you are using 64bit kernel,you need to handle the 32 bit ioctl. Ioctl > > number often related to a type size,while the same type might have different > > size for 32bit usrrland and 64bit kernal,so we often need compact_ioctl to > > translate. Lots of samples in drivers. > > > 李晖 <lihui205...@gmail.com>编写: > > > hi,all I am porting android to loongson2f, but when I boot the system, the > > kernel panic, by adding printf statement, I found that when the android file > > system init the ashmem failed. The following is the calling path of init > > program: main ->property_ini t->init_property_area ->init_workspace -> > > ashmem_create_region ->ioctl(fd, ASHMEM_SET_SIZE, size) the implementation > > of ashmem_create_region function is in system/core/ libcutils/ashmem-dev.c > > the default size param of ioctl is 32768, and the linux kernel page size is > > 16k (16384), so, I change the size param to 16384, but this function failed > > again. did anyone come across this problem, any idea or information is > > appreciated! andy -- You received this message because you are subscribed to > > the Google Groups "loongson-dev" group. To post to this group, send email to > > loongson-dev@googlegroups.com. To unsubscribe from this group, send email to > > loongson-dev+unsubscr...@googlegroups.com. For more options, visit this > > group athttp://groups.google.com/group/loongson-dev?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "loongson-dev" group. > > To post to this group, send email to loongson-dev@googlegroups.com. > > To unsubscribe from this group, send email to > > loongson-dev+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/loongson-dev?hl=en. > > --https://fedoraproject.org/wiki/User:Lonestar -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.