From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93075 invoked by alias); 30 Sep 2015 23:30:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 93031 invoked by uid 48); 30 Sep 2015 23:30:23 -0000 From: "gary at intrepid dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/67792] New: GCC 5.2 - make clean fails in libgcc Date: Wed, 30 Sep 2015 23:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gary at intrepid dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg02422.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67792 Bug ID: 67792 Summary: GCC 5.2 - make clean fails in libgcc Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: gary at intrepid dot com Target Milestone: --- When building with both the GCC 5.2 release and the latest gcc-5-branch, after a successful build and bootstrap, a 'make clean' at the top level fails as follows. make[1]: Leaving directory `/eng/upc/dev/gary/gcc-5-x/save/x86_64-unknown-linux -gnu/libstdc++-v3' make[1]: -B/eng/upc/dev/gary/gcc-5-x/rls/x86_64-unknown-linux-gnu/bin/: Command not found make[1]: Entering directory `/eng/upc/dev/gary/gcc-5-x/save/x86_64-unknown-linu x-gnu/libgcc' make[1]: -B/eng/upc/dev/gary/gcc-5-x/rls/x86_64-unknown-linux-gnu/bin/: Command not found /bin/sh: line 0: test: !=: unary operator expected rm -f libgcc_tm.h libgcc.map Makefile:172: *** Recursive variable `AR_FOR_TARGET' references itself (eventua lly). Stop. Above, the compiler has not yet been installed under 'rls/...', and therefore is not found. It wasn't clear to me why AR_FOR_TARGET is recursive: 170 # Flags to pass to recursive makes. 171 172 AR_FOR_TARGET = $(AR) Top-level configure: /eng/upc/dev/gary/gcc-5-x/src/configure CFLAGS='-g3 -O3' CXXFLAGS='-g3 -O3' CC= /usr/bin/gcc CXX=/usr/bin/g++ --prefix=/eng/upc/dev/gary/gcc-5-x/rls --enable-l anguages=all