PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.05k stars 5.54k forks source link

Failed to compile on Arch Linux (python and gpu disabled). #62771

Open GasparVardanyan opened 5 months ago

GasparVardanyan commented 5 months ago

bug描述 Describe the Bug

I've cloned the repo, checked out to v2.6.1 and used cmake to generate unix makefiles to compile.

This is the error message: http://sprunge.us/dUIL74

其他补充信息 Additional Supplementary Information

-> [ Paddle ] :: uname -a
Linux odyssey 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux
-> [ Paddle ] :: cmake --version
cmake version 3.28.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
-> [ Paddle ] :: gcc --version
gcc (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-> [ Paddle ] ::
LiYuRio commented 5 months ago

Hi, from the log you paste, I can not see the specific error. But I think there maybe some warning while compiling. You can downgrade the gcc to 8.2.0 maybe can solve this