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

CI for linux-64 generates false warnings about not finding dependent libs in 32-bit DSO files #33

Closed
1 task done
billysuh7 opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@billysuh7
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

This happens for linux-64 CI only, and against DSO's which are 32-bit ELF files.

WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libpthread.so.0 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/librt.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libdl.so.2 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libutil.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libm.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libc.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/TreeLauncherTargetLdPreloadHelper): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libpthread.so.0 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/TreeLauncherTargetLdPreloadHelper): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/librt.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/TreeLauncherTargetLdPreloadHelper): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libdl.so.2 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/TreeLauncherTargetLdPreloadHelper): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libutil.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/TreeLauncherTargetLdPreloadHelper): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libm.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/TreeLauncherTargetLdPreloadHelper): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libc.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libInterceptorInjectionTarget.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libpthread.so.0 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libInterceptorInjectionTarget.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/librt.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libInterceptorInjectionTarget.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libdl.so.2 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libInterceptorInjectionTarget.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libutil.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libInterceptorInjectionTarget.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libm.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libInterceptorInjectionTarget.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libc.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetUpdatePreloadInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libpthread.so.0 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetUpdatePreloadInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/librt.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetUpdatePreloadInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libdl.so.2 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetUpdatePreloadInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libutil.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetUpdatePreloadInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libm.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherTargetUpdatePreloadInjection.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libc.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherPlaceholder.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libpthread.so.0 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherPlaceholder.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/librt.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherPlaceholder.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libdl.so.2 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherPlaceholder.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libutil.so.1 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherPlaceholder.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libm.so.6 not found in any CDT/compiler package, nor the whitelist?!
WARNING (nsight-compute,nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86/libTreeLauncherPlaceholder.so): Needed DSO x86_64-conda-linux-gnu/sysroot/lib/libc.so.6 not found in any CDT/compiler package, nor the whitelist?!

These look to be a false positive warnings, because the CI env ran on linux-64 OS must be unable to recognize 32-bit ELF - conda-forge does not support 32-bit libs.

In my local env, when I tried to run ldd command on them:

(test3) bsuh@cia-dev-bsuh-01:~/miniforge3/envs/test3/nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86$ ldd *
libInterceptorInjectionTarget.so:
	not a dynamic executable
libTreeLauncherPlaceholder.so:
	not a dynamic executable
libTreeLauncherTargetInjection.so:
	not a dynamic executable
libTreeLauncherTargetUpdatePreloadInjection.so:
	not a dynamic executable
TreeLauncherTargetLdPreloadHelper:
	not a dynamic executable

But after I installed 32-bit libc6 package I could run ldd.

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libc6:i386

(test3) bsuh@cia-dev-bsuh-01:~/miniforge3/envs/test3/nsight-compute-2024.3.2/target/linux-desktop-glibc_2_11_3-x86$ ldd libTreeLauncherTargetInjection.so
	linux-gate.so.1 (0xf7fc9000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7c74000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7c68000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7c62000)
	libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xf7c5d000)
	libInterceptorInjectionTarget.so => not found
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7b58000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7b39000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf794a000)
	/lib/ld-linux.so.2 (0xf7fcb000)

The ldd command shows that it found all dependent libs for libTreeLauncherTargetInjection.so. Likewise for all other 32-bit DSO.

Installed packages

NA

Environment info

NA
@jakirkham
Copy link
Member

As these are 32-bit libraries and they will always generate this error, will close as won't fix

Thanks Billy! 🙏

@jakirkham jakirkham closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants