This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] arm: do not abort EABI check for bootstrapping


On 20 Nov 2014 21:35, Joseph Myers wrote:
> On Thu, 20 Nov 2014, Mike Frysinger wrote:
> > i would like to see an option like "only install headers", but it would mean 
> > trusting the information encoded in the tuple which the commit here specifically 
> > moved away from.
> 
> In general I think we should trust tuples *less* - it should be possible 
> to configure glibc with the same tuple as used for GCC (so, for example, 
> i686-*-linux-gnu and x86_64-*-linux-gnu should both work for building both 
> 32-bit and 64-bit glibc - much like for MIPS we examine the value of 
> _MIPS_SIM to determine the ABI being built for).  (I also think all cases 
> that can use the same tuple with GCC should install the same headers.)

i'm aware you can do multilib, but you'd still have to configure glibc with the 
right tuple in order for it to behave correctly.  this is how every autotool
package works and i'm not sure how making glibc special here is useful.  i'm not 
sure it's even feasible unless we avoid autotools entirely.

e.g. ./configure --host=i686-pc-linux-gnu CC="x86_64-pc-linux-gnu-gcc -m32"
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]