Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593836 - www-client:chromium-55.0.2859.0[-system-ffmpeg] yasm error
Summary: www-client:chromium-55.0.2859.0[-system-ffmpeg] yasm error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-15 01:04 UTC by Mike Gilbert
Modified: 2016-11-13 15:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2016-09-15 01:04:58 UTC
It looks like whatever script generates autorename_libavcodec_x86_sbrdsp.asm is inserting a C++ style comment (//). yasm does not like that.

> FAILED: obj/third_party/ffmpeg/ffmpeg_yasm/autorename_libavcodec_x86_sbrdsp.o 
> python ../../third_party/yasm/run_yasm.py yasm -DPIC -felf64 -m amd64 -DARCH_X86_64 -w -P ../../third_party/ffmpeg/chromium/config/Chrome/linux/x64/config.asm -I../../third_party/ffmpeg/chromium/config/Chrome/linux/x64 -I../../third_party/ffmpeg/libavcodec/x86 -I../../third_party/ffmpeg/libavutil/x86 -I../../third_party/ffmpeg -I. -I../.. -Igen -DPIC -o obj/third_party/ffmpeg/ffmpeg_yasm/autorename_libavcodec_x86_sbrdsp.o ../../third_party/ffmpeg/libavcodec/x86/autorename_libavcodec_x86_sbrdsp.asm
> ../../third_party/ffmpeg/libavcodec/x86/autorename_libavcodec_x86_sbrdsp.asm:1: error: label or instruction expected at start of line
Comment 1 Mike Gilbert gentoo-dev 2016-09-15 01:10:02 UTC
Looks like third_party/ffmpeg/chromium/scripts/generate_gn.py creates those autorename* files.
Comment 2 Mike Gilbert gentoo-dev 2016-09-15 03:46:45 UTC
I added a patch to fix the asm output of generate_gn.py. Please submit it upstream if it looks reasonable.

https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/chromium-ffmpeg-generate_gn.patch
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2016-09-16 00:25:12 UTC
Uploaded upstream https://chromium-review.googlesource.com/c/386336/ for review.