Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642216 - www-client/chromium-63.0.3239.108 - internal compiler error: Segmentation fault
Summary: www-client/chromium-63.0.3239.108 - internal compiler error: Segmentation fault
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-25 16:30 UTC by Alex
Modified: 2018-07-29 19:24 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,5.22 KB, text/plain)
2017-12-25 16:30 UTC, Alex
Details
build log (build.log,30.34 KB, text/x-log)
2017-12-25 16:31 UTC, Alex
Details
build-2.log (build-2.log.gz,530.35 KB, application/gzip)
2017-12-26 05:39 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-12-25 16:30:25 UTC
Created attachment 511592 [details]
emerge --info

Hi,

Updating to chromium-63.0.3239.108 fails with the error:
--------------------------------------------------------
ninja: build stopped: subcommand failed.
Command '['ninja', '-C', '/var/tmp/portage/www-client/chromium-63.0.3239.108/work/chromium-63.0.3239.108/out_bootstrap', '-w', 'dupbuild=err', '-v', 'gn']' returned non-zero exit status 1
 * ERROR: www-client/chromium-63.0.3239.108::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 5357:  Called bootstrap_gn
 *   environment, line 1011:  Called die
 * The specific snippet of code:
 *       "$@" || die
----------------------------------------------------------

Build log and "emerge --info" are attached.

Regards,
Alex
Comment 1 Alex 2017-12-25 16:31:33 UTC
Created attachment 511594 [details]
build log
Comment 2 Mike Gilbert gentoo-dev 2017-12-25 16:37:14 UTC
From the build log:

/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/tuple:83:2: internal compiler error: Segmentation fault

Please check dmesg for errors, and possibly rebuild gcc.
Comment 3 Alex 2017-12-25 16:38:55 UTC
(In reply to Mike Gilbert from comment #2)
> Please check dmesg for errors, and possibly rebuild gcc.
Will try it, thanks!
Comment 4 Alex 2017-12-26 05:38:00 UTC
I rebuilt GCC and tried again.
It keeps failing...
-------------------------------------------------
../../media/ffmpeg/ffmpeg_common.cc:36:46: error: 'FF_INPUT_BUFFER_PADDING_SIZE' was not declared in this scope
 static_assert(DecoderBuffer::kPaddingSize >= FF_INPUT_BUFFER_PADDING_SIZE,
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../media/ffmpeg/ffmpeg_common.cc: In function 'void media::AudioDecoderConfigToAVCodecContext(const media::AudioDecoderConfig&, AVCodecContext*)':
../../media/ffmpeg/ffmpeg_common.cc:436:48: error: 'FF_INPUT_BUFFER_PADDING_SIZE' was not declared in this scope
         av_malloc(config.extra_data().size() + FF_INPUT_BUFFER_PADDING_SIZE));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../media/ffmpeg/ffmpeg_common.cc: In function 'void media::VideoDecoderConfigToAVCodecContext(const media::VideoDecoderConfig&, AVCodecContext*)':
../../media/ffmpeg/ffmpeg_common.cc:603:48: error: 'FF_INPUT_BUFFER_PADDING_SIZE' was not declared in this scope
         av_malloc(config.extra_data().size() + FF_INPUT_BUFFER_PADDING_SIZE));
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-63.0.3239.108::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C out/Release v8_context_snapshot_generator failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5256:  Called eninja '-C' 'out/Release' 'v8_context_snapshot_generator'
 *   environment, line 1836:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
---------------------------------------------------------------

New build-2.log is attached.

BTW, I have USE="system-ffmpeg" and ffmpeg-9999 installed.

Regards,
Alex
Comment 5 Alex 2017-12-26 05:39:41 UTC
Created attachment 511624 [details]
build-2.log
Comment 6 Alex 2017-12-29 16:34:07 UTC
Finally, I managed to build it -- without "system-ffmpeg" flag.