As far as I can tell, it is external/elfcopy that is the only issue preventing newer versions of gcc from working. I'm sure this will eventually be updated to work with them.
Yang Xiaopeng wrote: > Thanks Sean, > > I wonder whether android will support newer version gcc so that we can get > support for new features in armv7 architecture, like thumb2 and neon/vfp3. > > Sean McNeil 写道: > >> Don't use 4.3.x. Use gcc 4.2.4 or older. >> >> Damwid wrote: >> >>> Hi all, >>> >>> I'm trying to use gcc-4.3.2 from codesourcery to compile android, and got >>> the following error when compiling: >>> >>> target Prelink: libdl >>> (out/target/product/zoom_mdk/symbols/system/lib/libdl.so) >>> external/elfcopy/elfcopy.c(1097): gelf_update_phdr(): invalid data >>> make[1]: *** [out/target/product/zoom_mdk/symbols/system/lib/libdl.so] >>> Error 1 >>> make[1]: *** Deleting file >>> `out/target/product/zoom_mdk/symbols/system/lib/libdl.so' >>> make[1]: Leaving directory `/work/android/test/build/device-WRS' >>> make: *** [device.compile] Error 2 >>> >>> anyone has an idea on this error? >>> >>> thanks, >>> damwid >>> >>> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [EMAIL PROTECTED] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
