public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* mesa-native fails on master
@ 2023-04-04  2:24 Mark Hatle
  2023-04-04  2:39 ` [OE-core] " Chen, Qi
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2023-04-04  2:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

It's been a few weeks since I last built master, but starting with today's pull 
I'm getting errors building mesa-native -- which pretty much kills the whole build.

I'm on an Ubuntu 18.04 host, and have the 'buildtools-tarball' from the last 
4.1.3 loaded so I can get to the minimum version of python to run a build.

(I tried with buildtools-tarball-extended and that DOES appear to work.  If this 
is expected, you can ignore the rest of this.  But I expected the system to 
complain before trying to build everything if the compiler wasn't new enough.)


The error is:

brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated 
initializers not supported


The host gcc is 7.5.0

What is strange is I had 2 successful builds, and then it started failing.  All 
fresh builds.  I've no idea why one was successful and the others failed.  I'm 
wondering if maybe there is some sort of race in mesa, but lowered my parallel 
build (-j) to 1 and I'm still getting it.


Reproducer:

git clone https://git.yoctoproject.org/poky

cd poky

wget 
http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.3/buildtools/x86_64-buildtools-nativesdk-standalone-4.1.3.sh

bash x86_64-buildtools-nativesdk-standalone-4.1.3.sh -d buildtools -y

. ./buildtools/environment-...

. ./oe-init-build-env

bitbake mesa-native




^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [OE-core] mesa-native fails on master
  2023-04-04  2:24 mesa-native fails on master Mark Hatle
@ 2023-04-04  2:39 ` Chen, Qi
  2023-04-04  2:48   ` Khem Raj
  2023-04-04 14:10   ` Paul Gortmaker
  0 siblings, 2 replies; 7+ messages in thread
From: Chen, Qi @ 2023-04-04  2:39 UTC (permalink / raw)
  To: Mark Hatle, Patches and discussions about the oe-core layer

I just met the same issue. My host is ubuntu18, gcc version is 7.5.0.

Regards,
Qi

-----Original Message-----
From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mark Hatle
Sent: Tuesday, April 4, 2023 10:25 AM
To: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org>
Subject: [OE-core] mesa-native fails on master

It's been a few weeks since I last built master, but starting with today's pull I'm getting errors building mesa-native -- which pretty much kills the whole build.

I'm on an Ubuntu 18.04 host, and have the 'buildtools-tarball' from the last
4.1.3 loaded so I can get to the minimum version of python to run a build.

(I tried with buildtools-tarball-extended and that DOES appear to work.  If this is expected, you can ignore the rest of this.  But I expected the system to complain before trying to build everything if the compiler wasn't new enough.)


The error is:

brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated initializers not supported


The host gcc is 7.5.0

What is strange is I had 2 successful builds, and then it started failing.  All 
fresh builds.  I've no idea why one was successful and the others failed.  I'm 
wondering if maybe there is some sort of race in mesa, but lowered my parallel 
build (-j) to 1 and I'm still getting it.


Reproducer:

git clone https://git.yoctoproject.org/poky

cd poky

wget 
http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.3/buildtools/x86_64-buildtools-nativesdk-standalone-4.1.3.sh

bash x86_64-buildtools-nativesdk-standalone-4.1.3.sh -d buildtools -y

. ./buildtools/environment-...

. ./oe-init-build-env

bitbake mesa-native



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] mesa-native fails on master
  2023-04-04  2:39 ` [OE-core] " Chen, Qi
@ 2023-04-04  2:48   ` Khem Raj
  2023-04-04  2:56     ` Mark Hatle
  2023-04-04 14:10   ` Paul Gortmaker
  1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2023-04-04  2:48 UTC (permalink / raw)
  To: Chen Qi; +Cc: Mark Hatle, Patches and discussions about the oe-core layer

On Mon, Apr 3, 2023 at 7:39 PM Chen Qi <Qi.Chen@windriver.com> wrote:
>
> I just met the same issue. My host is ubuntu18, gcc version is 7.5.0.
>
> Regards,
> Qi
>
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mark Hatle
> Sent: Tuesday, April 4, 2023 10:25 AM
> To: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org>
> Subject: [OE-core] mesa-native fails on master
>
> It's been a few weeks since I last built master, but starting with today's pull I'm getting errors building mesa-native -- which pretty much kills the whole build.
>
> I'm on an Ubuntu 18.04 host, and have the 'buildtools-tarball' from the last
> 4.1.3 loaded so I can get to the minimum version of python to run a build.
>
> (I tried with buildtools-tarball-extended and that DOES appear to work.  If this is expected, you can ignore the rest of this.  But I expected the system to complain before trying to build everything if the compiler wasn't new enough.)
>
>
> The error is:
>
> brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated initializers not supported
>
>
> The host gcc is 7.5.0
>
> What is strange is I had 2 successful builds, and then it started failing.  All
> fresh builds.  I've no idea why one was successful and the others failed.  I'm
> wondering if maybe there is some sort of race in mesa, but lowered my parallel
> build (-j) to 1 and I'm still getting it.


You need a newer gcc compiler > 7.x
I just abandoned using ubuntu 18.04
see - https://lists.openembedded.org/g/openembedded-core/message/178783?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Cnon-trivial+designated+initializers+not+supported%2C20%2C2%2C0%2C97647023
>
>
> Reproducer:
>
> git clone https://git.yoctoproject.org/poky
>
> cd poky
>
> wget
> http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.3/buildtools/x86_64-buildtools-nativesdk-standalone-4.1.3.sh
>
> bash x86_64-buildtools-nativesdk-standalone-4.1.3.sh -d buildtools -y
>
> . ./buildtools/environment-...
>
> . ./oe-init-build-env
>
> bitbake mesa-native
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#179667): https://lists.openembedded.org/g/openembedded-core/message/179667
> Mute This Topic: https://lists.openembedded.org/mt/98052337/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] mesa-native fails on master
  2023-04-04  2:48   ` Khem Raj
@ 2023-04-04  2:56     ` Mark Hatle
  2023-04-04  3:04       ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2023-04-04  2:56 UTC (permalink / raw)
  To: Khem Raj, Chen Qi; +Cc: Patches and discussions about the oe-core layer

I'm fine with saying either Ubuntu 18.04 is no longer 'supported', or running 
some kind of check that says gcc 7.5.0 is too old..  But I'm not sure what 
minimum (host) compiler version would be needed to avoid this error.

I'm happy to work up a patch to adjust the minimum gcc version, if someone can 
give me a bit of a clue what the appropriate minimum should be.

The current check (in sanity.bbclass) looks for 7.5 or newer.

--Mark

On 4/3/23 9:48 PM, Khem Raj wrote:
> On Mon, Apr 3, 2023 at 7:39 PM Chen Qi <Qi.Chen@windriver.com> wrote:
>>
>> I just met the same issue. My host is ubuntu18, gcc version is 7.5.0.
>>
>> Regards,
>> Qi
>>
>> -----Original Message-----
>> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mark Hatle
>> Sent: Tuesday, April 4, 2023 10:25 AM
>> To: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org>
>> Subject: [OE-core] mesa-native fails on master
>>
>> It's been a few weeks since I last built master, but starting with today's pull I'm getting errors building mesa-native -- which pretty much kills the whole build.
>>
>> I'm on an Ubuntu 18.04 host, and have the 'buildtools-tarball' from the last
>> 4.1.3 loaded so I can get to the minimum version of python to run a build.
>>
>> (I tried with buildtools-tarball-extended and that DOES appear to work.  If this is expected, you can ignore the rest of this.  But I expected the system to complain before trying to build everything if the compiler wasn't new enough.)
>>
>>
>> The error is:
>>
>> brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated initializers not supported
>>
>>
>> The host gcc is 7.5.0
>>
>> What is strange is I had 2 successful builds, and then it started failing.  All
>> fresh builds.  I've no idea why one was successful and the others failed.  I'm
>> wondering if maybe there is some sort of race in mesa, but lowered my parallel
>> build (-j) to 1 and I'm still getting it.
> 
> 
> You need a newer gcc compiler > 7.x
> I just abandoned using ubuntu 18.04
> see - https://lists.openembedded.org/g/openembedded-core/message/178783?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Cnon-trivial+designated+initializers+not+supported%2C20%2C2%2C0%2C97647023
>>
>>
>> Reproducer:
>>
>> git clone https://git.yoctoproject.org/poky
>>
>> cd poky
>>
>> wget
>> http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.3/buildtools/x86_64-buildtools-nativesdk-standalone-4.1.3.sh
>>
>> bash x86_64-buildtools-nativesdk-standalone-4.1.3.sh -d buildtools -y
>>
>> . ./buildtools/environment-...
>>
>> . ./oe-init-build-env
>>
>> bitbake mesa-native
>>
>>
>>
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#179669): https://lists.openembedded.org/g/openembedded-core/message/179669
>> Mute This Topic: https://lists.openembedded.org/mt/98052337/3616948
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mark.hatle@kernel.crashing.org]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] mesa-native fails on master
  2023-04-04  2:56     ` Mark Hatle
@ 2023-04-04  3:04       ` Khem Raj
  0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2023-04-04  3:04 UTC (permalink / raw)
  To: Mark Hatle; +Cc: Chen Qi, Patches and discussions about the oe-core layer

On Mon, Apr 3, 2023 at 7:57 PM Mark Hatle
<mark.hatle@kernel.crashing.org> wrote:
>
> I'm fine with saying either Ubuntu 18.04 is no longer 'supported', or running
> some kind of check that says gcc 7.5.0 is too old..  But I'm not sure what
> minimum (host) compiler version would be needed to avoid this error.
>
> I'm happy to work up a patch to adjust the minimum gcc version, if someone can
> give me a bit of a clue what the appropriate minimum should be.
>
> The current check (in sanity.bbclass) looks for 7.5 or newer.

https://docs.mesa3d.org/install.html

says it should 8.0.0 or newer. So perhaps that check should be bumped
to check for 8.0 in master.

>
> --Mark
>
> On 4/3/23 9:48 PM, Khem Raj wrote:
> > On Mon, Apr 3, 2023 at 7:39 PM Chen Qi <Qi.Chen@windriver.com> wrote:
> >>
> >> I just met the same issue. My host is ubuntu18, gcc version is 7.5.0.
> >>
> >> Regards,
> >> Qi
> >>
> >> -----Original Message-----
> >> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mark Hatle
> >> Sent: Tuesday, April 4, 2023 10:25 AM
> >> To: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org>
> >> Subject: [OE-core] mesa-native fails on master
> >>
> >> It's been a few weeks since I last built master, but starting with today's pull I'm getting errors building mesa-native -- which pretty much kills the whole build.
> >>
> >> I'm on an Ubuntu 18.04 host, and have the 'buildtools-tarball' from the last
> >> 4.1.3 loaded so I can get to the minimum version of python to run a build.
> >>
> >> (I tried with buildtools-tarball-extended and that DOES appear to work.  If this is expected, you can ignore the rest of this.  But I expected the system to complain before trying to build everything if the compiler wasn't new enough.)
> >>
> >>
> >> The error is:
> >>
> >> brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated initializers not supported
> >>
> >>
> >> The host gcc is 7.5.0
> >>
> >> What is strange is I had 2 successful builds, and then it started failing.  All
> >> fresh builds.  I've no idea why one was successful and the others failed.  I'm
> >> wondering if maybe there is some sort of race in mesa, but lowered my parallel
> >> build (-j) to 1 and I'm still getting it.
> >
> >
> > You need a newer gcc compiler > 7.x
> > I just abandoned using ubuntu 18.04
> > see - https://lists.openembedded.org/g/openembedded-core/message/178783?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Cnon-trivial+designated+initializers+not+supported%2C20%2C2%2C0%2C97647023
> >>
> >>
> >> Reproducer:
> >>
> >> git clone https://git.yoctoproject.org/poky
> >>
> >> cd poky
> >>
> >> wget
> >> http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.3/buildtools/x86_64-buildtools-nativesdk-standalone-4.1.3.sh
> >>
> >> bash x86_64-buildtools-nativesdk-standalone-4.1.3.sh -d buildtools -y
> >>
> >> . ./buildtools/environment-...
> >>
> >> . ./oe-init-build-env
> >>
> >> bitbake mesa-native
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >> Links: You receive all messages sent to this group.
> >> View/Reply Online (#179669): https://lists.openembedded.org/g/openembedded-core/message/179669
> >> Mute This Topic: https://lists.openembedded.org/mt/98052337/3616948
> >> Group Owner: openembedded-core+owner@lists.openembedded.org
> >> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mark.hatle@kernel.crashing.org]
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] mesa-native fails on master
  2023-04-04  2:39 ` [OE-core] " Chen, Qi
  2023-04-04  2:48   ` Khem Raj
@ 2023-04-04 14:10   ` Paul Gortmaker
  2023-04-04 14:15     ` Richard Purdie
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Gortmaker @ 2023-04-04 14:10 UTC (permalink / raw)
  To: Qi.Chen; +Cc: Mark Hatle, Patches and discussions about the oe-core layer

[Re: [OE-core] mesa-native fails on master] On 04/04/2023 (Tue 02:39) Chen Qi via lists.openembedded.org wrote:

> I just met the same issue. My host is ubuntu18, gcc version is 7.5.0.

Note that ubuntu-18.04 is End-of-Life in another three weeks (unless you
buy additional support) - in case people weren't keeping track.

The ubuntu-20.04 uses gcc-9.4.0 by default.

Paul.
--

> 
> Regards,
> Qi
> 
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mark Hatle
> Sent: Tuesday, April 4, 2023 10:25 AM
> To: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org>
> Subject: [OE-core] mesa-native fails on master
> 
> It's been a few weeks since I last built master, but starting with today's pull I'm getting errors building mesa-native -- which pretty much kills the whole build.
> 
> I'm on an Ubuntu 18.04 host, and have the 'buildtools-tarball' from the last
> 4.1.3 loaded so I can get to the minimum version of python to run a build.
> 
> (I tried with buildtools-tarball-extended and that DOES appear to work.  If this is expected, you can ignore the rest of this.  But I expected the system to complain before trying to build everything if the compiler wasn't new enough.)
> 
> 
> The error is:
> 
> brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated initializers not supported
> 
> 
> The host gcc is 7.5.0
> 
> What is strange is I had 2 successful builds, and then it started failing.  All 
> fresh builds.  I've no idea why one was successful and the others failed.  I'm 
> wondering if maybe there is some sort of race in mesa, but lowered my parallel 
> build (-j) to 1 and I'm still getting it.
> 
> 
> Reproducer:
> 
> git clone https://git.yoctoproject.org/poky
> 
> cd poky
> 
> wget 
> http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.3/buildtools/x86_64-buildtools-nativesdk-standalone-4.1.3.sh
> 
> bash x86_64-buildtools-nativesdk-standalone-4.1.3.sh -d buildtools -y
> 
> . ./buildtools/environment-...
> 
> . ./oe-init-build-env
> 
> bitbake mesa-native
> 
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#179667): https://lists.openembedded.org/g/openembedded-core/message/179667
> Mute This Topic: https://lists.openembedded.org/mt/98052337/6329300
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [paul.gortmaker@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] mesa-native fails on master
  2023-04-04 14:10   ` Paul Gortmaker
@ 2023-04-04 14:15     ` Richard Purdie
  0 siblings, 0 replies; 7+ messages in thread
From: Richard Purdie @ 2023-04-04 14:15 UTC (permalink / raw)
  To: Paul Gortmaker, Qi.Chen
  Cc: Mark Hatle, Patches and discussions about the oe-core layer

On Tue, 2023-04-04 at 10:10 -0400, Paul Gortmaker wrote:
> [Re: [OE-core] mesa-native fails on master] On 04/04/2023 (Tue 02:39) Chen Qi via lists.openembedded.org wrote:
> 
> > I just met the same issue. My host is ubuntu18, gcc version is 7.5.0.
> 
> Note that ubuntu-18.04 is End-of-Life in another three weeks (unless you
> buy additional support) - in case people weren't keeping track.
> 
> The ubuntu-20.04 uses gcc-9.4.0 by default.

OpenSUSE of various versions and 18.04 use gcc 7.5. We already require
buildtools tarball for both so making gcc 8 the minimum seems fine. As
you say, 18.04 will start to disappear soon anyway.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-04 14:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-04  2:24 mesa-native fails on master Mark Hatle
2023-04-04  2:39 ` [OE-core] " Chen, Qi
2023-04-04  2:48   ` Khem Raj
2023-04-04  2:56     ` Mark Hatle
2023-04-04  3:04       ` Khem Raj
2023-04-04 14:10   ` Paul Gortmaker
2023-04-04 14:15     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox