How are you building Dmitry?
On 5 February 2013 08:54, Dmitry Antipov dmitry.antipov@linaro.org wrote:
It's in bionic:
target thumb C: libc_common <= bionic/libc/netbsd/resolv/res_data.c prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc -I bionic/libc/stdlib -I bionic/libc/string -I bionic/libc/stdio -I external/safe-iop/include -I bionic/libc -I out/target/product/vexpress/obj/STATIC_LIBRARIES/libc_common_intermediates -I libnativehelper/include/nativehelper -isystem system/core/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem frameworks/base/opengl/include -isystem external/skia/include -isystem out/target/product/vexpress/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libstdc++/include -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/arch-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -isystem bionic/libthread_db/include -c -fno-exceptions -Wno-multichar -msoft-float -fpic -fPIE -ffunction-sections -fdata-sections -funwind-tables -fstack-protector -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=1 -fno-short-enums -march=armv7-a -mfloat-abi=softfp -mfpu=neon -include build/core/combo/include/arch/linux-arm/AndroidConfig.h -I build/core/combo/include/arch/linux-arm/ -Wno-unused-but-set-variable -fno-builtin-sin -fno-strict-volatile-bitfields -Wno-psabi -mthumb-interwork -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -O3 -g -Wstrict-aliasing=2 -Werror=strict-aliasing -DNDEBUG -g -Wstrict-aliasing=2 -Werror=strict-aliasing -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DNDEBUG -UDEBUG -mthumb -O3 -fomit-frame-pointer -fstrict-aliasing -Wstrict-aliasing=2 -Werror=strict-aliasing -DWITH_ERRLIST -DANDROID_CHANGES -D_LIBC=1 -DFLOATING_POINT -DINET6 -Ibionic/libc/private -DPOSIX_MISTAKE -DLOG_ON_HEAP_ERROR -std=gnu99 -Wall -Wextra -DTM_GMTOFF=tm_gmtoff -DUSG_COMPAT=1 -DSOFTFLOAT -fstrict-aliasing -DHAVE_ARM_TLS_REGISTER -DANDROID_SMP=1 -MD -MF out/target/product/vexpress/obj/STATIC_LIBRARIES/libc_common_intermediates/netbsd/resolv/res_data.d -o out/target/product/vexpress/obj/STATIC_LIBRARIES/libc_common_intermediates/netbsd/resolv/res_data.o bionic/libc/netbsd/resolv/res_data.c bionic/libc/netbsd/gethnamaddr.c: In function 'getanswer': bionic/libc/netbsd/gethnamaddr.c:395:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] bionic/libc/netbsd/gethnamaddr.c: In function 'gethostbyname_r': bionic/libc/netbsd/gethnamaddr.c:466:61: warning: unused parameter 'buf' [-Wunused-parameter] bionic/libc/netbsd/gethnamaddr.c:466:73: warning: unused parameter 'buflen' [-Wunused-parameter] bionic/libc/netbsd/gethnamaddr.c: In function 'gethostbyname_internal': bionic/libc/netbsd/gethnamaddr.c:525:31: warning: unused variable 'cache' [-Wunused-variable] bionic/libc/netbsd/gethnamaddr.c: In function 'gethostbyaddr': bionic/libc/netbsd/gethnamaddr.c:662:7: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] bionic/libc/netbsd/gethnamaddr.c:663:7: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] bionic/libc/netbsd/gethnamaddr.c:665:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] bionic/libc/netbsd/gethnamaddr.c: In function '_gethtbyname': bionic/libc/netbsd/gethnamaddr.c:798:30: warning: unused parameter 'cb_data' [-Wunused-parameter] bionic/libc/netbsd/gethnamaddr.c: In function '_gethtbyaddr': bionic/libc/netbsd/gethnamaddr.c:925:30: warning: unused parameter 'cb_data' [-Wunused-parameter] bionic/libc/netbsd/gethnamaddr.c: In function '_dns_gethtbyname': bionic/libc/netbsd/gethnamaddr.c:1058:34: warning: unused parameter 'cb_data' [-Wunused-parameter] bionic/libc/netbsd/gethnamaddr.c: In function '_dns_gethtbyaddr': bionic/libc/netbsd/gethnamaddr.c:1118:34: warning: unused parameter 'cb_data' [-Wunused-parameter] cc1: some warnings being treated as errors
Does anyone sees something similar?
Dmitry
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android