Closed Bug 1509724 Opened 6 years ago Closed 5 years ago

Error: mozilla-central/media/libvpx/libvpx/vpx_ports/x86_abi_support.asm:panic: assertion cv8_state.source_files != NULL failed at output/codeview.c:517 when using NASM

Categories

(Firefox Build System :: General, defect)

Desktop
Windows
defect
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: JanH, Assigned: TD-Linux)

References

Details

(Keywords: in-triage)

Attachments

(2 files)

Attached file build.log
After updating my repository from 7154eb3601f3 to c48931864919, building Firefox on Windows 7 fails:

> 12:23.29 e:/mozilla-source/mozilla-central/media/libvpx/libvpx/vpx_ports/x86_abi_support.asm:panic: assertion cv8_state.source_files != NULL failed at output/codeview.c:517
> 12:23.30 mozmake.EXE[4]: *** [e:/mozilla-source/mozilla-central/config/rules.mk:807: x86_abi_support.obj] Error 3
> 12:23.31 mozmake.EXE[3]: *** [e:/mozilla-source/mozilla-central/config/recurse.mk:74: media/libvpx/target] Error 2
(In reply to Jan Henning [:JanH] from comment #0)
> After updating my repository from 7154eb3601f3 to c48931864919, building

That in itself wasn't the problem, but because that range contains bug 1501796, I installed NASM 2.14 and added it to Mozilla Build's shell path.
Summary: Error: mozilla-central/media/libvpx/libvpx/vpx_ports/x86_abi_support.asm:panic: assertion cv8_state.source_files != NULL failed at output/codeview.c:517 → Error: mozilla-central/media/libvpx/libvpx/vpx_ports/x86_abi_support.asm:panic: assertion cv8_state.source_files != NULL failed at output/codeview.c:517 when using NASM
Keywords: in-triage
TD-Linux: any feedback or recommendations here?
Flags: needinfo?(tdaede)
Depends on: 1501796
Ah, this looks like a bug inside nasm in its WinDbg generation (codeview). I'll see if I can reproduce. In the meantime, you can work around it just by uninstalling nasm (it'll currently fall back to yasm)
Flags: needinfo?(tdaede)
Assignee: nobody → tdaede

The actual issue is that x86_abi_support.asm is included as a source file, when it shouldn't be (it doesn't emit any object code)

Pushed by tdaede@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c82dc10b75c0
Don't include x86_abi_support.asm in libvpx build. r=dmajor
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
See Also: → 1521078
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: