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

Bug 930712

Summary: sys-devel/crossdev: --target riscv64-linux-musl fail to bootstrap
Product: Gentoo Linux Reporter: Dawn Xu <18202203719>
Component: Current packagesAssignee: Gentoo Crossdev team <crossdev>
Status: RESOLVED INVALID    
Severity: normal CC: 18202203719, embedded, riscv, toolchain
Priority: Normal    
Version: unspecified   
Hardware: riscv   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=908455
https://bugs.gentoo.org/show_bug.cgi?id=547754
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: riscv64-linux-musl-gcc-stage1 build log

Description Dawn Xu 2024-04-26 15:15:10 UTC
some env setups

CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"

LDFLAGS="-mcpu=c906fdv -march=rv64imafdcv0p7xthead -mcmodel=medany -mabi=lp64d"

CXXFLAGS="${CFLAGS}"
Comment 1 Dawn Xu 2024-04-26 15:19:09 UTC
Created attachment 891764 [details]
riscv64-linux-musl-gcc-stage1 build log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-05 13:01:57 UTC
Came up on the forums at https://forums.gentoo.org/viewtopic-t-1168767.html.

riscv@: please take a look.
Comment 3 Dawn Xu 2024-05-05 14:05:45 UTC
I think I found the reason
I set
CC=clang;CXX=clang++
in a gcc compiler profile