Bug 60065

Summary: --gc-sections causes build failure on Solaris
Product: WebKit Reporter: Pavel Heimlich (hajma) <tropikhajma>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal    
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Other   
Attachments:
Description Flags
patch none

Description Pavel Heimlich (hajma) 2011-05-03 14:43:31 PDT
Created attachment 92134 [details]
patch

Trying to build Qt 4.7.2 on Solaris 11 with gcc 4.5.2 fails because webkit/WebCore/WebCore.pro is adding "-Wl,--gc-sections" flag.
This is not supported by the Solaris linker.

It was mentioned a year ago at http://lists.qt.nokia.com/pipermail/qt-interest/2010-May/023701.html.
I found out the attached patch helped me to finish the build.

in webkit trunk the code is part of WebCore.pri as it was moved some time ago