Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 659696

Summary: sci-libs/tensorflow can't be build for arm64 (+ patch)
Product: Gentoo Linux Reporter: Paul Osmialowski <newchief>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, newchief
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix arm64 build

Description Paul Osmialowski 2018-06-30 19:01:26 UTC
Due to use of incompatible -mfpu=neon flag during compiler invocation, tensorflow can't be build for arm64.

Reproducible: Always

Steps to Reproduce:
1. emerge tensorflow
2.
3.
Actual Results:  
build failed

Expected Results:  
build succeeded

Note that even with proposed that one needs to build tensorflow with USE="-python" in order to succeed (but I guess this is not arm64-related problem)
Comment 1 Paul Osmialowski 2018-06-30 19:02:13 UTC
Created attachment 537878 [details, diff]
fix arm64 build
Comment 2 Guilherme Amadio gentoo-dev 2018-11-12 10:39:10 UTC
tensorflow-1.9 is no longer in Gentoo, is this bug still there for 1.11?
Comment 3 Paul Osmialowski 2018-11-13 17:27:59 UTC
Indeed, I managed to upgrade to 1.11.0 with my patch removed.