crashed compilation

62 views
Skip to first unread message

Alexander

unread,
Dec 29, 2010, 6:02:26 PM12/29/10
to Android Building
Good day.
Im make repo sync and now trying to compile recovery.

And it fails with:


make recovery

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=FRG83
============================================
find: `drm/java': No such file or directory
find: `drm/java': No such file or directory
Makefile:1279: *** mixed implicit and normal rules. Stop.
Makefile:1279: *** mixed implicit and normal rules. Stop.
build/core/base_rules.mk:455: warning: overriding recipe for target
`out/target/product/generic/recovery/root/sbin/tune2fs'
bootable/recovery/Android.mk:97: warning: ignoring old recipe for
target `out/target/product/generic/recovery/root/sbin/tune2fs'
*** glibc detected *** make: free(): invalid next size (fast):
0x0000000006b9f200 ***
======= Backtrace: =========
/lib/libc.so.6(+0x72906)[0x7f587ed78906]
/lib/libc.so.6(cfree+0x6c)[0x7f587ed7d7bc]
make[0x40c9c8]
make[0x40ff49]
make[0x407623]
make[0x40716b]
make[0x407253]
make[0x40ff0e]
make[0x407623]
make[0x40716b]
make[0x407350]
make[0x407a51]
make[0x40bfa9]
make[0x40ff49]


And it crashed.

eselect java-vm list
Available Java Virtual Machines:
[1] sun-jdk-1.6 system-vm


Sun-jdk 1.6 its my base VM.
Whats wrong?

Jean-Baptiste Queru

unread,
Dec 29, 2010, 6:15:07 PM12/29/10
to android-...@googlegroups.com
Which version of GNU make are you using? The only version that allows
building Android is 3.81.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Фьодор

unread,
Dec 29, 2010, 6:30:30 PM12/29/10
to android-...@googlegroups.com


2010/12/30 Jean-Baptiste Queru <j...@android.com>


Oh!
Im downgraded to 3.81 and it now compile.
Thanks!

Jean-Baptiste Queru

unread,
Jan 4, 2011, 11:25:19 AM1/4/11
to android-...@googlegroups.com
From what I remember, the reason why 3.82 doesn't work is that that
version of GNU make crashes when using recursive evals (i.e. when an
eval expands to an expression that contains an eval, which is
something that the Android build system uses and that works fine on
GNU make 3.81).

JBQ

On Thu, Dec 30, 2010 at 12:11 AM, Shachar Shemesh <sha...@shemesh.biz> wrote:
> On 30/12/10 01:15, Jean-Baptiste Queru wrote:
>>
>> Which version of GNU make are you using? The only version that allows
>> building Android is 3.81.
>

> The more I read this list, the more I'm understanding that it was pure luck
> that I managed to compile.
>
> Do you know WHY 3.81 is the only version that works? Specifically as
> Alexander says he had to DOWNGRADE his version to make it work?
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.
> http://www.lingnu.com

Reply all
Reply to author
Forward
0 new messages