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

Bug 827897

Summary: sys-devel/gcc-11.2.1_p20211127: /usr/riscv64-unknown-linux-gnu/bin/ld: error: ../libiberty/libiberty.a: file too short
Product: Gentoo Linux Reporter: HougeLangley <hougelangley1987>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal CC: riscv, sam
Priority: Normal    
Version: unspecified   
Hardware: riscv   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: riscv-gcc-full-build-log.tar.gz
emerge --info
emerge environment

Description HougeLangley 2021-11-30 11:44:19 UTC
emerge -av sys-devel/gcc

Reproducible: Always
Comment 1 HougeLangley 2021-11-30 11:47:51 UTC
Created attachment 757069 [details]
riscv-gcc-full-build-log.tar.gz
Comment 2 HougeLangley 2021-11-30 11:52:41 UTC
Created attachment 757070 [details]
emerge --info
Comment 3 HougeLangley 2021-11-30 11:55:39 UTC
Created attachment 757073 [details]
emerge environment
Comment 4 Yixun Lan archtester gentoo-dev 2021-12-03 01:16:52 UTC
gcc-11.2.1_p20211127 actually works for me, tested on sifive unmatched board
Comment 5 Yixun Lan archtester gentoo-dev 2022-04-21 00:40:36 UTC
also tested with 11.2.1_p20220115, can't reproduce this issue

so I'm closing this, and please re-open and provide more info if you still have problem