Re: [gentoo-user] Re: Android build error on Gentoo
On Friday 15 Jul 2011 12:05:22 AM James wrote: randd 4randd at gmail.com writes: I am on Gentoo stable and in the past (Jun 9) I have built android (gingerbread) successfully. Hello Randd, Where did you get your sources/overlay/ebuild ? I have this cell phone (LTE 4G) on Verizon: Samsung SCH-I510 is powered with a 1GHz Hummingbird processor and runs on Android 2.2 Froyo OS Any information on building and uploading Gingerbread to this phone is of interest to me. Any details of your cross-compiling setup is of interest too. Thanks in Advance, James Hi James, I am not sure if you can upgrade your device's software yourself unless code is available (i dont think it is). You can check cyanogenmod website (http://www.cyanogenmod.com/) to check if your phone is supported or not. thanks, randd
[gentoo-user] Android build error on Gentoo
Hi All, I am on Gentoo stable and in the past (Jun 9) I have built android (gingerbread) successfully. Somehow now build fails at random places with the following error. /***/ *** glibc detected *** make: free(): invalid next size (fast): 0x0e14f160 *** === Backtrace: = /lib/libc.so.6(+0x6c3ef)[0xb77ad3ef] /lib/libc.so.6(+0x6dce0)[0xb77aece0] /lib/libc.so.6(cfree+0x6e)[0xb77b1e7e] make[0x8050dbc] === Memory map: 08048000-0806c000 r-xp 08:02 395421 /usr/bin/gmake 0806c000-0806d000 r--p 00023000 08:02 395421 /usr/bin/gmake 0806d000-0806e000 rw-p 00024000 08:02 395421 /usr/bin/gmake 0806e000-0806f000 rw-p 00:00 0 0921d000-0e2c9000 rw-p 00:00 0 [heap] b720-b7221000 rw-p 00:00 0 b7221000-b730 ---p 00:00 0 b73fd000-b74d8000 rw-p 00:00 0 b7574000-b758f000 r-xp 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b758f000-b759 r--p 0001a000 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b759-b7591000 rw-p 0001b000 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b75b3000-b7727000 rw-p 00:00 0 b7727000-b773c000 r-xp 08:02 1726966/lib/libpthread-2.12.2.so b773c000-b773d000 ---p 00015000 08:02 1726966/lib/libpthread-2.12.2.so b773d000-b773e000 r--p 00015000 08:02 1726966/lib/libpthread-2.12.2.so b773e000-b773f000 rw-p 00016000 08:02 1726966/lib/libpthread-2.12.2.so b773f000-b7741000 rw-p 00:00 0 b7741000-b7897000 r-xp 08:02 1726984/lib/libc-2.12.2.so b7897000-b7899000 r--p 00156000 08:02 1726984/lib/libc-2.12.2.so b7899000-b789a000 rw-p 00158000 08:02 1726984/lib/libc-2.12.2.so b789a000-b789d000 rw-p 00:00 0 b789d000-b78a4000 r-xp 08:02 1726976/lib/librt-2.12.2.so b78a4000-b78a5000 r--p 6000 08:02 1726976/lib/librt-2.12.2.so b78a5000-b78a6000 rw-p 7000 08:02 1726976/lib/librt-2.12.2.so b78c3000-b78c4000 rw-p 00:00 0 b78c6000-b78c9000 rw-p 00:00 0 b78c9000-b78e5000 r-xp 08:02 1726983/lib/ld-2.12.2.so b78e5000-b78e6000 r-xp 00:00 0 [vdso] b78e6000-b78e7000 r--p 0001c000 08:02 1726983/lib/ld-2.12.2.so b78e7000-b78e8000 rw-p 0001d000 08:02 1726983/lib/ld-2.12.2.so bfc93000-bfcc7000 rw-p 00:00 0 [stack] Aborted /*/ I am not sure what is causing the error. I might be some use flag or some updated package but I am not able to find any thing. My configuration files are as such: make.conf http://pastebin.com/6geZzKb4 package.use http://pastebin.com/8V5YgCau emerge --info http://pastebin.com/ByW40pNp Please let me know if any more information is required. Any help is appreciated. thanks, randd
[gentoo-user] Re: Android build error on Gentoo
On Wednesday 13 Jul 2011 11:06:32 AM randd wrote: Hi All, I am on Gentoo stable and in the past (Jun 9) I have built android (gingerbread) successfully. Somehow now build fails at random places with the following error. /** */ *** glibc detected *** make: free(): invalid next size (fast): 0x0e14f160 *** === Backtrace: = /lib/libc.so.6(+0x6c3ef)[0xb77ad3ef] /lib/libc.so.6(+0x6dce0)[0xb77aece0] /lib/libc.so.6(cfree+0x6e)[0xb77b1e7e] make[0x8050dbc] === Memory map: 08048000-0806c000 r-xp 08:02 395421 /usr/bin/gmake 0806c000-0806d000 r--p 00023000 08:02 395421 /usr/bin/gmake 0806d000-0806e000 rw-p 00024000 08:02 395421 /usr/bin/gmake 0806e000-0806f000 rw-p 00:00 0 0921d000-0e2c9000 rw-p 00:00 0 [heap] b720-b7221000 rw-p 00:00 0 b7221000-b730 ---p 00:00 0 b73fd000-b74d8000 rw-p 00:00 0 b7574000-b758f000 r-xp 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b758f000-b759 r--p 0001a000 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b759-b7591000 rw-p 0001b000 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b75b3000-b7727000 rw-p 00:00 0 b7727000-b773c000 r-xp 08:02 1726966/lib/libpthread-2.12.2.so b773c000-b773d000 ---p 00015000 08:02 1726966/lib/libpthread-2.12.2.so b773d000-b773e000 r--p 00015000 08:02 1726966/lib/libpthread-2.12.2.so b773e000-b773f000 rw-p 00016000 08:02 1726966/lib/libpthread-2.12.2.so b773f000-b7741000 rw-p 00:00 0 b7741000-b7897000 r-xp 08:02 1726984/lib/libc-2.12.2.so b7897000-b7899000 r--p 00156000 08:02 1726984/lib/libc-2.12.2.so b7899000-b789a000 rw-p 00158000 08:02 1726984/lib/libc-2.12.2.so b789a000-b789d000 rw-p 00:00 0 b789d000-b78a4000 r-xp 08:02 1726976/lib/librt-2.12.2.so b78a4000-b78a5000 r--p 6000 08:02 1726976/lib/librt-2.12.2.so b78a5000-b78a6000 rw-p 7000 08:02 1726976/lib/librt-2.12.2.so b78c3000-b78c4000 rw-p 00:00 0 b78c6000-b78c9000 rw-p 00:00 0 b78c9000-b78e5000 r-xp 08:02 1726983/lib/ld-2.12.2.so b78e5000-b78e6000 r-xp 00:00 0 [vdso] b78e6000-b78e7000 r--p 0001c000 08:02 1726983/lib/ld-2.12.2.so b78e7000-b78e8000 rw-p 0001d000 08:02 1726983/lib/ld-2.12.2.so bfc93000-bfcc7000 rw-p 00:00 0 [stack] Aborted /** ***/ I am not sure what is causing the error. I might be some use flag or some updated package but I am not able to find any thing. My configuration files are as such: make.conf http://pastebin.com/6geZzKb4 package.use http://pastebin.com/8V5YgCau emerge --info http://pastebin.com/ByW40pNp Please let me know if any more information is required. Any help is appreciated. thanks, randd Just found this http://forums.gentoo.org/viewtopic-t-851441-start-0.html It seems the problem is seen with make-3.82 and not with make-3.81. I am downgrading make and checking the build now.
[gentoo-user] Re: Android build error on Gentoo
On Wednesday 13 Jul 2011 11:25:50 AM randd wrote: On Wednesday 13 Jul 2011 11:06:32 AM randd wrote: Hi All, I am on Gentoo stable and in the past (Jun 9) I have built android (gingerbread) successfully. Somehow now build fails at random places with the following error. / ** */ *** glibc detected *** make: free(): invalid next size (fast): 0x0e14f160 *** === Backtrace: = /lib/libc.so.6(+0x6c3ef)[0xb77ad3ef] /lib/libc.so.6(+0x6dce0)[0xb77aece0] /lib/libc.so.6(cfree+0x6e)[0xb77b1e7e] make[0x8050dbc] === Memory map: 08048000-0806c000 r-xp 08:02 395421 /usr/bin/gmake 0806c000-0806d000 r--p 00023000 08:02 395421 /usr/bin/gmake 0806d000-0806e000 rw-p 00024000 08:02 395421 /usr/bin/gmake 0806e000-0806f000 rw-p 00:00 0 0921d000-0e2c9000 rw-p 00:00 0 [heap] b720-b7221000 rw-p 00:00 0 b7221000-b730 ---p 00:00 0 b73fd000-b74d8000 rw-p 00:00 0 b7574000-b758f000 r-xp 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b758f000-b759 r--p 0001a000 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b759-b7591000 rw-p 0001b000 08:02 398827 /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 b75b3000-b7727000 rw-p 00:00 0 b7727000-b773c000 r-xp 08:02 1726966 /lib/libpthread-2.12.2.so b773c000-b773d000 ---p 00015000 08:02 1726966 /lib/libpthread-2.12.2.so b773d000-b773e000 r--p 00015000 08:02 1726966/lib/libpthread-2.12.2.so b773e000-b773f000 rw-p 00016000 08:02 1726966/lib/libpthread-2.12.2.so b773f000-b7741000 rw-p 00:00 0 b7741000-b7897000 r-xp 08:02 1726984/lib/libc-2.12.2.so b7897000-b7899000 r--p 00156000 08:02 1726984/lib/libc-2.12.2.so b7899000-b789a000 rw-p 00158000 08:02 1726984/lib/libc-2.12.2.so b789a000-b789d000 rw-p 00:00 0 b789d000-b78a4000 r-xp 08:02 1726976/lib/librt-2.12.2.so b78a4000-b78a5000 r--p 6000 08:02 1726976/lib/librt-2.12.2.so b78a5000-b78a6000 rw-p 7000 08:02 1726976/lib/librt-2.12.2.so b78c3000-b78c4000 rw-p 00:00 0 b78c6000-b78c9000 rw-p 00:00 0 b78c9000-b78e5000 r-xp 08:02 1726983/lib/ld-2.12.2.so b78e5000-b78e6000 r-xp 00:00 0 [vdso] b78e6000-b78e7000 r--p 0001c000 08:02 1726983/lib/ld-2.12.2.so b78e7000-b78e8000 rw-p 0001d000 08:02 1726983/lib/ld-2.12.2.so bfc93000-bfcc7000 rw-p 00:00 0 [stack] Aborted / ** ***/ I am not sure what is causing the error. I might be some use flag or some updated package but I am not able to find any thing. My configuration files are as such: make.conf http://pastebin.com/6geZzKb4 package.use http://pastebin.com/8V5YgCau emerge --info http://pastebin.com/ByW40pNp Please let me know if any more information is required. Any help is appreciated. thanks, randd Just found this http://forums.gentoo.org/viewtopic-t-851441-start-0.html It seems the problem is seen with make-3.82 and not with make-3.81. I am downgrading make and checking the build now. Yep. That was the problem. Build goes on fine with make-3.81-r2.