From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8704 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl mips n64 dynamic build Date: Tue, 20 Oct 2015 12:40:21 +0200 Message-ID: <20151020104019.GC10551@port70.net> References: <20151019151840.GM8645@brightrain.aerifal.cx> 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 1445337637 30579 80.91.229.3 (20 Oct 2015 10:40:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 10:40:37 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8716-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 20 12:40:36 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 1ZoULL-0001F1-Ae for gllmg-musl@m.gmane.org; Tue, 20 Oct 2015 12:40:35 +0200 Original-Received: (qmail 25903 invoked by uid 550); 20 Oct 2015 10:40:33 -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 25885 invoked from network); 20 Oct 2015 10:40:32 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:8704 Archived-At: * 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.