Bug 40401 - distcc: ошибка при сборке Linux: no input files
Summary: distcc: ошибка при сборке Linux: no input files
Status: CLOSED FIXED
Alias: None
Product: Branch p9
Classification: Distributions
Component: distcc (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p9@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 18:01 MSK by Alexey Sheplyakov
Modified: 2021-07-26 17:04 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sheplyakov 2021-07-08 18:01:10 MSK
Действия

sudo apt-get install distcc distcc-server bc bison cpio dwarves gcc-8 git-core flex libelf-devel libncursesw-devel libtinfo-devel libssl-devel make openssl
sudo systemctl enable --now distccd
sudo mkdir -p -m755 /usr/lib/distcc
sudo ln -s ../../bin/distcc /usr/lib/distcc/x86_64-alt-linux-gcc-8
git clone -b baikalm-5.13.y --depth=1 git://github.com/altlinux/linux-be-m1000.git
mkdir -p build
_build=`pwd`/build
cd linux-be-m1000
env DISTCC_HOSTS='127.0.0.1/12' KBUILD_OUTPUT="$_build" make -j12 CC=/usr/lib/distcc/x86_64-alt-linux-gcc-8 HOSTCC=/usr/lib/distcc/x86_64-alt-linux-gcc-8 allmodconfig
env DISTCC_HOSTS='127.0.0.1/12' KBUILD_OUTPUT="$_build" make -j12 CC=/usr/lib/distcc/x86_64-alt-linux-gcc-8 HOSTCC=/usr/lib/distcc/x86_64-alt-linux-gcc-8 bzImage

Ожидаемый результат: ядро собралось

Наблюдаемый результат: 

  HOSTCC  /home/asheplyakov/build-x86-linux/tools/objtool/fixdep.o
x86_64-alt-linux-gcc-8: fatal error: no input files
compilation terminated.
distcc[307783] ERROR: compile (null) on localhost failed
make[5]: *** [/home/asheplyakov/linux/tools/build/Makefile.build:97: /home/asheplyakov/build-x86-linux/tools/objtool/fixdep.o] Error 1
make[4]: *** [Makefile:47: /home/asheplyakov/build-x86-linux/tools/objtool/fixdep-in.o] Error 2
make[3]: *** [/home/asheplyakov/linux/tools/build/Makefile.include:5: fixdep] Error 2
make[2]: *** [Makefile:69: objtool] Error 2
make[1]: *** [/home/asheplyakov/linux/Makefile:1974: tools/objtool] Error 2
make[1]: *** Waiting for unfinished jobs....

Ядро успешно собирается, если использовать собранный из исходников distcc 3.4
Comment 1 Alexey Sheplyakov 2021-07-26 17:04:11 MSK
Исправлено в версии 3.4-alt2