From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21280 invoked by alias); 5 Mar 2004 08:34:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21258 invoked by uid 48); 5 Mar 2004 08:34:01 -0000 Date: Fri, 05 Mar 2004 08:34:00 -0000 Message-ID: <20040305083401.21257.qmail@sources.redhat.com> From: "charlet at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040304214646.14435.hjl@lucon.org> References: <20040304214646.14435.hjl@lucon.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug driver/14435] [3.4 regression] GCC_EXEC_PREFIX does not work as expected X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg00686.txt.bz2 List-Id: ------- Additional Comments From charlet at gcc dot gnu dot org 2004-03-05 08:33 ------- It doesn't affect host gnatmake. The issue here is really specific to gnatchop. gnatmake uses the right compiler, as explained several times. target gnatchop indeed uses a gnat1 in the default install dir if there's one, which is because the GCC_EXEC_PREFIX environment variable is broken in GCC: setting GCC_EXEC_PREFIX is no longer doing the expected job of being equivalent to -Bxxxx Note also that the documentation on GCC_EXEC_PREFIX is inconsistent and unclear. Requalifying this PR so that the behavior of GCC_EXEC_PREFIX is restored and so that the ACATS test suite can use it, and remove the kludge put in place to work around it, and which indeed does not work completely with gnatchop as you reported. Here are more info on GCC_EXEC_PREFIX being broken: $ export GCC_EXEC_PREFIX=/home/charlet/cvs/gcc-obj/gcc/ $ gcc -v -c -x ada /dev/null Reading specs from /home/charlet/cvs/gcc-obj/gcc/specs <- this part is fine Configured with: ../gcc-head/configure [..] gcc version 3.5.0 20040220 (experimental) /home/charlet/cvs/gcc-obj/install/libexec/gcc/i686-pc-linux-gnu/3.5.0/gnat1 - quiet -dumpbase null.ada -mtune=pentiumpro /dev/null -o /tmp/ccIDh52n.s <- this part isn't, the wrong gnat1 is called As you can see (and same for cc1), the wrong gnat1 is called. Once this regression is fixed, it will be possible to clean up the acats driver. Arno -- What |Removed |Added ---------------------------------------------------------------------------- Component|ada |driver Summary|Ada testsuite doesn't use |[3.4 regression] |the newly compiler |GCC_EXEC_PREFIX does not | |work as expected http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14435