On Tue, Oct 27, 2015 at 12:36:52AM -0400, Michael Havens wrote:
> >
> >
> > Well, I've never seen one like that. Looks like something on line
> > 106 of /mnt/lfs/sources/gcc-build/./gcc/as
> >
> > I assume that at this point that 'as' file must be a
> > script. Perhaps it is trying to exec a variable. Is it a script ?
> > If so, what is the hunk which includes line 106 ?
> >
> >
> case "$original" in
> ../*)
> # compute absolute path of the location of this script
> tdir=`dirname "$0"`
> scriptdir=`cd "$tdir" && pwd`
>
> if test -x $scriptdir/../$dir/$prog; then
> test "$fast_install" = yes || exec $scriptdir/../$dir/$prog ${1+"$@"}
>
> # if libtool did everything it needs to do, there's a fast path
> lt_prog=$scriptdir/../$dir/$objdir/lt-$prog
> test -x $lt_prog && exec $lt_prog ${1+"$@"}
>
> # libtool has not relinked ld-new yet, but we cannot just use the
> # previous stage (because then the relinking would just never
> happen!).
> # So we take extra care to use prev-ld/ld-new *on recursive calls*.
> eval LT_RCU="\${LT_RCU_$id}"
> test x"$LT_RCU" = x"1" && exec $scriptdir/../prev-$dir/$prog ${1+"$@"}
>
> eval LT_RCU_$id=1
> export LT_RCU_$id
> $scriptdir/../$dir/$prog ${1+"$@"}
> result=$?
> exit $result
>
> else
> exec $scriptdir/../prev-$dir/$prog ${1+"$@"}
> fi
> ;;
> *)
> exec $original ${1+"$@"}
I suppose that must be this line.
Can you edit this so that it reads
*)
echo original is $original >&2
echo argument is ${1+"$@"} >&2
exec $original ${1+"$@"}
;;
I'm out of my depth here, perhaps that will break it more, but I'm
suggesting to write to stderr so that it doesn't interfere with
anything on stdout. After that, retry 'make'. If the config.log
file doesn't show the messages about original and argument, remove
the '>&2' and try again.
I'll be going to bed soon, so Good Luck.
> ;;
> (line 109) esac
>
> I do have a question: when I cd into the directory it ignores the '/./'. Is
> that normal?
> lfs@debian:/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc$ cd
> /mnt/lfs/sources/gcc-build/./gcc/
> lfs@debian:/mnt/lfs/sources/gcc-build/gcc$ scp as [email protected]:
> /home/bmike1/Documents/LFS/7.8/build/5.5logs/mnt-lfs-sources-gcc-build-gcc-as
> [email protected]'s password:
> as
>
> What does 'cd /./' do?
For what you actually asked,the same as 'cd /' : '/' is the root, './'
is the current directory relative to the path at this point. In the
full command, you go from /mnt/lfs/sources/gcc-build to the gcc
directory within that, i.e. /mnt/lfs/sources/gcc-build/gcc.
ĸen
--
Il Porcupino Nil Sodomy Est! (if you will excuse my latatian)
aka "The hedgehog song"
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style