From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx15.extmail.prod.ext.phx2.redhat.com [10.5.110.20]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r779aQK5010868 for ; Wed, 7 Aug 2013 05:36:26 -0400 Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r779aPsR006198 for ; Wed, 7 Aug 2013 05:36:25 -0400 Received: by mail-vb0-f48.google.com with SMTP id w16so1566566vbf.7 for ; Wed, 07 Aug 2013 02:36:24 -0700 (PDT) MIME-Version: 1.0 From: Raymond Jennings Date: Wed, 7 Aug 2013 02:35:44 -0700 Message-ID: Content-Type: multipart/alternative; boundary=089e011765a165402704e3584603 Subject: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm --089e011765a165402704e3584603 Content-Type: text/plain; charset=UTF-8 http://privatepaste.com/2e7b78484f Did I do something wrong here? I haven't edited /etc/lvm/lvm.conf at all. --089e011765a165402704e3584603 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
http://priv= atepaste.com/2e7b78484f

Did I do something wrong= here? =C2=A0I haven't edited /etc/lvm/lvm.conf at all.
--089e011765a165402704e3584603-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52034E72.7050403@redhat.com> Date: Thu, 08 Aug 2013 09:53:22 +0200 From: Peter Rajnoha MIME-Version: 1.0 References: In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Cc: Raymond Jennings On 08/07/2013 11:35 AM, Raymond Jennings wrote: > http://privatepaste.com/2e7b78484f > > Did I do something wrong here? I haven't edited /etc/lvm/lvm.conf at all. > We were discussing this exact problem on #lvm on freenode just yesterday as someone else hit that. We've nailed this down to a problem with gcc compiler and its optimisation. It happens if -O2 optimisation is used during compilation, but it does not happen with -O1 nor -O0. Also, we could not reproduce with gcc 4.7, but reproduced with 4.8. We're just trying to find a quick workaround for this gcc problem at the moment, stay tuned for latest lvm2 upstream changes... Peter From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52034F2A.1000608@redhat.com> Date: Thu, 08 Aug 2013 09:56:26 +0200 From: Peter Rajnoha MIME-Version: 1.0 References: <52034E72.7050403@redhat.com> In-Reply-To: <52034E72.7050403@redhat.com> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Cc: Raymond Jennings On 08/08/2013 09:53 AM, Peter Rajnoha wrote: > We've nailed this down to a problem with gcc > compiler and its optimisation. It happens if -O2 optimisation is used > during compilation, but it does not happen with -O1 nor -O0. Also, we > could not reproduce with gcc 4.7, but reproduced with 4.8. ...also, it happens on 32-bit arch, and we did not reproduce on 64-bit. What architecture are you using and what gcc version is used on your distro? Can you confirm? Peter From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52034FEF.7070102@redhat.com> Date: Thu, 08 Aug 2013 09:59:43 +0200 From: Peter Rajnoha MIME-Version: 1.0 References: <52034E72.7050403@redhat.com> <52034F2A.1000608@redhat.com> In-Reply-To: <52034F2A.1000608@redhat.com> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Cc: Raymond Jennings On 08/08/2013 09:56 AM, Peter Rajnoha wrote: > On 08/08/2013 09:53 AM, Peter Rajnoha wrote: >> We've nailed this down to a problem with gcc >> compiler and its optimisation. It happens if -O2 optimisation is used >> during compilation, but it does not happen with -O1 nor -O0. Also, we >> could not reproduce with gcc 4.7, but reproduced with 4.8. To get rid of these message until we find the workaround, please, set config {checks = 0} in your lvm.conf. Peter From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <52034FEF.7070102@redhat.com> References: <52034E72.7050403@redhat.com> <52034F2A.1000608@redhat.com> <52034FEF.7070102@redhat.com> From: Raymond Jennings Date: Thu, 8 Aug 2013 17:33:47 -0700 Message-ID: Content-Type: multipart/alternative; boundary=089e011765a1ea325704e378efb7 Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: Peter Rajnoha Cc: LVM general discussion and development --089e011765a1ea325704e378efb7 Content-Type: text/plain; charset=UTF-8 If and when you guys post a bug report with gcc, could you post a copy of it here? I plan to follow the bug myself. Gcc: 4.8.1, for the record. On Thu, Aug 8, 2013 at 12:59 AM, Peter Rajnoha wrote: > On 08/08/2013 09:56 AM, Peter Rajnoha wrote: > > On 08/08/2013 09:53 AM, Peter Rajnoha wrote: > >> We've nailed this down to a problem with gcc > >> compiler and its optimisation. It happens if -O2 optimisation is used > >> during compilation, but it does not happen with -O1 nor -O0. Also, we > >> could not reproduce with gcc 4.7, but reproduced with 4.8. > > To get rid of these message until we find the workaround, > please, set config {checks = 0} in your lvm.conf. > > Peter > --089e011765a1ea325704e378efb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If and when you guys post a bug report with gcc, could you= post a copy of it here?

I plan to follow the bug myself= .

Gcc: 4.8.1, for the record.


On Thu, Aug 8, 2013 at 12:59 AM, Peter R= ajnoha <prajnoha@redhat.com> wrote:
On 08/08/2013 09:56 AM, Peter Rajnoha wrote:
> On 08/08/2013 09:53 AM, Peter Rajnoha wrote:
>> We've nailed this down to a problem with gcc
>> compiler and its optimisation. It happens if -O2 optimisation is u= sed
>> during compilation, but it does not happen with -O1 nor -O0. Also,= we
>> could not reproduce with gcc 4.7, but reproduced with 4.8.

To get rid of these message until we find the workaround,
please, set config {checks =3D 0} in your lvm.conf.

Peter

--089e011765a1ea325704e378efb7-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <52034E72.7050403@redhat.com> <52034F2A.1000608@redhat.com> <52034FEF.7070102@redhat.com> From: Raymond Jennings Date: Thu, 8 Aug 2013 18:15:38 -0700 Message-ID: Content-Type: multipart/alternative; boundary=001a11c25774919fa904e37985ef Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: Peter Rajnoha Cc: LVM general discussion and development --001a11c25774919fa904e37985ef Content-Type: text/plain; charset=UTF-8 By the way, I am spyro on freenode. On Thu, Aug 8, 2013 at 5:33 PM, Raymond Jennings wrote: > If and when you guys post a bug report with gcc, could you post a copy of > it here? > > I plan to follow the bug myself. > > Gcc: 4.8.1, for the record. > > > On Thu, Aug 8, 2013 at 12:59 AM, Peter Rajnoha wrote: > >> On 08/08/2013 09:56 AM, Peter Rajnoha wrote: >> > On 08/08/2013 09:53 AM, Peter Rajnoha wrote: >> >> We've nailed this down to a problem with gcc >> >> compiler and its optimisation. It happens if -O2 optimisation is used >> >> during compilation, but it does not happen with -O1 nor -O0. Also, we >> >> could not reproduce with gcc 4.7, but reproduced with 4.8. >> >> To get rid of these message until we find the workaround, >> please, set config {checks = 0} in your lvm.conf. >> >> Peter >> > > --001a11c25774919fa904e37985ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
By the way, I am spyro on freenode.


On Thu, Aug 8, 2013 at 5:33 PM= , Raymond Jennings <shentino@gmail.com> wrote:
If and when you guys post a= bug report with gcc, could you post a copy of it here?

= I plan to follow the bug myself.

Gcc: 4.8.1, for the record.


On Thu, Aug 8, 2013 at 12:59 AM, Peter R= ajnoha <prajnoha@redhat.com> wrote:
On 08/08/2013 09:56 AM, Peter Rajnoha wrote:
> On 08/08/2013 09:53 AM, Peter Rajnoha wrote:
>> We've nailed this down to a problem with gcc
>> compiler and its optimisation. It happens if -O2 optimisation is u= sed
>> during compilation, but it does not happen with -O1 nor -O0. Also,= we
>> could not reproduce with gcc 4.7, but reproduced with 4.8.

To get rid of these message until we find the workaround,
please, set config {checks =3D 0} in your lvm.conf.

Peter


--001a11c25774919fa904e37985ef-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5204D719.2060304@redhat.com> Date: Fri, 09 Aug 2013 13:48:41 +0200 From: Peter Rajnoha MIME-Version: 1.0 References: <52034E72.7050403@redhat.com> <52034F2A.1000608@redhat.com> <52034FEF.7070102@redhat.com> In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Cc: Raymond Jennings On 08/09/2013 02:33 AM, Raymond Jennings wrote: > If and when you guys post a bug report with gcc, could you post a copy > of it here? > > I plan to follow the bug myself So finally we get to the source of the problem. It's reported here: https://bugzilla.redhat.com/show_bug.cgi?id=995446 The workaround we provide is to not use the "static" qualifier for the string that is malformed by that bug (and hence the optimizer is not touching it that much): https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=2f61478436a7ebe058ffad3f92e1c4dada0805d0 I'll update F19 shortly. Peter From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5204D719.2060304@redhat.com> References: <52034E72.7050403@redhat.com> <52034F2A.1000608@redhat.com> <52034FEF.7070102@redhat.com> <5204D719.2060304@redhat.com> From: Raymond Jennings Date: Fri, 9 Aug 2013 09:06:50 -0700 Message-ID: Content-Type: multipart/alternative; boundary=20cf3079b590c81b2104e385f8ad Subject: Re: [linux-lvm] Weird errors after fresh install Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: Peter Rajnoha Cc: LVM general discussion and development --20cf3079b590c81b2104e385f8ad Content-Type: text/plain; charset=UTF-8 Thanks ^^ I meant though that I'd like to follow the upstream bug report with gcc On Fri, Aug 9, 2013 at 4:48 AM, Peter Rajnoha wrote: > On 08/09/2013 02:33 AM, Raymond Jennings wrote: > > If and when you guys post a bug report with gcc, could you post a copy > > of it here? > > > > I plan to follow the bug myself > > So finally we get to the source of the problem. > It's reported here: > https://bugzilla.redhat.com/show_bug.cgi?id=995446 > > The workaround we provide is to not use the "static" > qualifier for the string that is malformed by that bug > (and hence the optimizer is not touching it that much): > > > https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=2f61478436a7ebe058ffad3f92e1c4dada0805d0 > > I'll update F19 shortly. > > Peter > --20cf3079b590c81b2104e385f8ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks ^^

I meant though that I'd l= ike to follow the upstream bug report with gcc


On Fri, Aug 9, 2013 at 4:48 AM= , Peter Rajnoha <prajnoha@redhat.com> wrote:
On 08/09/2013 02:33 AM, Ra= ymond Jennings wrote:
> If and when you guys post a bug report with gcc, could you post a copy=
> of it here?
>
> I plan to follow the bug myself

So finally we get to the source of the problem.
It's reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=3D995446

The workaround we provide is to not use the "static"
qualifier for the string that is malformed by that bug
(and hence the optimizer is not touching it that much):

https://git.fedorahoste= d.org/cgit/lvm2.git/commit/?id=3D2f61478436a7ebe058ffad3f92e1c4dada0805d0

I'll update F19 shortly.

Peter

--20cf3079b590c81b2104e385f8ad--