Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld: warnings #1894

Open
jaymurthy opened this issue Oct 23, 2024 · 1 comment
Open

ld: warnings #1894

jaymurthy opened this issue Oct 23, 2024 · 1 comment

Comments

@jaymurthy
Copy link

I got a whole bunch of ld warnings but gdl built ok and is running fine.

ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libncurses.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libncurses.tbd are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libform.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libform.tbd are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libz.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libz.tbd are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libz.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libz.tbd are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libexpat.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libexpat.tbd are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libexpat.tbd and library file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libexpat.tbd are out of sync. Falling back to library file for linking.
ld: warning: direct access in function 'lib::file_search(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_search(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_same(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_same(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_same(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_same(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_test(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_test(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_readlink(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_readlink(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_info(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_info(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_mkdir(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_mkdir(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_mkdir(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_mkdir(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_delete(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_delete(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_copy(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_copy(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_copy(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_copy(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_link(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_link(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_link(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_link(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_move(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_move(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_move(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.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 'lib::file_move(EnvT*)' from file 'CMakeFiles/gdl.dir/file.cpp.o' to global weak symbol 'typeinfo for Data_' from file 'CMakeFiles/gdl.dir/datatypes.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[100%] Built target gdl 7d0h ⚑
$

@GillesDuvert
Copy link
Contributor

@jaymurthy please look internet searching for the first top error... Apparently some OSX hiccup. The last errors refer all to lib::file_move may disappear once the first problems are solved.
In all cases, these are warnings and fortunately not blocking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants