Bug 144117

Summary: Linker fails without -DDEVELOPER_MODE=ON
Product: WebKit Reporter: Doug Newgard <scimmia22>
Component: JavaScriptCoreAssignee: Ryuan Choi <ryuan.choi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ryuan.choi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Error Log
none
Patch none

Description Doug Newgard 2015-04-23 13:29:27 PDT
Created attachment 251479 [details]
Error Log

Using cmake without -DDEVELOPER_MODE=ON causes target JSC to fail with a lot of Undefined Reference errors. See attached log.
Comment 1 Ryuan Choi 2015-05-11 21:29:10 PDT
(In reply to comment #0)
> Created attachment 251479 [details]
> Error Log
> 
> Using cmake without -DDEVELOPER_MODE=ON causes target JSC to fail with a lot
> of Undefined Reference errors. See attached log.

It's because of visibility CXX FLAGS.

I will upload the patch not to use visibility.
We can use linker script instead of it.
Comment 2 Ryuan Choi 2015-05-11 21:39:15 PDT
Created attachment 252931 [details]
Patch
Comment 3 Gyuyoung Kim 2015-05-12 00:11:04 PDT
Comment on attachment 252931 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=252931&action=review

LGTM.

> Source/cmake/OptionsEfl.cmake:60
> +    set(WebKit2_VERSION_SCRIPT "-Wl,--version-script,${CMAKE_MODULE_PATH}/eflsymbols.filter")

Oh, nice catch !
Comment 4 WebKit Commit Bot 2015-05-12 01:00:41 PDT
Comment on attachment 252931 [details]
Patch

Clearing flags on attachment: 252931

Committed r184166: <http://trac.webkit.org/changeset/184166>
Comment 5 WebKit Commit Bot 2015-05-12 01:00:46 PDT
All reviewed patches have been landed.  Closing bug.