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