* [linux-lvm] Weird errors after fresh install
@ 2013-08-07 9:35 Raymond Jennings
2013-08-08 7:53 ` Peter Rajnoha
0 siblings, 1 reply; 8+ messages in thread
From: Raymond Jennings @ 2013-08-07 9:35 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
http://privatepaste.com/2e7b78484f
Did I do something wrong here? I haven't edited /etc/lvm/lvm.conf at all.
[-- Attachment #2: Type: text/html, Size: 215 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-07 9:35 [linux-lvm] Weird errors after fresh install Raymond Jennings
@ 2013-08-08 7:53 ` Peter Rajnoha
2013-08-08 7:56 ` Peter Rajnoha
0 siblings, 1 reply; 8+ messages in thread
From: Peter Rajnoha @ 2013-08-08 7:53 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-08 7:53 ` Peter Rajnoha
@ 2013-08-08 7:56 ` Peter Rajnoha
2013-08-08 7:59 ` Peter Rajnoha
0 siblings, 1 reply; 8+ messages in thread
From: Peter Rajnoha @ 2013-08-08 7:56 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-08 7:56 ` Peter Rajnoha
@ 2013-08-08 7:59 ` Peter Rajnoha
2013-08-09 0:33 ` Raymond Jennings
0 siblings, 1 reply; 8+ messages in thread
From: Peter Rajnoha @ 2013-08-08 7:59 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-08 7:59 ` Peter Rajnoha
@ 2013-08-09 0:33 ` Raymond Jennings
2013-08-09 1:15 ` Raymond Jennings
2013-08-09 11:48 ` Peter Rajnoha
0 siblings, 2 replies; 8+ messages in thread
From: Raymond Jennings @ 2013-08-09 0:33 UTC (permalink / raw)
To: Peter Rajnoha; +Cc: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
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 <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 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
>
[-- Attachment #2: Type: text/html, Size: 1207 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-09 0:33 ` Raymond Jennings
@ 2013-08-09 1:15 ` Raymond Jennings
2013-08-09 11:48 ` Peter Rajnoha
1 sibling, 0 replies; 8+ messages in thread
From: Raymond Jennings @ 2013-08-09 1:15 UTC (permalink / raw)
To: Peter Rajnoha; +Cc: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
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 Rajnoha <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 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
>>
>
>
[-- Attachment #2: Type: text/html, Size: 1649 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-09 0:33 ` Raymond Jennings
2013-08-09 1:15 ` Raymond Jennings
@ 2013-08-09 11:48 ` Peter Rajnoha
2013-08-09 16:06 ` Raymond Jennings
1 sibling, 1 reply; 8+ messages in thread
From: Peter Rajnoha @ 2013-08-09 11:48 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] Weird errors after fresh install
2013-08-09 11:48 ` Peter Rajnoha
@ 2013-08-09 16:06 ` Raymond Jennings
0 siblings, 0 replies; 8+ messages in thread
From: Raymond Jennings @ 2013-08-09 16:06 UTC (permalink / raw)
To: Peter Rajnoha; +Cc: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
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 <prajnoha@redhat.com> 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
>
[-- Attachment #2: Type: text/html, Size: 1489 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-08-09 16:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07 9:35 [linux-lvm] Weird errors after fresh install Raymond Jennings
2013-08-08 7:53 ` Peter Rajnoha
2013-08-08 7:56 ` Peter Rajnoha
2013-08-08 7:59 ` Peter Rajnoha
2013-08-09 0:33 ` Raymond Jennings
2013-08-09 1:15 ` Raymond Jennings
2013-08-09 11:48 ` Peter Rajnoha
2013-08-09 16:06 ` Raymond Jennings
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 NNTP newsgroup(s).