From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 6 15:52:43 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5389AE01 for ; Tue, 6 Jan 2015 15:52:43 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A38F21C2 for ; Tue, 6 Jan 2015 15:52:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t06FqMfw094418 for ; Tue, 6 Jan 2015 15:52:22 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Tue, 06 Jan 2015 15:52:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mmitchel@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 15:52:43 -0000 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.