New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 907088 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Lots of build log spam when building swiftshader on Mac

Project Member Reported by rsesek@chromium.org, Nov 20

Issue description

Chrome Version: ToT Chromium 96fcc576315260ebb67480a6ef2e38e66503b098
OS: 10.13.6, Xcode 9.3

What steps will reproduce the problem?
(1) cat out/release/args.gn
is_component_build = false
is_debug = false
(2) ninja -C out/debug chrome
(3) Watch the log spam

What is the expected result?

No log spam.

What happens instead?

Lots of build spam from building swiftshader. Please fix this - our build should not print out anything.

ld: warning: direct access in function 'getModuleDirectory()' from file 'obj/third_party/swiftshader/src/OpenGL/libEGL/swiftshader_libEGL/Display.o' to global weak symbol 'getModuleDirectory()::dummy_symbol' from file 'obj/third_party/swiftshader/src/OpenGL/libEGL/swiftshader_libEGL/Display.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[4320/5563] SOLINK libswiftshader_libGLESv2.dylib libswiftshader_libGLESv2.dylib.TOC
ld: warning: direct access in function 'es2::Texture2D::setImage(int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::setImage(int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::setCompressedImage(int, unsigned int, int, int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::setCompressedImage(int, unsigned int, int, int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::subImage(int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::subImageCompressed(int, int, int, int, int, unsigned int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::copyImage(int, unsigned int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::copyImage(int, unsigned int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::copySubImage(unsigned int, int, int, int, int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::getImage(unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2D::getRenderTarget(unsigned int, unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::setCompressedImage(unsigned int, int, unsigned int, int, int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::setCompressedImage(unsigned int, int, unsigned int, int, int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::subImage(unsigned int, int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::subImageCompressed(unsigned int, int, int, int, int, int, unsigned int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::updateBorders(int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::updateBorders(int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::updateBorders(int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::updateBorders(int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::updateBorders(int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::updateBorders(int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::setImage(unsigned int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::setImage(unsigned int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::copyImage(unsigned int, int, unsigned int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::copyImage(unsigned int, int, unsigned int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::getImage(int, unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::getImage(unsigned int, unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::copySubImage(unsigned int, int, int, int, int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::TextureCubeMap::getRenderTarget(unsigned int, unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::setImage(int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::setImage(int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::setCompressedImage(int, unsigned int, int, int, int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::setCompressedImage(int, unsigned int, int, int, int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::subImage(int, int, int, int, int, int, int, unsigned int, unsigned int, gl::PixelStorageModes const&, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::subImageCompressed(int, int, int, int, int, int, int, unsigned int, int, void const*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::copyImage(int, unsigned int, int, int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::copyImage(int, unsigned int, int, int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::copySubImage(unsigned int, int, int, int, int, int, int, int, int, es2::Renderbuffer*)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::getImage(unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture3D::getRenderTarget(unsigned int, unsigned int)' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2DArray::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2DArray::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'es2::Texture2DArray::generateMipmaps()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' to global weak symbol 'es2::ImageLevels::operator[](unsigned long)::nullImage' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(Texture.o)' 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 function 'getModuleDirectory()' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(main.o)' to global weak symbol 'getModuleDirectory()::dummy_symbol' from file 'obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(libGLESv2.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

 
Cc: capn@chromium.org
Cc: sugoi@chromium.org a...@chromium.org cwallez@chromium.org shannonwoods@chromium.org
 Issue 908492  has been merged into this issue.
The OP posts the release GN file but then builds debug. I'm seeing this in my debug build too, but it's a component build. I don't know if this shows up with non-component builds.
Alexis could you give this some attention? Would be nice to know if this is related to a SwiftShader-side change or a build environment change.
Reproed it. Looking at it.
> The OP posts the release GN file but then builds debug. 

Sorry, copy-paste error. But it happens in both debug component and release for me.

Sign in to add a comment