Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 22:05:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233361] mips build with BSD_CRTBEGIN, Clang, LLD fails
Message-ID:  <bug-233361-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233361

            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@FreeBSD.org
          Reporter: emaste@freebsd.org

>From _.mips.mips.buildworld (mips* same):

--- crtbeginS.o ---
<inline asm>:9:1: error: no .cprestore used in PIC mode [-Werror,-Winline-a=
sm]
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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233361-227>