Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sci-libs/composable-kernel fpr pytorch fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
damianb
n00b
n00b


Joined: 21 Sep 2023
Posts: 11

PostPosted: Sun Jan 19, 2025 6:52 pm    Post subject: sci-libs/composable-kernel fpr pytorch fails to build Reply with quote

Hello, trying to install pytorch. One of the ebuilds is sci-libs/composable-kernel but it keeps failing after 582/582 components of it are compiled. Seems like a linking issue but im not sure.

Code:
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: final link failed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
 ^[[31;01m*^[[0m ERROR: sci-libs/composable-kernel-6.1.1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   ninja -v -j8 -l9 failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line  136:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 2139:  Called cmake_src_compile
 ^[[31;01m*^[[0m   environment, line  872:  Called cmake_build
 ^[[31;01m*^[[0m   environment, line  839:  Called eninja
 ^[[31;01m*^[[0m   environment, line 1321:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       "$@" || die -n "${*} failed"
 ^[[31;01m*^[[0m

Any help appreciated. Thank you.

[/code]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31447
Location: here

PostPosted: Sun Jan 19, 2025 7:05 pm    Post subject: Reply with quote

You should post full build.log with wgetpaste command.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
damianb
n00b
n00b


Joined: 21 Sep 2023
Posts: 11

PostPosted: Sun Jan 19, 2025 7:30 pm    Post subject: Reply with quote

build log

https://gist.github.com/damianb123/f6d83a9b630cea1c3011e7657b83a806/raw


environment:

https://gist.github.com/damianb123/f338ddfc6ee061de5fb6ac8fc78fbdce/raw
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31447
Location: here

PostPosted: Mon Jan 20, 2025 6:18 am    Post subject: Reply with quote

Look sci-libs/composable-kernel 6.1.1 ld error bug.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
damianb
n00b
n00b


Joined: 21 Sep 2023
Posts: 11

PostPosted: Tue Jan 21, 2025 11:58 am    Post subject: Reply with quote

Ah thanks. I tried 6.3 only to realise the pytorch (my final goal) puills coffe2 which then depends on 6.1 versions.

Will try with less gpu architectures. Reason why I was pulling more is becuase I got 5700 xt and thats the gfx1010 which isnt well supported. So plan was to try different ones see if something works. Will try compiling only for gfx1030 and go from there.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum