All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Thierry BERTAUD <tbertaud@conforama.fr>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: fio-f1480f9: AIX 6.1 build KO against gcc function overlap
Date: Wed, 30 Dec 2015 09:51:01 -0700	[thread overview]
Message-ID: <56840B75.5070002@kernel.dk> (raw)
In-Reply-To: <56840B48.4040301@kernel.dk>

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

On 12/30/2015 09:50 AM, Jens Axboe wrote:
> On 12/30/2015 09:38 AM, Jens Axboe wrote:
>> so that logic does look correct. Maybe the configure check for the error
>> return of lex -o isn't working. Do you have CONFIG_LEX_USE_O in your
>> config-host.mak, if you run configure --enable-lex?
>
> If the latter is the case, then the attached patch should hopefully
> work. That'll force NOT using -o for AIX always, if lex is enabled.

Gah, missed a 'fi'. New one attached.


-- 
Jens Axboe


[-- Attachment #2: no-lex-o-v2.patch --]
[-- Type: text/x-patch, Size: 656 bytes --]

diff --git a/configure b/configure
index e92e96b879b5..517668233fc7 100755
--- a/configure
+++ b/configure
@@ -247,6 +247,8 @@ AIX)
   # Unless explicitly enabled, turn off lex.
   if test -z "$disable_lex" ; then
     disable_lex="yes"
+  else
+    force_no_lex_o="yes"
   fi
   ;;
 Darwin)
@@ -1505,6 +1507,9 @@ fi
 
 # Check if lex fails using -o
 if test "$arith" = "yes" ; then
+if test "$force_no_lex_o" = "yes" ; then
+  lex_use_o="no"
+else
 $LEX -o lex.yy.c exp/expression-parser.l 2> /dev/null
 if test "$?" = "0" ; then
   lex_use_o="yes"
@@ -1512,6 +1517,7 @@ else
   lex_use_o="no"
 fi
 fi
+fi
 
 echo "lex/yacc for arithmetic       $arith"
 

  reply	other threads:[~2015-12-30 16:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28 21:45 fio-f1480f9: AIX 6.1 build KO against gcc function overlap Thierry BERTAUD
2015-12-28 22:24 ` Andrey Kuzmin
2015-12-28 23:18   ` Thierry BERTAUD
2015-12-28 23:21 ` Jens Axboe
2015-12-28 23:34   ` Thierry BERTAUD
2015-12-28 23:46     ` Jens Axboe
2015-12-29  0:01       ` Thierry BERTAUD
2015-12-29  0:15         ` Jens Axboe
2015-12-29  0:30           ` Thierry BERTAUD
2015-12-29  0:39             ` Jens Axboe
2015-12-29  0:56               ` Thierry BERTAUD
2015-12-29 15:34                 ` Jens Axboe
2015-12-29 16:16                   ` Thierry BERTAUD
2015-12-29 21:10                     ` Thierry BERTAUD
2015-12-30  3:26                       ` Jens Axboe
2015-12-30  3:59                         ` Jens Axboe
2015-12-30  8:36                           ` Thierry BERTAUD
2015-12-30 16:38                             ` Jens Axboe
2015-12-30 16:50                               ` Jens Axboe
2015-12-30 16:51                                 ` Jens Axboe [this message]
2015-12-30 17:59                                   ` Thierry BERTAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56840B75.5070002@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=tbertaud@conforama.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.