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: handling of src paths to files in ports/


On Monday 16 April 2012 15:06:48 Andreas Schwab wrote:
> Mike Frysinger writes:
> > this ends up bubbling into the ldd_rewrite_script variable that some
> > machines need to override:
> > sysdeps/unix/sysv/linux/ia64/configure.in:ldd_rewrite_script=ports/sysdep
> > s/unix/sysv/linux/ia64/ldd-rewrite.sed
> 
> This is broken.  It sould be $dest/ldd-rewrite.sed.

as i explained, that doesn't work.  i used ports/ because that does actually 
work (as long as the subdir is named "ports").

> >  - mips can be broken by building in a dir two deep:
> > 	mkdir build/mips; cd build/mips; ../../configure ...
> 
> Huh?  The name is relative to the source directory.  The build directory
> has no influence.

as i said in the intro, the current $dest value is relative to the top of the 
builddir.  hence trying to use any variable relative to the top of the srcdir 
breaks.

go ahead and try it:
$ mkdir -p build/mips
$ cd build/mips
$ ../../configure --host=mips64el-gentoo-linux-gnu --prefix=/usr
...
$ grep ldd-rewrite-script config.make
ldd-rewrite-script = ../../ports/sysdeps/unix/sysv/linux/mips/mips64/ldd-
rewrite.sed

that value certainly is not relative to the top of the source directory.

> >  - m68k looks pointless considering that's what common code sets up
> 
> In which way is it pointless?

i misread the `grep` of sysdeps/.  i thought it set up this value as the 
default for everyone (since it's in the common linux location).  in reality, 
it seems to be i386-specific, so really it should be moved to the i386 subdir.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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