Bug 171296

Summary: [ARM] Enable GCC visibility
Product: WebKit Reporter: Don Olmstead <don.olmstead>
Component: Tools / TestsAssignee: Don Olmstead <don.olmstead>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, benjamin, buildbot, cdumez, cmarcelo, commit-queue, dbates, lforschler, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
achristensen: review-, achristensen: commit-queue-
Patch with GCC 4 check removed none

Don Olmstead
Reported 2017-04-25 16:23:16 PDT
The export macros for WebKit have a guard to prevent the GCC visibility attribute on ARM. This was originally done back in 2009 with https://trac.webkit.org/changeset/48251/webkit. It appears that armcc now supports the visibility attribute, http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472j/chr1359124978628.html, so this can be enabled.
Attachments
Patch (1.30 KB, patch)
2017-04-25 17:05 PDT, Don Olmstead
achristensen: review-
achristensen: commit-queue-
Patch with GCC 4 check removed (1.28 KB, patch)
2017-04-26 10:43 PDT, Don Olmstead
no flags
Don Olmstead
Comment 1 2017-04-25 17:05:39 PDT
Created attachment 308169 [details] Patch Enables GCC visibility for armcc. GCC needs to be >= 4 to have support. Clang also exposes this macro.
Don Olmstead
Comment 2 2017-04-25 17:06:32 PDT
This fixes the feedback from https://bugs.webkit.org/show_bug.cgi?id=171240 that wasn't gotten to before landing.
Alex Christensen
Comment 3 2017-04-26 00:33:57 PDT
I don't think we support gcc older than 4.
Michael Catanzaro
Comment 4 2017-04-26 10:25:56 PDT
(In reply to Alex Christensen from comment #3) > I don't think we support gcc older than 4. Yeah, GCC 4.0 was released in 2005 and there's no way to compile WebKit with anything less than GCC 4.9. We have checks to prevent this in other places. No need for that version test.
Alex Christensen
Comment 5 2017-04-26 10:40:00 PDT
Comment on attachment 308169 [details] Patch Ok, that's what I thought. Let's just remove the checks.
Don Olmstead
Comment 6 2017-04-26 10:43:17 PDT
Created attachment 308265 [details] Patch with GCC 4 check removed
WebKit Commit Bot
Comment 7 2017-04-26 11:28:04 PDT
Comment on attachment 308265 [details] Patch with GCC 4 check removed Clearing flags on attachment: 308265 Committed r215817: <http://trac.webkit.org/changeset/215817>
WebKit Commit Bot
Comment 8 2017-04-26 11:28:06 PDT
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.