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

gcc_impl_<target> contains stuff it probably shouldn't contain? #157

Open
h-vetinari opened this issue Oct 12, 2024 · 1 comment
Open

gcc_impl_<target> contains stuff it probably shouldn't contain? #157

h-vetinari opened this issue Oct 12, 2024 · 1 comment

Comments

@h-vetinari
Copy link
Member

Looking at the content of gcc_impl_linux-64 (and removing the SOVERSION distinctions), there's a bunch of things in that output that probably shouldn't be there?

x86_64-conda-linux-gnu/lib/libasan.so
x86_64-conda-linux-gnu/lib/libasan_preinit.o
x86_64-conda-linux-gnu/lib/libatomic.so
x86_64-conda-linux-gnu/lib/libgfortran.so       # !!!
x86_64-conda-linux-gnu/lib/libgomp.so           # !!!
x86_64-conda-linux-gnu/lib/libgomp.spec
x86_64-conda-linux-gnu/lib/libhwasan_preinit.o
x86_64-conda-linux-gnu/lib/libitm.so
x86_64-conda-linux-gnu/lib/libitm.spec
x86_64-conda-linux-gnu/lib/liblsan.so
x86_64-conda-linux-gnu/lib/liblsan_preinit.o
x86_64-conda-linux-gnu/lib/libquadmath.so       # ???
x86_64-conda-linux-gnu/lib/libsanitizer.spec
x86_64-conda-linux-gnu/lib/libtsan.so
x86_64-conda-linux-gnu/lib/libtsan_preinit.o
x86_64-conda-linux-gnu/lib/libubsan.so

In particular, libgfortran and libgomp have separate outputs themselves, and libquadmath is also used by gfortran, without ever bringing gcc into the game.

@h-vetinari
Copy link
Member Author

OK, I guess this works because gfortran_impl depends on gcc_impl

- gcc_impl_{{ cross_target_platform }} >={{ gcc_version }}

And since it's in the target-specific folder, it shouldn't be picked up by accident. Still scratching my head a bit about the layering, but happy to close if there's nothing to do...

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

1 participant