View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1590
|
Posted: Fri Jan 17, 2025 4:51 pm Post subject: i686-pc-linux-musl-g++ not in /usr/lib/distcc |
|
|
I am trying to setup distcc and cross compiling to compile i686 packages on my x86_64 laptop(both laptops have USE=-*)
while compiling mesa on the client I see these errors:
Code: | [21/3494] /usr/lib/distcc/bin/i686-pc-linux-musl-g++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/llvm-core/llvm-18.1.8-r6/work/llvm_build-abi_x86_32.x86/lib/Support -I/var/tmp/portage/llvm-core/llvm-18.1.8-r6/work/llvm/lib/Support -I/var/tmp/portage/llvm-core/llvm-18.1.8-r6/work/llvm_build-abi_x86_32.x86/include -I/var/tmp/portage/llvm-core/llvm-18.1.8-r6/work/llvm/include -DNDEBUG -O2 -march=atom -pipe -fomit-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o -c /var/tmp/portage/llvm-core/llvm-18.1.8-r6/work/llvm/lib/Support/Compression.cppition -fvisibility-inlines-hidden -Werror=date-time -f
distcc[220] (dcc_build_somewhere) Warning: failed to distribute, running locally instead |
and can find the following on the x86_64 machine:
Code: | t14 /usr/lib/distcc # tail -f /var/log/distccd.log
distccd[21008] (dcc_check_compiler_whitelist) CRITICAL! i686-pc-linux-musl-g++ not in /usr/lib/distcc or /usr/lib/distcc whitelist.
distccd[21008] (dcc_job_summary) client: 192.168.1.4:45028 OTHER exit:0 sig:0 core:0 ret:0 time:7378ms
distccd[21009] (dcc_check_compiler_whitelist) CRITICAL! i686-pc-linux-musl-g++ not in /usr/lib/distcc or /usr/lib/distcc whitelist.
distccd[21009] (dcc_job_summary) client: 192.168.1.4:45040 OTHER exit:0 sig:0 core:0 ret:0 time:7787ms
distccd[21010] (dcc_check_compiler_whitelist) CRITICAL! i686-pc-linux-musl-g++ not in /usr/lib/distcc or /usr/lib/distcc whitelist.
distccd[21010] (dcc_job_summary) client: 192.168.1.4:45044 OTHER exit:0 sig:0 core:0 ret:0 time:5029ms
distccd[21011] (dcc_check_compiler_whitelist) CRITICAL! i686-pc-linux-musl-g++ not in /usr/lib/distcc or /usr/lib/distcc whitelist.
distccd[21011] (dcc_job_summary) client: 192.168.1.4:56518 OTHER exit:0 sig:0 core:0 ret:0 time:5528ms
distccd[21012] (dcc_check_compiler_whitelist) CRITICAL! i686-pc-linux-musl-g++ not in /usr/lib/distcc or /usr/lib/distcc whitelist.
distccd[21012] (dcc_job_summary) client: 192.168.1.4:40706 OTHER exit:0 sig:0 core:0 ret:0 time:5937ms
t14 /usr/lib/distcc # ls -l
total 156
lrwxrwxrwx 1 root root 1 Jan 16 18:00 bin -> .
lrwxrwxrwx 1 root root 15 Jan 17 18:39 c++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 c99 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 cc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 clang -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 clang++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 clang++-18 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 clang++-19 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 clang-18 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 clang-19 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 g++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 g++-14 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 gcc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 gcc-14 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-gnu-clang -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-gnu-clang++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-gnu-clang++-18 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-gnu-clang++-19 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-gnu-clang-18 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-gnu-clang-19 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-musl-cc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-musl-gcc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-musl-gcc-13 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-pc-linux-musl-gcc-14 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-unknown-linux-musl-cc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-unknown-linux-musl-gcc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 i686-unknown-linux-musl-gcc-14 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-c++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-cc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-clang -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-clang++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-clang++-18 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-clang++-19 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-clang-18 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-clang-19 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-g++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-g++-14 -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-gcc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 Jan 17 18:39 x86_64-pc-linux-gnu-gcc-14 -> /usr/bin/distcc
|
i tried rebuilding the target using crossdev using this command but it did not work:
Code: | crossdev --target i686-pc-linux-musl --gcc 14 -s4 --force
|
I also tried using eselect to update the symlinks:
Code: | eselect compiler-shadow update all
Updating masquerade for distcc ...
'clang' -> '/usr/bin/distcc'
'clang-18' -> '/usr/bin/distcc'
'clang-19' -> '/usr/bin/distcc'
'clang++' -> '/usr/bin/distcc'
'clang++-18' -> '/usr/bin/distcc'
'clang++-19' -> '/usr/bin/distcc'
'i686-pc-linux-gnu-clang' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang' -> '/usr/bin/distcc'
'i686-pc-linux-gnu-clang-18' -> '/usr/bin/distcc'
'i686-pc-linux-gnu-clang-19' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang-18' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang-19' -> '/usr/bin/distcc'
'i686-pc-linux-gnu-clang++' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang++' -> '/usr/bin/distcc'
'i686-pc-linux-gnu-clang++-18' -> '/usr/bin/distcc'
'i686-pc-linux-gnu-clang++-19' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang++-18' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang++-19' -> '/usr/bin/distcc'
'gcc' -> '/usr/bin/distcc'
'gcc-14' -> '/usr/bin/distcc'
'g++' -> '/usr/bin/distcc'
'g++-14' -> '/usr/bin/distcc'
'i686-pc-linux-musl-gcc' -> '/usr/bin/distcc'
'i686-unknown-linux-musl-gcc' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-gcc' -> '/usr/bin/distcc'
'i686-pc-linux-musl-gcc-14' -> '/usr/bin/distcc'
'i686-unknown-linux-musl-gcc-14' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-gcc-14' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-g++' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-g++-14' -> '/usr/bin/distcc'
'cc' -> '/usr/bin/distcc'
'c99' -> '/usr/bin/distcc'
'c++' -> '/usr/bin/distcc'
'i686-pc-linux-musl-cc' -> '/usr/bin/distcc'
'i686-unknown-linux-musl-cc' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-cc' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-c++' -> '/usr/bin/distcc' |
what am I doing wrong here? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9866 Location: almost Mile High in the USA
|
Posted: Fri Jan 17, 2025 5:06 pm Post subject: |
|
|
probably a bug/oversight, too many combinations, might want to b.g.o it. But first, does it work if you put in that link manually?
someday i should set up a musl system to see what benefits it gets... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|