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: b...@freebsd.org
          Reporter: ema...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to