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 00000000 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 00000000 00:00 0 > 0921d000-0e2c9000 rw-p 00000000 00:00 0 [heap] > b7200000-b7221000 rw-p 00000000 00:00 0 > b7221000-b7300000 ---p 00000000 00:00 0 > b73fd000-b74d8000 rw-p 00000000 00:00 0 > b7574000-b758f000 r-xp 00000000 08:02 398827 > /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 > b758f000-b7590000 r--p 0001a000 08:02 398827 > /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1 > b7590000-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 00000000 00:00 0 > b7727000-b773c000 r-xp 00000000 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 00000000 00:00 0 > b7741000-b7897000 r-xp 00000000 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 00000000 00:00 0 > b789d000-b78a4000 r-xp 00000000 08:02 1726976 /lib/librt-2.12.2.so > b78a4000-b78a5000 r--p 00006000 08:02 1726976 /lib/librt-2.12.2.so > b78a5000-b78a6000 rw-p 00007000 08:02 1726976 /lib/librt-2.12.2.so > b78c3000-b78c4000 rw-p 00000000 00:00 0 > b78c6000-b78c9000 rw-p 00000000 00:00 0 > b78c9000-b78e5000 r-xp 00000000 08:02 1726983 /lib/ld-2.12.2.so > b78e5000-b78e6000 r-xp 00000000 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 00000000 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.