Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683066 - 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'
Summary: cross-aarch64-unknown-linux-gnu/glibc-2.28-r6 - In file included from ../sysd...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-11 02:48 UTC by CaptainBlood
Modified: 2019-07-12 22:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,8.18 KB, text/plain)
2019-04-11 02:48 UTC, CaptainBlood
Details
build log (build.log,74.58 KB, text/plain)
2019-04-11 03:03 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
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.