| 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 packages | Assignee: | 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 |
||
Created attachment 572432 [details]
build log
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.
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. |
Created attachment 572430 [details] emerge --info cross-aarch64-unknown-linux-gnu/glibc-2.28-r6 fails