[Pkg-javascript-devel] Bug#639596: Please compile with visibility=default

Jérémy Lal holisme at gmail.com
Sun Aug 28 13:31:59 UTC 2011


On 28/08/2011 15:17, Giuseppe Iuculano wrote:
> Package: libv8
> Version: 3.4.14.13-2
> Severity: important
> Tags: experimental patch
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi,
> 
> I'm preparing chromium 14 for experimental, and it FTFBS with this:
> 
>   LINK(target) out/Release/chrome
>   third_party/WebKit/Source/WebCore/bindings/v8/V8DOMWindowShell.cpp:371: error: undefined reference to 'v8::internal::I18NExtension::get()'
>   third_party/WebKit/Source/WebCore/bindings/v8/V8DOMWindowShell.cpp:372: error: undefined reference to 'v8::internal::I18NExtension::get()'
>   collect2: ld returned 1 exit status
>   make[1]: *** [out/Release/chrome] Error 1
> 
> 
> This is caused by the hidden visibility, please compile with visibility=default:
> 
> - -DEB_SCONS_OPTIONS = library=shared soname=on snapshot=on shlibtype=hidden arch=$(v8arch) os=$(v8os) armeabi=$(v8armeabi)
> +DEB_SCONS_OPTIONS = library=shared soname=on snapshot=on shlibtype=hidden visibility=default arch=$(v8arch) os=$(v8os) armeabi=$(v8armeabi)

Shouldn't the solution be to move v8::internal::I18NExtension::get() to v8 (not internal) namespace ?

Jérémy.





More information about the Pkg-javascript-devel mailing list