[BUILD HAMMERHEAD] mkbootimg.o: file is empty

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
3 years ago
3 years ago

People

(Reporter: contact, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

10.52 KB, text/x-log
Details
(Reporter)

Description

3 years ago
Created attachment 8648256 [details]
last_buid.log

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150812163655

Steps to reproduce:

$ BRANCH="master" ./config.sh "nexus-5-l"
$ ./build.sh


Actual results:

host Executable: bsdiff (out/host/linux-x86/obj32/EXECUTABLES/bsdiff_intermediates/bsdiff)
preparing StaticLib: libc++ [including  out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt_intermediates/libcompiler_rt.a]
/srv/firefoxos/source/master/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/../lib/gcc/x86_64-linux/4.6/../../../../x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o: file is empty
/srv/firefoxos/source/master/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/../sysroot/usr/lib/../lib32/Scrt1.o(.text+0x28): error: undefined reference to 'main'
collect2: ld returned 1 exit status


Expected results:

generate *.img files in out/target/product/hammerhead
(Reporter)

Comment 1

3 years ago
Created attachment 8651428 [details]
build-20150822.log

Error message changed.
OS : Arch Linux
(Reporter)

Updated

3 years ago
OS: Gonk (Firefox OS) → Linux
Hardware: ARM → x86_64
(Reporter)

Updated

3 years ago
Summary: [BUILD B2G] mkbootimg.o: file is empty → [BUILD HAMMERHEAD] flex-2.5.39: loadlocale.c:131
(Reporter)

Updated

3 years ago
Summary: [BUILD HAMMERHEAD] flex-2.5.39: loadlocale.c:131 → [BUILD HAMMERHEAD] mkbootimg.o: file is empty
(Reporter)

Comment 2

3 years ago
Fixed "flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion" with downgraded version of gcc.
https://bbs.archlinux.org/viewtopic.php?id=200845

Still have "mkbootimg.o: file is empty"
(Reporter)

Comment 3

3 years ago
Created attachment 8651495 [details]
build-20150823.log
Attachment #8648256 - Attachment is obsolete: true
Attachment #8651428 - Attachment is obsolete: true
(Reporter)

Comment 4

3 years ago
Build is done correctly with " ./build.sh -j1 ".
The computer have enought ressources : 6GB RAM free and 210GB HDD free.
(Reporter)

Comment 5

3 years ago
The computer has 4 core and "-j5" still build.
Issue bypassed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.