Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2015 15:52:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196543] make xdev for mips fails PC relative code linking to non PC relative code R_MIPS_PC16
Message-ID:  <bug-196543-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 196543
           Summary: make xdev for mips fails PC relative code linking to
                    non PC relative code R_MIPS_PC16
           Product: Base System
           Version: 10.0-STABLE
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: mmitchel@gmail.com

To Duplicate:

cd /usr/src
make XDEV=mips XDEV_ARCH=mips xdev

Resulting Output

clang -fpic -DPIC  -O -pipe -G0   -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/mips  -DSOFTFLOAT
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa
-I/usr/src/lib/libc/../../contrib/libc-vis -DINET6
-I/usr/obj/mips-freebsd/usr/src/lib/libc -I/usr/src/lib/libc/resolv
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd
-I/usr/src/lib/libc/../../contrib/jemalloc/include
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime 
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/src/lib/libc/rpc -I/usr/src/lib/libc/mips/softfloat
-I/usr/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments  -w -c
/usr/src/lib/libc/string/wmemset.c -o wmemset.So
building shared library libc.so.7
//usr/mips-freebsd/usr/bin/ld: /usr/mips-freebsd/usr/lib/crtbeginS.o: warning:
linking PIC files with non-PIC files
//usr/mips-freebsd/usr/bin/ld: /usr/mips-freebsd/usr/lib/crtn.o: warning:
linking PIC files with non-PIC files
exect.So: In function `exect':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
setjmp.So: In function `botch':
(.text+0x118): relocation truncated to fit: R_MIPS_PC16 against `abort'
_setjmp.So: In function `botch':
(.text+0xa0): relocation truncated to fit: R_MIPS_PC16 against `abort'
_sigwait.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
_getlogin.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
ppoll.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
procctl.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
aio_mlock.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
pipe2.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
accept4.So: In function `err':
(.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror'
chflagsat.So: In function `err':
(.text+0x18): additional relocation overflows omitted from the output
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

-- 
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-196543-8>