This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43301] top-level configure script ignores ---with-build-time-tools
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jul 2017 16:57:54 +0000
- Subject: [Bug bootstrap/43301] top-level configure script ignores ---with-build-time-tools
- Auto-submitted: auto-generated
- References: <bug-43301-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43301
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-21
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ryan Johnson from comment #0)
> ./configure ... --with-build-time-tools=$MY_TOOLS ignores $MY_TOOLS (though
> it correctly warns when $MY_TOOLS is not an absolute path).
>
> Let's just say this led to extremely frustrating behavior until I decided to
> start digging...
>
> Suggested patch to correct the problem:
>
> Index: /home/Ryan/apps/gcc-4.5-src/configure.ac
> ===================================================================
> --- /home/Ryan/apps/gcc-4.5-src/configure.ac (revision 157227)
> +++ /home/Ryan/apps/gcc-4.5-src/configure.ac (working copy)
> @@ -3221,7 +3221,9 @@
> [ --with-build-time-tools=PATH
> use given path to find target tools during the
> build],
> [case x"$withval" in
> - x/*) ;;
> + x/*)
> + with_build_time_tools=$withval
> + ;;
> *)
> with_build_time_tools=
> AC_MSG_WARN([argument to --with-build-time-tools must be an absolute
> path])
Confirming that GCC's configure.ac is still unpatched.