Hi Guys,
I have been hitting similar errors but randomly.This time I triggered a make -j4,and this is the failure that I saw: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-gcc -I external/tcpdump/missing -I external/openssl/include -I external/libpcap -I external/tcpdump -I out/target/product/hi4511/obj/EXECUTABLES/tcpdump_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 external/skia/include -isystem out/target/product/hi4511/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=2 -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 -g -fno-strict-aliasing -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -MD -MF out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-ascii.d -o out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-ascii.o external/tcpdump/print-ascii.c external/tcpdump/print-802_11.c: In function 'ieee802_11_print': external/tcpdump/print-802_11.c:968:23: warning: 'dst' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (llc_print(p, length, caplen, dst, src, ^ external/tcpdump/print-802_11.c:968:23: warning: 'src' may be used uninitialized in this function [-Wmaybe-uninitialized] cp out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-arp.d out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-arp.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\$//' -e '/^$/ d' -e 's/$/ :/' < out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-arp.d
out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-arp.P; rm -f out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-arp.d target thumb C: tcpdump <= external/tcpdump/print-atalk.c prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-gcc -I external/tcpdump/missing -I external/openssl/include -I external/libpcap -I external/tcpdump -I out/target/product/hi4511/obj/EXECUTABLES/tcpdump_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 external/skia/include -isystem out/target/product/hi4511/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=2 -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 -g -fno-strict-aliasing -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -MD -MF out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-atalk.d -o out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-atalk.o external/tcpdump/print-atalk.c external/tcpdump/print-802_11.c:991:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. make: *** [out/target/product/hi4511/obj/EXECUTABLES/tcpdump_intermediates/print-802_11.o] Error 1 make: *** Waiting for unfinished jobs....
But I don't see the error when I compile manually the same file. Are these errors showing up due to resource issue on host or is it genuinely a compiler bug ?
On 12 November 2013 14:09, Harigopal Gollamudi < harigopal.gollamudi@linaro.org> wrote:
HI Bero,
While compiling panda 4.4 I am getting the following error :
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-g++ -nostdlib -Bdynamic -fPIE -pie -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc -Lout/target/product/pandaboard/obj/lib -Wl,-rpath-link=out/target/product/pandaboard/obj/lib out/target/product/pandaboard/obj/lib/crtbegin_dynamic.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/main.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/bc.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/scan.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/execute.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/load.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/storage.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/util.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/global.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/warranty.o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/number.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/pandaboard/obj/STATIC_LIBRARIES/libcutils_intermediates/libcutils.a out/target/product/pandaboard/obj/STATIC_LIBRARIES/libc_intermediates/libc.a out/target/product/pandaboard/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a -lc -lstdc++ -lm -o out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/LINKED/bc -Wl,-O2 -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe -Wl,--no-fix-cortex-a8 -Wl,--no-undefined /home/harigopal.gollamudi/panda_v4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/../lib/gcc/arm-linux-androideabi/4.8.2/armv7-a/libgcc.a out/target/product/pandaboard/obj/lib/crtend_android.o
/home/harigopal.gollamudi/panda_v4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/../libexec/gcc/arm-linux-androideabi/4.8.2/real-ld: error: out/target/product/pandaboard/obj/STATIC_LIBRARIES/libc_intermediates/libc.a(err.o): multiple definition of 'warn' /home/harigopal.gollamudi/panda_v4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/../libexec/gcc/arm-linux-androideabi/4.8.2/real-ld: out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/util.o: previous definition here collect2: error: ld returned 1 exit status make: *** [out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/LINKED/bc] Error 1
Regards, Harigopal
On 11 November 2013 22:41, Vishal Bhoj vishal.bhoj@linaro.org wrote:
I got this error on hisilicon build with our latest toolchain. built with this configuration: TARGET_CPU_ABI := armeabi-v7a TARGET_CPU_ABI2 := armeabi TARGET_CPU_VARIANT := cortex-a9
TARGET_ARCH := arm # Enable NEON feature TARGET_ARCH_VARIANT := armv7-a-neon
On 11 November 2013 22:31, Bernhard Rosenkränzer < bernhard.rosenkranzer@linaro.org> wrote:
No, that looks really bad...
Is this with our compiler? What flags? Doesn't seem to happen when building for Nexus devices.
ttyl bero
On 11 November 2013 16:54, Vishal Bhoj vishal.bhoj@linaro.org wrote:
Hi Bero,
Have you seen this error: external/chromium/base/values.cc: In member function 'bool DictionaryValue::HasKey(const string&) const': external/chromium/base/values.cc:321:6: internal compiler error: Segmentation fault bool DictionaryValue::HasKey(const std::string& key) const { ^ Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. make: *** [out/target/product/hi4511/obj/SHARED_LIBRARIES/libchromium_net_intermediates/base/values.o] Error 1 make: *** Waiting for unfinished jobs....
On 11 November 2013 20:03, Bernhard Rosenkränzer < bernhard.rosenkranzer@linaro.org> wrote:
Hi,
fatal: read error: Connection reset by peer fatal: read error: Connection reset by peer
This is a random infrastructure error.
ttyl bero
On 11 November 2013 14:37, Harigopal Gollamudi < harigopal.gollamudi@linaro.org> wrote:
Hi Bero,
Please find the log file attached for the Error which I am getting.
On 11 November 2013 18:33, Bernhard Rosenkränzer < bernhard.rosenkranzer@linaro.org> wrote:
> Hi, > there's no error in there... (collect2: error: ld returned exit > status is a reference to something that happened before on another CPU, > look for "Error 1" in the output preceding it). > > ttyl > bero > > > On 11 November 2013 13:44, Harigopal Gollamudi < > harigopal.gollamudi@linaro.org> wrote: > >> Hi Bero, >> >> Now the compilation error is different for me >> >> bench_close >> (out/target/product/pandaboard/obj/EXECUTABLES/bench_close_intermediates/LINKED/bench_close) >> prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-g++ >> -nostdlib -Bdynamic -fPIE -pie -Wl,-dynamic-linker,/system/bin/linker >> -Wl,--gc-sections -Wl,-z,nocopyreloc >> -Lout/target/product/pandaboard/obj/lib >> -Wl,-rpath-link=out/target/product/pandaboard/obj/lib >> out/target/product/pandaboard/obj/lib/crtbegin_dynamic.o >> out/target/product/pandaboard/obj/EXECUTABLES/bench_close_intermediates/close.o >> -Wl,--whole-archive -Wl,--no-whole-archive >> out/target/product/pandaboard/obj/STATIC_LIBRARIES/libmicro_intermediates/libmicro.a >> out/target/product/pandaboard/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a >> -lc -lstdc++ -lm -o >> out/target/product/pandaboard/obj/EXECUTABLES/bench_close_intermediates/LINKED/bench_close >> -Wl,-O2 -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now >> -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe >> -Wl,--no-fix-cortex-a8 -Wl,--no-undefined >> /home/harigopal.gollamudi/panda_v4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/../lib/gcc/arm-linux-androideabi/4.8.2/armv7-a/libgcc.a >> out/target/product/pandaboard/obj/lib/crtend_android.o >> collect2: error: ld returned 1 exit status >> make: *** >> [out/target/product/pandaboard/obj/EXECUTABLES/bc_intermediates/LINKED/bc] >> Error 1 >> make: *** Waiting for unfinished jobs.... >> >> >> >> >> On 11 November 2013 17:57, Pranav Tipnis pranav.tipnis@linaro.orgwrote: >> >>> Hi Bero, >>> >>> Sad news :(. I am getting following error now: >>> >>> /home/pranav/arndale_4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/../libexec/gcc/arm-linux-androideabi/4.8.2/real-ld: >>> error: >>> out/target/product/arndale/obj/STATIC_LIBRARIES/libc_intermediates/libc.a(err.o): >>> multiple definition of 'warn' >>> /home/pranav/arndale_4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/../libexec/gcc/arm-linux-androideabi/4.8.2/real-ld: >>> out/target/product/arndale/obj/EXECUTABLES/bc_intermediates/util.o: >>> previous definition here >>> collect2: error: ld returned 1 exit status >>> target Symbolic: libwnndict >>> (out/target/product/arndale/symbols/system/lib/libwnndict.so) >>> make: *** >>> [out/target/product/arndale/obj/EXECUTABLES/bc_intermediates/LINKED/bc] >>> Error 1 >>> make: *** Waiting for unfinished jobs.... >>> >>> >>> Regards, >>> Pranav >>> >>> >>> On 11 November 2013 17:22, Pranav Tipnis <pranav.tipnis@linaro.org >>> > wrote: >>> >>>> Hi Bero, >>>> >>>> It seems to work. Earlier the error used to come immediately on >>>> starting the build. But now the build is running. Will let you know once it >>>> builds completely. >>>> >>>> Regards, >>>> Pranav >>>> >>>> >>>> On 11 November 2013 15:05, Bernhard Rosenkränzer < >>>> bernhard.rosenkranzer@linaro.org> wrote: >>>> >>>>> Ok, try again now >>>>> >>>>> >>>>> On 11 November 2013 10:33, Bernhard Rosenkränzer < >>>>> bernhard.rosenkranzer@linaro.org> wrote: >>>>> >>>>>> Hi, >>>>>> this looks like something the workaround for the broken host >>>>>> toolchain on android-build could introduce... (I couldn't test that one >>>>>> because my local host toolchain isn't broken). >>>>>> >>>>>> I'll try to commit another variant of that fix, should be done >>>>>> in 5 minutes or so. >>>>>> >>>>>> ttyl >>>>>> bero >>>>>> >>>>>> >>>>>> On 11 November 2013 07:45, Harigopal Gollamudi < >>>>>> harigopal.gollamudi@linaro.org> wrote: >>>>>> >>>>>>> Hi Bero, >>>>>>> >>>>>>> While building Android 4.4 for pandaboard, I am getting the >>>>>>> errors on latest synced source. >>>>>>> >>>>>>> Please find the attached Error log. >>>>>>> >>>>>>> -- >>>>>>> Thanks and Regards, >>>>>>> HariGopal G >>>>>>> Android Engineer >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> >> >> -- >> Thanks and Regards, >> HariGopal G >> Android Engineer >> > >
-- Thanks and Regards, HariGopal G Android Engineer
-- Thanks and Regards, HariGopal G Android Engineer