[Bug 233361] mips build with BSD_CRTBEGIN, Clang, LLD fails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 20 22:05:41 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233361
Bug ID: 233361
Summary: mips build with BSD_CRTBEGIN, Clang, LLD fails
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: emaste at freebsd.org
>From _.mips.mips.buildworld (mips* same):
--- crtbeginS.o ---
<inline asm>:9:1: error: no .cprestore used in PIC mode [-Werror,-Winline-asm]
jal __do_global_dtors_aux
^
<inline asm>:18:1: error: no .cprestore used in PIC mode [-Werror,-Winline-asm]
jal register_classes
^
_.mips.mips64.buildworld (mips64* same):
/scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/mips.mips64/tmp/usr/bin/ld:
/scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/mips.mips64/tmp/usr/lib/crtbeginS.o:
CALL16 reloc at 0x18 not against global symbol
/scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/mips.mips64/tmp/usr/lib/crtbeginS.o:
could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
_.mips.mipsn32.buildworld:
/scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/mips.mipsn32/tmp/usr/bin/ld:
/scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/mips.mipsn32/tmp/usr/lib/crtbeginS.o:
CALL16 reloc at 0x14 not against global symbol
/scratch/tmp/emaste/obj/scratch/tmp/emaste/freebsd/mips.mipsn32/tmp/usr/lib/crtbeginS.o:
could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list