Gentoo Archives: gentoo-user

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

Replies

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