Gentoo Archives: gentoo-user

From: randd <4randd@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Android build error on Gentoo
Date: Wed, 13 Jul 2011 06:11:43
Message-Id: 201107131125.51092.4randd@gmail.com
In Reply to: [gentoo-user] Android build error on Gentoo by randd <4randd@gmail.com>
1 On Wednesday 13 Jul 2011 11:06:32 AM randd wrote:
2 > Hi All,
3 >
4 > I am on Gentoo stable and in the past (Jun 9) I have built android
5 > (gingerbread) successfully. Somehow now build fails at random places with
6 > the following error.
7 >
8 >
9 > /**************************************************************************
10 > *****/ *** glibc detected *** make: free(): invalid next size (fast):
11 > 0x0e14f160 *** ======= Backtrace: =========
12 > /lib/libc.so.6(+0x6c3ef)[0xb77ad3ef]
13 > /lib/libc.so.6(+0x6dce0)[0xb77aece0]
14 > /lib/libc.so.6(cfree+0x6e)[0xb77b1e7e]
15 > make[0x8050dbc]
16 > ======= Memory map: ========
17 > 08048000-0806c000 r-xp 00000000 08:02 395421 /usr/bin/gmake
18 > 0806c000-0806d000 r--p 00023000 08:02 395421 /usr/bin/gmake
19 > 0806d000-0806e000 rw-p 00024000 08:02 395421 /usr/bin/gmake
20 > 0806e000-0806f000 rw-p 00000000 00:00 0
21 > 0921d000-0e2c9000 rw-p 00000000 00:00 0 [heap]
22 > b7200000-b7221000 rw-p 00000000 00:00 0
23 > b7221000-b7300000 ---p 00000000 00:00 0
24 > b73fd000-b74d8000 rw-p 00000000 00:00 0
25 > b7574000-b758f000 r-xp 00000000 08:02 398827
26 > /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1
27 > b758f000-b7590000 r--p 0001a000 08:02 398827
28 > /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1
29 > b7590000-b7591000 rw-p 0001b000 08:02 398827
30 > /usr/lib/gcc/i686-pc-linux- gnu/4.4.5/libgcc_s.so.1
31 > b75b3000-b7727000 rw-p 00000000 00:00 0
32 > b7727000-b773c000 r-xp 00000000 08:02 1726966 /lib/libpthread-2.12.2.so
33 > b773c000-b773d000 ---p 00015000 08:02 1726966 /lib/libpthread-2.12.2.so
34 > b773d000-b773e000 r--p 00015000 08:02 1726966 /lib/libpthread-2.12.2.so
35 > b773e000-b773f000 rw-p 00016000 08:02 1726966 /lib/libpthread-2.12.2.so
36 > b773f000-b7741000 rw-p 00000000 00:00 0
37 > b7741000-b7897000 r-xp 00000000 08:02 1726984 /lib/libc-2.12.2.so
38 > b7897000-b7899000 r--p 00156000 08:02 1726984 /lib/libc-2.12.2.so
39 > b7899000-b789a000 rw-p 00158000 08:02 1726984 /lib/libc-2.12.2.so
40 > b789a000-b789d000 rw-p 00000000 00:00 0
41 > b789d000-b78a4000 r-xp 00000000 08:02 1726976 /lib/librt-2.12.2.so
42 > b78a4000-b78a5000 r--p 00006000 08:02 1726976 /lib/librt-2.12.2.so
43 > b78a5000-b78a6000 rw-p 00007000 08:02 1726976 /lib/librt-2.12.2.so
44 > b78c3000-b78c4000 rw-p 00000000 00:00 0
45 > b78c6000-b78c9000 rw-p 00000000 00:00 0
46 > b78c9000-b78e5000 r-xp 00000000 08:02 1726983 /lib/ld-2.12.2.so
47 > b78e5000-b78e6000 r-xp 00000000 00:00 0 [vdso]
48 > b78e6000-b78e7000 r--p 0001c000 08:02 1726983 /lib/ld-2.12.2.so
49 > b78e7000-b78e8000 rw-p 0001d000 08:02 1726983 /lib/ld-2.12.2.so
50 > bfc93000-bfcc7000 rw-p 00000000 00:00 0 [stack]
51 > Aborted
52 > /**************************************************************************
53 > ***/
54 >
55 >
56 > I am not sure what is causing the error. I might be some use flag or some
57 > updated package but I am not able to find any thing. My configuration files
58 > are as such:
59 >
60 > make.conf
61 > http://pastebin.com/6geZzKb4
62 >
63 > package.use
64 > http://pastebin.com/8V5YgCau
65 >
66 > emerge --info
67 > http://pastebin.com/ByW40pNp
68 >
69 > Please let me know if any more information is required.
70 > Any help is appreciated.
71 >
72 > thanks,
73 > randd
74
75 Just found this
76 http://forums.gentoo.org/viewtopic-t-851441-start-0.html
77
78 It seems the problem is seen with make-3.82 and not with make-3.81. I am
79 downgrading make and checking the build now.

Replies

Subject Author
[gentoo-user] Re: Android build error on Gentoo randd <4randd@×××××.com>