handling of src paths to files in ports/
Mike Frysinger
vapier@gentoo.org
Mon Apr 16 19:19:00 GMT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120416/89e4938e/attachment.sig>
More information about the Libc-alpha
mailing list