Re: [OE-core] mesa-native fails on master

2023-04-04 Thread Richard Purdie
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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#179692): 
https://lists.openembedded.org/g/openembedded-core/message/179692
Mute This Topic: https://lists.openembedded.org/mt/98052337/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] mesa-native fails on master

2023-04-04 Thread Paul Gortmaker
[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 
>  On Behalf Of Mark Hatle
> Sent: Tuesday, April 4, 2023 10:25 AM
> To: Patches and discussions about the oe-core layer 
> 
> 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 (#179691): 
https://lists.openembedded.org/g/openembedded-core/message/179691
Mute This Topic: https://lists.openembedded.org/mt/98052337/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] mesa-native fails on master

2023-04-03 Thread Khem Raj
On Mon, Apr 3, 2023 at 7:57 PM Mark Hatle
 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  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 
> >>  On Behalf Of Mark Hatle
> >> Sent: Tuesday, April 4, 2023 10:25 AM
> >> To: Patches and discussions about the oe-core layer 
> >> 
> >> 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 (#179671): 
https://lists.openembedded.org/g/openembedded-core/message/179671
Mute This Topic: https://lists.openembedded.org/mt/98052337/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] mesa-native fails on master

2023-04-03 Thread Mark Hatle
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  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 
 On Behalf Of Mark Hatle
Sent: Tuesday, April 4, 2023 10:25 AM
To: Patches and discussions about the oe-core layer 

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 (#179670): 
https://lists.openembedded.org/g/openembedded-core/message/179670
Mute This Topic: https://lists.openembedded.org/mt/98052337/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] mesa-native fails on master

2023-04-03 Thread Khem Raj
On Mon, Apr 3, 2023 at 7:39 PM Chen Qi  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 
>  On Behalf Of Mark Hatle
> Sent: Tuesday, April 4, 2023 10:25 AM
> To: Patches and discussions about the oe-core layer 
> 
> 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/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] mesa-native fails on master

2023-04-03 Thread Chen Qi
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 
 On Behalf Of Mark Hatle
Sent: Tuesday, April 4, 2023 10:25 AM
To: Patches and discussions about the oe-core layer 

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/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] mesa-native fails on master

2023-04-03 Thread Mark Hatle
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 (#179657): 
https://lists.openembedded.org/g/openembedded-core/message/179657
Mute This Topic: https://lists.openembedded.org/mt/98052337/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-