Bug 222923 - usr.bin/clang/lld fails to compile with arm:arm
Summary: usr.bin/clang/lld fails to compile with arm:arm
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 05:00 UTC by Enji Cooper
Modified: 2019-12-07 03:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2017-10-11 05:00:40 UTC
Spotted the following when trying to run "make tinderbox" on universe12a.freebsd.org:

/scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/tmp/usr/lib/libgcc.a(floatundidf.o): In function `__floatundidf':                                                                                    /scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                         
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                         
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                         
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                         
/scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/tmp/usr/lib/libgcc.a(floatdidf.o): In function `__floatdidf':                                                                                        
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_i2d@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                            
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dmul@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                           
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:41: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                           
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:41: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                           
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_i2d@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                            
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dmul@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.armeb/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)                           
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:41: additional relocation overflows omitted from the output                                                                            
c++: error: linker command failed with exit code 1 (use -v to see invocation)                        
--- ld.lld.full ---                               
*** [ld.lld.full] Error code 1                    

make[7]: stopped in /scratch/tmp/ngie/svn/usr.bin/clang/lld                                          
1 error                                           

make[7]: stopped in /scratch/tmp/ngie/svn/usr.bin/clang/lld                                          
--- all_subdir_usr.bin/clang/lld ---              
*** [all_subdir_usr.bin/clang/lld] Error code 2 

/scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/tmp/usr/lib/libgcc.a(floatundidf.o): In function `__floatundidf':
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatundidf.c:43: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/tmp/usr/lib/libgcc.a(floatdidf.o): In function `__floatdidf':
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_i2d@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dmul@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:41: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:41: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dadd@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_i2d@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:38: relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_dmul@@FBSDprivate_1.0' defined in .plt section in /scratch/tmp/ngie/obj/arm.arm/scratch/tmp/ngie/svn/lib/clang/libllvm/libllvm.a(regexec.o)
/scratch/tmp/ngie/svn/contrib/compiler-rt/lib/builtins/floatdidf.c:41: additional relocation overflows omitted from the output
c++: error: linker command failed with exit code 1 (use -v to see invocation)
--- ld.lld.full ---
*** [ld.lld.full] Error code 1
Comment 1 Ed Maste freebsd_committer freebsd_triage 2018-07-24 14:42:11 UTC
armeb is now removed from -current
Comment 2 Ed Maste freebsd_committer freebsd_triage 2019-12-07 03:45:57 UTC
compiles now on arm