From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8791 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl mips n64 dynamic build Date: Mon, 26 Oct 2015 21:30:45 -0400 Message-ID: <20151027013045.GT8645@brightrain.aerifal.cx> References: <20151019151840.GM8645@brightrain.aerifal.cx> <20151020104019.GC10551@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1445909476 11552 80.91.229.3 (27 Oct 2015 01:31:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 01:31:16 +0000 (UTC) Cc: Mahesh Bodapati To: musl@lists.openwall.com Original-X-From: musl-return-8804-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 27 02:31:03 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Zqt6M-0000OR-B9 for gllmg-musl@m.gmane.org; Tue, 27 Oct 2015 02:31:02 +0100 Original-Received: (qmail 21959 invoked by uid 550); 27 Oct 2015 01:31:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21936 invoked from network); 27 Oct 2015 01:30:59 -0000 Content-Disposition: inline In-Reply-To: <20151020104019.GC10551@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8791 Archived-At: On Tue, Oct 20, 2015 at 12:40:21PM +0200, Szabolcs Nagy wrote: > * Mahesh Bodapati [2015-10-20 15:14:04 +0530]: > > Error relocating libc.so: unsupported relocation type 4611 > > Error relocating libc.so: unsupported relocation type 4611 > > Error relocating libc.so: unsupported relocation type 4611 > .... > > *#define REL_SYM_OR_REL R_MIPS_64 /*I didn't see R_MIPS_REL64 so > > It is a composition of R_MIPS_64 and R_MIPS_REL relocations but i didn't > > see R_MIPS_REL in elf.h. * > > * > > how can i define REL_SYM_OR_REL for mips n64 abi */* > > i don't know what the n64 abi docs says, but this might be a hint: > > glibc/sysdeps/mips/dl-machine.h has > > #if _MIPS_SIM == _ABI64 > case (R_MIPS_64 << 8) | R_MIPS_REL32: > #else > case R_MIPS_REL32: > #endif > > where R_MIPS_64 << 8 | R_MIPS_REL32 is 4611. This seems right. Mahesh, did you get a chance to try this? Does it help? Rich