WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
238868
[GTK] Turning on the address sanitizer should disable GIR and documentation
https://bugs.webkit.org/show_bug.cgi?id=238868
Summary
[GTK] Turning on the address sanitizer should disable GIR and documentation
Martin Robinson
Reported
2022-04-06 08:10:37 PDT
GIR isn't compatible with the flags passed for address sanitation and documentation depends on GIR.
Attachments
Patch
(2.34 KB, patch)
2022-04-06 08:42 PDT
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
Patch
(1.96 KB, patch)
2022-04-07 00:48 PDT
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2022-04-06 08:42:42 PDT
Created
attachment 456822
[details]
Patch
Adrian Perez
Comment 2
2022-04-06 10:04:13 PDT
Comment on
attachment 456822
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=456822&action=review
> Source/cmake/OptionsGTK.cmake:286 > +# FIXME: Does the new documentation toolchain work on Mac now?
Do we have any evidence that it does not work in MacOS? TBH, I think the if(APPLE) conditional is unnecessary. It's not like MacOS is particularly well supported, and people packaging for such an environment (e.g. MacPorts) sure can decide themselves if they want to disable documentation or not. FWIW, there is nothing particularly special about gi-docgen: it's a pure Python program, so as long as g-ir-scanner can create a .gir file, it will work fine. Also, this is unrelated to sanitizers, so one more reason to leave this part out od this patch.
Martin Robinson
Comment 3
2022-04-06 10:05:49 PDT
(In reply to Adrian Perez from
comment #2
) ork fine.
> > Also, this is unrelated to sanitizers, so one more reason to leave this > part out od this patch.
I'm just maintaining this existing behavior. I think someone should double-check that the new documentation tool works on Mac before turning it back on.
Martin Robinson
Comment 4
2022-04-07 00:47:27 PDT
(In reply to Martin Robinson from
comment #3
)
> (In reply to Adrian Perez from
comment #2
) > ork fine. > > > > Also, this is unrelated to sanitizers, so one more reason to leave this > > part out od this patch. > > I'm just maintaining this existing behavior. I think someone should > double-check that the new documentation tool works on Mac before turning it > back on.
That said, I don't want to block this patch. I have uploaded a new version that maintains the broken line which tries to disable documentation when building on Mac.
Martin Robinson
Comment 5
2022-04-07 00:48:29 PDT
Created
attachment 456898
[details]
Patch
Martin Robinson
Comment 6
2022-04-07 01:41:58 PDT
Comment on
attachment 456898
[details]
Patch Thanks for the review!
EWS
Comment 7
2022-04-07 03:58:44 PDT
Committed
r292528
(
249366@main
): <
https://commits.webkit.org/249366@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 456898
[details]
.
Radar WebKit Bug Importer
Comment 8
2022-04-07 03:59:16 PDT
<
rdar://problem/91406165
>
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