From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 81FBD38618F6 for ; Thu, 20 Aug 2020 06:46:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81FBD38618F6 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sebastian.huber@embedded-brains.de Received: from sslproxy05.your-server.de ([78.46.172.2]) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1k8eKm-0006zt-BY; Thu, 20 Aug 2020 08:46:00 +0200 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1k8eKm-000VUx-7F; Thu, 20 Aug 2020 08:46:00 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 76B822A1610; Thu, 20 Aug 2020 08:46:30 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HCNubOZw2oLM; Thu, 20 Aug 2020 08:46:30 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 2BF682A165B; Thu, 20 Aug 2020 08:46:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Sr1h7jWrqItc; Thu, 20 Aug 2020 08:46:30 +0200 (CEST) Received: from shuber-nb-linux.eb.localhost (unknown [10.10.171.22]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 060402A1610; Thu, 20 Aug 2020 08:46:29 +0200 (CEST) Subject: Re: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD From: Sebastian Huber To: gdb@sourceware.org Cc: Simon Marchi References: <3db0603d-659f-40c5-d61d-d94fabfd646e@embedded-brains.de> Message-ID: <1701e3af-7bcd-e268-65d3-dbd5f37e9bce@embedded-brains.de> Date: Thu, 20 Aug 2020 08:45:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <3db0603d-659f-40c5-d61d-d94fabfd646e@embedded-brains.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.102.4/25904/Mon Aug 17 15:02:24 2020) X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, NICE_REPLY_A, 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: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 06:46:06 -0000 On 20/08/2020 08:22, Sebastian Huber wrote: > Hello, > > this commit > > commit f693213d126a823f7c81e61f3ef05b501b862bce > Author: Simon Marchi > Date:=C2=A0=C2=A0 Wed Jul 29 16:02:57 2020 -0400 > > =C2=A0=C2=A0=C2=A0 Run `autoreconf -vf` throughout > > includes this change in "sim/bfin/configure": > > -{ $as_echo "$as_me:${as_lineno-$LINENO}: result:=20 > $ac_cv_lib_dl_dlopen" >&5 > -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } > -if test "x$ac_cv_lib_dl_dlopen" =3D xyes; then : > - > +PKG_PROG_PKG_CONFIG > +PKG_CHECK_MODULES(SDL, sdl, > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 AC_CHECK_LIB(dl, dlopen, [ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 SDL_CFLAGS=3D"${SDL_CFLAGS} -DHAVE_SDL" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 SDL_LIBS=3D"-ldl" > - > -else > -=C2=A0 SDL_CFLAGS=3D SDL_LIBS=3D > -fi > - > - > -fi > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ], [SDL_CFLAGS=3D SDL_LIBS=3D]) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 , :) > > This looks like an incomplete macro expansion. It cases a shell syntax=20 > error on FreeBSD: > > checking for /usr/bin/cc -O2 -pipe -fbracket-depth=3D1024=20 > -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-b= fin/usr/local/rtems/6/include=20 > option to produce PIC... -fPIC -DPIC > ../../../sourceware-mirror-binutils-gdb-c2fd7fa/sim/bfin/configure:=20 > PKG_PROG_PKG_CONFIG: not found > ../../../sourceware-mirror-binutils-gdb-c2fd7fa/sim/bfin/configure:=20 > 13930: Syntax error: word unexpected (expecting ")") It fails also on Linux: ../../../sourceware-mirror-binutils-gdb-c2fd7fa/sim/bfin/configure: line=20 13929: PKG_PROG_PKG_CONFIG: command not found ../../../sourceware-mirror-binutils-gdb-c2fd7fa/sim/bfin/configure: line=20 13930: syntax error near unexpected token `SDL,' ../../../sourceware-mirror-binutils-gdb-c2fd7fa/sim/bfin/configure: line=20 13930: `PKG_CHECK_MODULES(SDL, sdl,' configure: creating ./config.status configure: error:=20 ../../../sourceware-mirror-binutils-gdb-c2fd7fa/sim/bfin/configure=20 failed for bfin