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

Bug 683066

Summary: cross-aarch64-unknown-linux-gnu/glibc-2.28-r6 - In file included from ../sysdeps/unix/sysv/linux/aarch64/libc-start.c:20: ../sysdeps/unix/sysv/linux/aarch64/sysdep.h:209:17: error: invalid register name for '_x0'
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description CaptainBlood 2019-04-11 02:48:46 UTC
Created attachment 572430 [details]
emerge --info

cross-aarch64-unknown-linux-gnu/glibc-2.28-r6 fails
Comment 1 CaptainBlood 2019-04-11 03:03:45 UTC
Created attachment 572432 [details]
build log
Comment 2 hanetzer 2019-04-11 04:28:05 UTC
remove these flags for crossdev:
> Manual CFLAGS:   -march=native -mtune=skylake  -O2             -pipe

You can do this with something like --lenv 'CFLAGS="-O2 -pipe"\nCXXFLAGS="-O2 -pipe" as part of the crossdev call.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-28 12:51:11 UTC
Can you clarify what was your setup?

Is it a fresh crossdev run or an attempt to update old setup? For some reason host native compiler is used for target libraries instead of cross-compiler.