public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Matthias Klose <doko@ubuntu.com>,
	Caroline Tice <cmtice@google.com>,
		Patrick Wollgast <patrick.wollgast@rub.de>,
	Kai Tietz <ktietz70@googlemail.com>,
		Benjamin De Kosnik <bkoz@gnu.org>,
	"jwakely@redhat.com >> Jonathan Wakely" <jwakely@redhat.com>,
	gcc-patches <gcc-patches@gcc.gnu.org>,
		"libstdc++@gcc.gnu.org" <libstdc++@gcc.gnu.org>
Subject: Re: [Ping] Port of VTV for Cygwin and MinGW
Date: Thu, 29 Jan 2015 19:55:00 -0000	[thread overview]
Message-ID: <CAMe9rOrAGT7pq9v-NfJbfEKmPOk7Jv01yAHdpTfwWbM4cxu6ug@mail.gmail.com> (raw)
In-Reply-To: <20150129182641.GP1746@tucnak.redhat.com>

On Thu, Jan 29, 2015 at 10:26 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, Jan 29, 2015 at 07:16:17PM +0100, Matthias Klose wrote:
>> On 01/29/2015 07:12 PM, H.J. Lu wrote:
>> > On Thu, Jan 29, 2015 at 10:05 AM, Matthias Klose <doko@ubuntu.com> wrote:
>> >> that fixes the build failure. ok to commit?
>> >>
>> >> 2015-01-29  Matthias Klose  <doko@ubuntu.com>
>> >>
>> >>         * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
>> >>         unconditionally.
>> >>         * configure: Regenerate.
>> >>
>> >
>> >  This is wrong.  You are checking vtv_cygmin before it is defined.
>>
>> my bad, somebody should obviously build both variants ... now testing this variant.
>
> Even with this patch vtv_cygmin is uninitialized.  It will be likely empty
> string, unless somebody has vtv_cygmin in the environment, but it is better
> to initialize it, see the patch I've posted.
>
>> --- acinclude.m4        (revision 220257)
>> +++ acinclude.m4        (working copy)
>> @@ -2320,8 +2320,6 @@
>>    AC_MSG_CHECKING([for vtable verify support])
>>    AC_MSG_RESULT([$enable_vtable_verify])
>>
>> -  AM_CONDITIONAL(VTV_CYGMIN, test $vtv_cygmin = yes)
>> -
>>    if test $enable_vtable_verify = yes; then
>>      case ${target_os} in
>>        cygwin*|mingw32*)
>> @@ -2341,6 +2339,8 @@
>>      VTV_CXXLINKFLAGS=
>>    fi
>>
>> +  AM_CONDITIONAL(VTV_CYGMIN, test $vtv_cygmin = yes)
>> +
>

Or we can just do

AM_CONDITIONAL(VTV_CYGMIN, test x$vtv_cygmin = xyes)


-- 
H.J.

  reply	other threads:[~2015-01-29 18:28 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 11:04 Patrick Wollgast
2014-09-11  4:12 ` [Ping] " Patrick Wollgast
     [not found]   ` <CABtf2+RU7frwOXOX2FF8Tmfc6ssrpfFVj1Vuue4cZt19FpSWtQ@mail.gmail.com>
2014-09-12 22:44     ` Caroline Tice
2014-09-18 22:24       ` Patrick Wollgast
2014-09-23  6:16         ` Caroline Tice
2014-09-23 10:22         ` Jonathan Wakely
2014-09-24 22:25           ` Patrick Wollgast
2014-09-27 10:50             ` Kai Tietz
2014-10-09 13:56               ` Patrick Wollgast
2014-10-09 14:47                 ` Kai Tietz
2014-10-16 10:23                   ` Patrick Wollgast
2014-10-30 14:51                     ` Patrick Wollgast
2014-11-12 16:23                       ` Patrick Wollgast
2014-11-12 17:05                         ` Kai Tietz
2014-11-12 17:47                           ` Patrick Wollgast
2014-11-12 18:45                             ` Kai Tietz
2014-11-27  9:59                               ` Patrick Wollgast
2014-12-10 16:37                                 ` Patrick Wollgast
2015-01-04 20:10                                   ` Patrick Wollgast
2015-01-08 20:34                                     ` Patrick Wollgast
2015-01-12 18:32                                       ` Caroline Tice
2015-01-14 19:28                                       ` Ian Lance Taylor
2015-01-14 21:23                                         ` Patrick Wollgast
2015-01-14 23:56                                           ` Ian Lance Taylor
2015-01-15  8:34                                             ` Patrick Wollgast
2015-01-15 16:14                                               ` Ian Lance Taylor
2015-01-15 22:13                                                 ` Patrick Wollgast
2015-01-28 14:04                                                   ` Patrick Wollgast
2015-01-29  1:58                                                     ` Caroline Tice
2015-01-29 18:16                                                       ` Matthias Klose
2015-01-29 18:26                                                         ` Matthias Klose
2015-01-29 18:28                                                           ` Jonathan Wakely
2015-01-29 18:34                                                             ` H.J. Lu
2015-01-29 18:59                                                               ` H.J. Lu
2015-01-29 19:27                                                                 ` H.J. Lu
2015-01-29 18:30                                                           ` H.J. Lu
2015-01-29 18:53                                                             ` Matthias Klose
2015-01-29 19:39                                                               ` Jakub Jelinek
2015-01-29 19:55                                                                 ` H.J. Lu [this message]
2015-01-29 20:01                                                                   ` Jakub Jelinek
2015-01-29 20:08                                                                     ` H.J. Lu
2015-01-29 19:28                                                             ` Jakub Jelinek
2015-01-29 18:16                                                       ` H.J. Lu
2015-01-29 18:22                                                         ` H.J. Lu
2015-01-29 18:23                                                         ` Caroline Tice
2015-02-09 12:32                                                       ` Thomas Schwinge
2015-02-02 19:56                                                     ` Patrick Wollgast

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=CAMe9rOrAGT7pq9v-NfJbfEKmPOk7Jv01yAHdpTfwWbM4cxu6ug@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=bkoz@gnu.org \
    --cc=cmtice@google.com \
    --cc=doko@ubuntu.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=jwakely@redhat.com \
    --cc=ktietz70@googlemail.com \
    --cc=libstdc++@gcc.gnu.org \
    --cc=patrick.wollgast@rub.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).