Bug 233362

Summary: Building riscv with BSD_CRTBEGIN fails
Product: Base System Reporter: Ed Maste <emaste>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me CC: Andrew
Priority: ---    
Version: CURRENT   
Hardware: riscv   
OS: Any   
Bug Depends on:    
Bug Blocks: 228919    

Description Ed Maste freebsd_committer freebsd_triage 2018-11-20 22:06:40 UTC
/usr/local/bin/riscv64-unknown-freebsd11.2-ld: /scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/riscv.riscv64/tmp/usr/lib/crtbeginS.o: can't link hard-float modules with soft-float modules
/usr/local/bin/riscv64-unknown-freebsd11.2-ld: failed to merge target specific data of file /scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/riscv.riscv64/tmp/usr/lib/crtbeginS.o
collect2: error: ld returned 1 exit status
Comment 1 Andrew Turner freebsd_committer freebsd_triage 2018-11-21 18:29:43 UTC
How are you building this? I'm not able to reproduce.
Comment 2 Andrew Turner freebsd_committer freebsd_triage 2019-08-14 14:45:03 UTC
Is this still an issue? BSD_CRTBEGIN should be enabled on riscv and I haven't heard any other complaints it fails to build.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2019-08-14 15:07:45 UTC
This was probably a temporary local problem, checking what config I had...
Comment 4 Ed Maste freebsd_committer freebsd_triage 2019-08-16 14:39:51 UTC
I cannot reproduce this now.