[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lightning] Many tests failed on x86_32 systems

From: Antonio Trande
Subject: Re: [Lightning] Many tests failed on x86_32 systems
Date: Fri, 15 Sep 2017 18:31:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 09/15/2017 06:28 PM, Paulo César Pereira de Andrade wrote:
> 2017-09-15 12:22 GMT-04:00 Antonio Trande <address@hidden>:
> [...]
>>>> This new release is successfully built but many tests fail on 32 bit
>>>> systems only. I attached 'test-suite.log' file produced by 'make check'
>>>> on Fedora 28 i386.
>>>   I just tested it. Since type punning is only done throw unions, it should
>>> not be required... but please add -fno-strict-aliasing to $CFLAGS and it
>>> will work.>
>>>   It fails with default rpm %optflags due to generating invalid code, when
>>> not properly updating the pointer where lightning writes instructions to,
>>> and generating invalid opcodes.
>> I will disable testing.
>> On koji, they tend to fail.
>   Please keep the tests during build. I will help with any failure.
>   If it were not for the tests, it would not be noticed the need for
> -fno-strict-aliasing in CFLAGS.

Okay; it's fine using

for libs:
make %{?_smp_mflags} V=1 CFLAGS="%{optflags} -fno-strict-aliasing"

for tests:
make %{?_smp_mflags} V=1 CFLAGS="-g -O2 -fPIC -fno-strict-aliasing"


Antonio Trande
sagitter AT fedoraproject dot org
See my vCard.

Attachment: anto_trande.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]