Hello David & all,
Thank you for the information. We're trying this sreadahead(http://code.google.com/p/sreadahead/) on ARM based target. As these __sync_fetch_and_add_4 & readahead are not part of bionic libc; could you please suggest us any alternatives. Or any other technique to reduce bootup time ?

Thanks.

On Feb 5, 2010 3:34am, David Turner <[email protected]> wrote:
Googling reveals that __sync_fetch_and_add_4 is an x86 and x86_64 specific builtin compiler function.
On Thu, Feb 4, 2010 at 4:50 AM, zafar [email protected]> wrote:

Trying to use sreadahead tool on android target to decrease bootup

time .

But sreaahesd.c are not getting compiled against bionic library.

Below is the error message---------









/tmp/ccIfKOOt.o: In function `one_thread':

/home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:177: undefined

reference to `__sync_fetch_and_add_4'

/tmp/ccIfKOOt.o: In function `readahead_one':

/home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:166: undefined

reference to `readahead'

/tmp/ccIfKOOt.o: In function `one_thread':

/home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:177: undefined

reference to `__sync_fetch_and_add_4'

collect2: ld returned 1 exit status

make: *** [sreadahead] Error 1







Any help will be highly appreciated



Thank you



--

You received this message because you are subscribed to the Google

Groups "Android Developers" group.

To post to this group, send email to [email protected]

To unsubscribe from this group, send email to

[email protected]

For more options, visit this group at

http://groups.google.com/group/android-developers?hl=en









--

You received this message because you are subscribed to the Google

Groups "Android Developers" group.

To post to this group, send email to [email protected]

To unsubscribe from this group, send email to

[email protected]

For more options, visit this group at

http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to