WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
154839
[GTK][jhbuild] OpenWebRTC build fails with GCC 6.0
https://bugs.webkit.org/show_bug.cgi?id=154839
Summary
[GTK][jhbuild] OpenWebRTC build fails with GCC 6.0
Joanmarie Diggs
Reported
2016-02-29 15:47:44 PST
It fails for a couple of reasons: 1. Misleading indentation (
https://github.com/EricssonResearch/openwebrtc/pull/580
) 2. Not an integer constant expression (
https://bugzilla.gnome.org/show_bug.cgi?id=761119
)
Attachments
Patch
(3.46 KB, patch)
2016-02-29 15:55 PST
,
Joanmarie Diggs
no flags
Details
Formatted Diff
Diff
Patch
(6.40 KB, patch)
2016-03-07 11:57 PST
,
Joanmarie Diggs
no flags
Details
Formatted Diff
Diff
Patch for landing
(6.26 KB, patch)
2016-03-07 15:02 PST
,
Joanmarie Diggs
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Joanmarie Diggs
Comment 1
2016-02-29 15:55:34 PST
Created
attachment 272526
[details]
Patch
Michael Catanzaro
Comment 2
2016-02-29 16:17:18 PST
Comment on
attachment 272526
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=272526&action=review
> Tools/gtk/jhbuild.modules:463 > <makeargs value="CFLAGS+=-Wno-error"/>
Instead of adding two patches, let's just remove the condition here so that we use -Wno-error always. Otherwise we're just going to need to patch this again due to whatever new compiler warning GCC or Clang introduces next year.
Michael Catanzaro
Comment 3
2016-02-29 16:40:06 PST
Actually, nowadays jhbuild passes -Wno-error to every module automatically, we can maybe just upgrade jhbuild. Joanie, since you have F24 already, want to test? In Tools/jhbuild/jhbuild-wrapper, just change the jhbuild_revision line to something new (here I pick the latest commit, it might work) and remove the obsolete comment: jhbuild_revision = '7a8490efbf497d04cfc244a2af0fc7361ad8dd17' Then you can get rid of the manual -Wno-error passing in jhbuild.modules.
Joanmarie Diggs
Comment 4
2016-03-07 11:57:40 PST
Created
attachment 273200
[details]
Patch
Michael Catanzaro
Comment 5
2016-03-07 13:29:43 PST
Comment on
attachment 273200
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=273200&action=review
> Tools/gtk/jhbuild-webrtc.modules:57 > + <makeargs value="OBJCFLAGS+=-Wno-error"/>
Ah, I didn't realize GStreamer depends on Objective C on Mac... in that case, you can get rid of these and set in in jhbuildrc like you did CFLAGS and CXXFLAGS. Probably with a comment to indicate the GStreamer dependency, else someone is liable to remove it cleaning up in the future.
> Tools/gtk/jhbuildrc:39 > +# Motivated by build failures when building dependencies with GCC 6.0.
I wouldn't leave this comment as it's not really related to any particular version of GCC; any new compiler will add new warnings, and if we use -Werror then that will cause the build to fail unnecessarily, it's clear enough we don't want that to happen.
Joanmarie Diggs
Comment 6
2016-03-07 15:02:11 PST
Created
attachment 273220
[details]
Patch for landing
WebKit Commit Bot
Comment 7
2016-03-07 16:04:35 PST
Comment on
attachment 273220
[details]
Patch for landing Clearing flags on attachment: 273220 Committed
r197713
: <
http://trac.webkit.org/changeset/197713
>
WebKit Commit Bot
Comment 8
2016-03-07 16:04:39 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug