RESOLVED FIXED 155394
TestWebKitAPI: fix linker warnings
https://bugs.webkit.org/show_bug.cgi?id=155394
Summary TestWebKitAPI: fix linker warnings
David Kilzer (:ddkilzer)
Reported 2016-03-12 12:04:39 PST
Fix the following linker warnings when building TestWebKitAPI: ld: warning: direct access in TestWebKitAPI::WTF_HashCountedSet_UniquePtrKey_CustomDeleter_Test::TestBody() to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::WTF_HashCountedSet_UniquePtrKey_CustomDeleter_Test::TestBody() to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::WTF_HashCountedSet_UniquePtrKey_CustomDeleter_Test::TestBody() to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::WTF_HashCountedSet_UniquePtrKey_CustomDeleter_Test::TestBody() to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::takeLogStr() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in WTF::HashTable<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int> >, WTF::PtrHash<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashMap<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int, WTF::PtrHash<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashTraits<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashTraits<unsigned int> >::KeyValuePairTraits, WTF::HashTraits<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > > >::deallocateTable(WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int>*, unsigned int) to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::DerivedRefLogger::DerivedRefLogger(char const*) to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in void WTF::HashMapTranslator<WTF::HashMap<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int, WTF::PtrHash<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashTraits<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashTraits<unsigned int> >::KeyValuePairTraits, WTF::PtrHash<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > > >::translate<WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int>, std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, int>(WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int>&, std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >&&, int&&) to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in WTF::HashTable<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int> >, WTF::PtrHash<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashMap<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int, WTF::PtrHash<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashTraits<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > >, WTF::HashTraits<unsigned int> >::KeyValuePairTraits, WTF::HashTraits<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> > > >::reinsert(WTF::KeyValuePair<std::__1::unique_ptr<ConstructorDestructorCounter, DeleterCounter<ConstructorDestructorCounter> >, unsigned int>&&) to global weak symbol DeleterCounter<ConstructorDestructorCounter>::deleterCount means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::ref() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in TestWebKitAPI::RefLogger::deref() to global weak symbol guard variable for TestWebKitAPI::log()::log means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. 
Attachments
Patch v1 (10.71 KB, patch)
2016-03-12 12:10 PST, David Kilzer (:ddkilzer)
no flags
Patch v2 (10.67 KB, patch)
2016-03-12 12:12 PST, David Kilzer (:ddkilzer)
no flags
Patch v3 (11.03 KB, patch)
2016-03-12 14:36 PST, David Kilzer (:ddkilzer)
bfulgham: review+
David Kilzer (:ddkilzer)
Comment 1 2016-03-12 12:04:52 PST
David Kilzer (:ddkilzer)
Comment 2 2016-03-12 12:10:24 PST
Created attachment 273845 [details] Patch v1
David Kilzer (:ddkilzer)
Comment 3 2016-03-12 12:12:02 PST
Created attachment 273846 [details] Patch v2 Removed section from ChangeLog that was to list linker warnings; there were too many and they were too long to list.
David Kilzer (:ddkilzer)
Comment 4 2016-03-12 14:14:46 PST
(In reply to comment #3) > Created attachment 273846 [details] > Patch v2 > > Removed section from ChangeLog that was to list linker warnings; there were > too many and they were too long to list. The GTK-WK2 and EFL-WK2 build failures were caused by adding WeakPtr.cpp to CMakeLists.txt in the patch, and then fixed by: Commit r198067: <http://trac.webkit.org/r198067>
David Kilzer (:ddkilzer)
Comment 5 2016-03-12 14:30:48 PST
Windows build failure is: C:\cygwin\home\buildbot\WebKit\Tools\TestWebKitAPI\PlatformUtilities.h(29): fatal error C1083: Cannot open include file: 'WebKit/WKNativeEvent.h': No such file or directory (compiling source file C:\cygwin\home\buildbot\WebKit\Tools\TestWebKitAPI\Tests\WTF\RunLoop.cpp) [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Tools\TestWebKitAPI\TestWTFLib.vcxproj] <https://webkit-queues.webkit.org/results/967752> It appears that RunLoop.cpp doesn't work on Windows because PlatformUtilities.h assumes the platform provides a WebKit2 implementation, and TestWebKitAPI::Util::run(bool*) is not implemented for Windows.
David Kilzer (:ddkilzer)
Comment 6 2016-03-12 14:36:51 PST
Created attachment 273853 [details] Patch v3
Darin Adler
Comment 7 2016-03-13 14:38:18 PDT
Comment on attachment 273853 [details] Patch v3 View in context: https://bugs.webkit.org/attachment.cgi?id=273853&action=review > Tools/TestWebKitAPI/Tests/WTF/RefLogger.cpp:28 > +#include "config.h" > + > +#include "RefLogger.h" We normally don’t include a blank line between the config.h line and the main header include. > Tools/TestWebKitAPI/Tests/WTF/RefLogger.h:30 > -inline std::ostringstream& log() > -{ > - static std::ostringstream log; > - return log; > -} > +std::ostringstream& log(); Not sure that changing this to not be inline is the best fix, but for test code where we know it’s not super-performance-critical I suppose it’s a good way to go.
WebKit Commit Bot
Comment 8 2016-03-13 15:27:58 PDT
Comment on attachment 273853 [details] Patch v3 Clearing flags on attachment: 273853 Committed r198085: <http://trac.webkit.org/changeset/198085>
WebKit Commit Bot
Comment 9 2016-03-13 15:28:03 PDT
All reviewed patches have been landed. Closing bug.
Brent Fulgham
Comment 10 2016-03-14 09:56:38 PDT
Comment on attachment 273853 [details] Patch v3 This change looks good to me. I assume darin would have r-'d if he felt strongly about the un-inline change. r+ (but please fix the extra newline in RefLogger.cpp. :-)
David Kilzer (:ddkilzer)
Comment 11 2016-03-14 10:55:07 PDT
(In reply to comment #10) > Comment on attachment 273853 [details] > Patch v3 > > This change looks good to me. I assume darin would have r-'d if he felt > strongly about the un-inline change. r+ (but please fix the extra newline in > RefLogger.cpp. :-) Will fix. Also filed: Bug 155445: check-webkit-style: warn when blank lines appear between #include "config.h" and #include "ThisFileName.h" <https://bugs.webkit.org/show_bug.cgi?id=155445>
David Kilzer (:ddkilzer)
Comment 12 2016-03-14 11:14:47 PDT
(In reply to comment #10) > Comment on attachment 273853 [details] > Patch v3 > > This change looks good to me. I assume darin would have r-'d if he felt > strongly about the un-inline change. r+ (but please fix the extra newline in > RefLogger.cpp. :-) Committed r198141: <http://trac.webkit.org/r198141>
Note You need to log in before you can comment on or make changes to this bug.