From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by sourceware.org (Postfix) with ESMTPS id 10539395B0B1 for ; Wed, 27 May 2020 15:04:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 10539395B0B1 IronPort-SDR: UcUnOzaCwbOV72RxZpTtmK3jo0QkCIJcT0zjHCivjfaow2SnzX4WCnHZkVnwGeT0GBqIm5WQWx 4MkC+4Poi0bbImEB20JCz2vJMIBFgMhJ+Kt0tAcocYX1XKVwkuGK/vaUvUfBuLylu1AxQ3ZN/3 /bdULQ2CvLrY2FaxZX1ihtFVIRlIZITfl/QDCa9zmQDOiTvuDqBoDNpCZHksPMYLPFCKIxUl3Z dbLT4ddfw21jFYGNl+VFFUdISg2WmtfSxURUiFPwZV4N+ysogFhRLJvX2Xjczg0e8BX0DinVyx Krc= X-IronPort-AV: E=Sophos;i="5.73,441,1583190000"; d="scan'208";a="9174644" Date: Wed, 27 May 2020 17:04:39 +0200 Message-ID: <202005271504.04RF4dvj019052@ignucius.se.axis.com> From: Hans-Peter Nilsson To: CC: In-Reply-To: (message from Alexandre Oliva on Wed, 27 May 2020 16:30:07 +0200) Subject: Re: Broken build MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 15:04:43 -0000 > From: Alexandre Oliva > Date: Wed, 27 May 2020 16:30:07 +0200 > On May 26, 2020, Hans-Peter Nilsson wrote: > > >> Here's a proper patch submission. > > > And here's an improper bug report. > > :-) > > Thanks, H-P, > > > xgcc: error: : No such file or directory > > Interesting... If you cut&paste the command line that you included in > your so-called improper bug report ;-) do you get this error? Aha: no. > I ask because this error suggests an empty argument passed to > GCC. And ignored before your rewrite? Maybe. If so, I'm guessing there are lots of build systems out there carrying this kind of gem. > This > test is the very kind of scenario (with multiple compiler inputs) in > which the testsuite would implicitly arrange to pass "-dumpbase ''" to > the compiler driver. I don't see -dumpbase in the command line, though, > but there might somehow be a '' not visible in gcc.log. > > Could I possibly ask what build and host systems you've used, and what > your dejagnu board configuration file looks like? Debian 9, x86_64. (Nothing Canadian.) Oops, I'm using a local baseboard file, but it looks mostly like the cris-sim.exp baseboard file in Debian's dejagnu-1.6-1.1 (I'd guess also the official dejagnu-1.6; I doubt there are CRIS-specific distro diffs). Diffs are in the copyright header, some ";" cleanups, and some target selector supposed-cleanup. To wit, the lines set cris_ldopt "-sim3" and set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] $cris_ldopt" are the same. > > -L/netapp/hp3_storage/hp/autotest/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib > > -sim3 -lm -o > > Is it correct to assume that -sim3 is NOT a separate command-line > option, No, see above: it's a separate command-line option. > and that there is a directory named newlib-sim3 ? No, see cris.h:LIB_SPEC and STARTFILE_SPEC. > > Can you please have a look? > > Sure, thanks! Sorry about this undesirable surprise. Thanks for looking. brgds, H-P