Status

defect
RESOLVED FIXED
4 months ago
3 months ago

People

(Reporter: jnicol, Assigned: emilio)

Tracking

(Regression)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

Using icecc 1.2.0 on Fedora 30.

I get the following error when building for android using icecc:

4:18.62 <inline asm>:5:11: error: Could not find incbin file '/home/jamie/src/gecko/mozglue/linker/tests/test.zip'
4:18.62 .incbin "/home/jamie/src/gecko/mozglue/linker/tests/test.zip"
4:18.62 ^
4:18.62 <inline asm>:17:11: error: Could not find incbin file '/home/jamie/src/gecko/mozglue/linker/tests/no_central_dir.zip'
4:18.62 .incbin "/home/jamie/src/gecko/mozglue/linker/tests/no_central_dir.zip"
4:18.62 ^

This is my mozconfig:

ac_add_options --with-compiler-wrapper=icecc
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-android-ndk="/home/jamie/.mozbuild/android-ndk-r17b"
CC="/home/jamie/.mozbuild/clang/bin/clang"
CXX="/home/jamie/.mozbuild/clang/bin/clang++"

This is a regression from bug 1546587.

In case anyone else runs in to this problem, this can be worked around by creating an icecc tarball with the required files.

icecc-create-env --clang /home/jamie/.mozbuild/clang/bin/clang --addfile /home/jamie/src/gecko/mozglue/linker/tests/test.zip --addfile /home/jamie/src/gecko/mozglue/linker/tests/no_central_dir.zip

ICECC_VERSION=/path/to/tarball.tar.gz ./mach build

Apparently other people have run into this when compiling the Linux kernel: https://github.com/icecc/icecream/pull/463

Doesn't help in the short term, though. :(

Assignee: nobody → emilio

As icecream doesn't deal well with .incbin.

Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/57ad9770bc01
Don't build mozglue linker tests if building with icecream. r=glandium
Attachment #9064726 - Attachment description: Bug 1549762 - Turn the linker inline asm into an assembly file. r=#build → Bug 1549762 - Turn the linker inline asm into an assembly file. r=glandium
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b03ccdee521a
Turn the linker inline asm into an assembly file. r=glandium
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.