Skip to contentSkip to conversation

OE-Core status with gcc9

DISCUSSION Richard Purdie 4 participants 7 messages May 12, 2019 – Jun 6, 2019

lore
Share & tools
lore
#0 lore raw

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

#1 lore raw
Quoted 7 lines · Richard Purdie

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

Assembler is not liking what gcc9 is generating

HOSTCC scripts/kconfig/conf.o /tmp/ccnMW5be.s: Assembler messages:
/tmp/ccnMW5be.s: Internal error (Segmentation fault).

I wonder if its a common case or specific here?
I will try to reproduce it as well

Quoted 10 lines

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

#2 lore raw
Quoted 11 lines · Khem Raj
Quoted 7 lines · Richard Purdie

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

Quoted 9 lines

Assembler is not liking what gcc9 is generating

HOSTCC scripts/kconfig/conf.o /tmp/ccnMW5be.s: Assembler messages:
/tmp/ccnMW5be.s: Internal error (Segmentation fault).

I wonder if its a common case or specific here?
I will try to reproduce it as well

I am able to get a .s file which crashes assembler on qemu. Same file assembles ok with mips cross assembler so next I want to get hold of a mips hardware and try it on the real h/w, meanwhile if someone has easy access to mips and can load core-image-sato-sdk on it then I can provide the asm file which crashes assembler

Quoted 10 lines
Quoted 10 lines

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

#3 lore raw
Quoted 23 lines · Khem Raj
Quoted 11 lines · Khem Raj
Quoted 7 lines · Richard Purdie

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

Quoted 9 lines

Assembler is not liking what gcc9 is generating

HOSTCC scripts/kconfig/conf.o /tmp/ccnMW5be.s: Assembler messages:
/tmp/ccnMW5be.s: Internal error (Segmentation fault).

I wonder if its a common case or specific here?
I will try to reproduce it as well

Quoted 7 lines

I am able to get a .s file which crashes assembler on qemu. Same file assembles ok with mips cross assembler so next I want to get hold of a mips hardware and try it on the real h/w, meanwhile if someone has easy access to mips and can load core-image-sato-sdk on it then I can provide the asm file which crashes assembler

got some more time to narrow it down.
works with musl+gcc-9
works with glibc+clang-8
works with musl+Clang-8

so only glibc+gcc-9 combo is one which exhibits the issue

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

#4 lore raw
Quoted 32 lines · Khem Raj
Quoted 23 lines · Khem Raj
Quoted 11 lines · Khem Raj
Quoted 7 lines · Richard Purdie

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

Quoted 9 lines

Assembler is not liking what gcc9 is generating

HOSTCC scripts/kconfig/conf.o /tmp/ccnMW5be.s: Assembler messages:
/tmp/ccnMW5be.s: Internal error (Segmentation fault).

I wonder if its a common case or specific here?
I will try to reproduce it as well

Quoted 7 lines

I am able to get a .s file which crashes assembler on qemu. Same file assembles ok with mips cross assembler so next I want to get hold of a mips hardware and try it on the real h/w, meanwhile if someone has easy access to mips and can load core-image-sato-sdk on it then I can provide the asm file which crashes assembler

Quoted 7 lines

got some more time to narrow it down.
works with musl+gcc-9
works with glibc+clang-8
works with musl+Clang-8

so only glibc+gcc-9 combo is one which exhibits the issue

I have sent a workaound for this which we can try out.
https://patchwork.openembedded.org/patch/161674/

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

#5 lore raw
Quoted 38 lines · Khem Raj
Quoted 37 lines · Khem Raj
Quoted 23 lines · Khem Raj
Quoted 11 lines · Khem Raj
Quoted 7 lines · Richard Purdie

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

Quoted 9 lines

Assembler is not liking what gcc9 is generating

HOSTCC scripts/kconfig/conf.o /tmp/ccnMW5be.s: Assembler messages:
/tmp/ccnMW5be.s: Internal error (Segmentation fault).

I wonder if its a common case or specific here?
I will try to reproduce it as well

Quoted 7 lines

I am able to get a .s file which crashes assembler on qemu. Same file assembles ok with mips cross assembler so next I want to get hold of a mips hardware and try it on the real h/w, meanwhile if someone has easy access to mips and can load core-image-sato-sdk on it then I can provide the asm file which crashes assembler

got some more time to narrow it down.
works with musl+gcc-9
works with glibc+clang-8
works with musl+Clang-8

Quoted 5 lines
Quoted 2 lines

so only glibc+gcc-9 combo is one which exhibits the issue

I have sent a workaound for this which we can try out.
https://patchwork.openembedded.org/patch/161674/

Failed to build llvm with gcc9 for qemuppc as below:
| collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped

Thanks,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

#6 lore raw

Probably is not an issue for ie-core but gcc-9 is also breaking all the openjdk8 build on meta-java

Can this be postponed a bit?

Thanks
Nicola Lunghi

Quoted 70 lines · Mingli
Quoted 38 lines · Khem Raj
Quoted 37 lines · Khem Raj
Quoted 23 lines · Khem Raj
Quoted 11 lines · Khem Raj
Quoted 7 lines · Richard Purdie

I've run some tests and think we're now down to one remaining issue with gcc 9:

https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/579
https://autobuilder.yoctoproject.org/typhoon/#/builders/55/builds/145

Quoted 9 lines

Assembler is not liking what gcc9 is generating

HOSTCC scripts/kconfig/conf.o /tmp/ccnMW5be.s: Assembler messages:
/tmp/ccnMW5be.s: Internal error (Segmentation fault).

I wonder if its a common case or specific here?
I will try to reproduce it as well

Quoted 7 lines

I am able to get a .s file which crashes assembler on qemu. Same file assembles ok with mips cross assembler so next I want to get hold of a mips hardware and try it on the real h/w, meanwhile if someone has easy access to mips and can load core-image-sato-sdk on it then I can provide the asm file which crashes assembler

got some more time to narrow it down.
works with musl+gcc-9
works with glibc+clang-8
works with musl+Clang-8

Quoted 5 lines
Quoted 2 lines

so only glibc+gcc-9 combo is one which exhibits the issue

I have sent a workaound for this which we can try out.
https://patchwork.openembedded.org/patch/161674/

Failed to build llvm with gcc9 for qemuppc as below:
| collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped

Thanks,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

which is a kernel "make scripts" segfaulting on target on mips and hence failing to build kernel modules. If we can get that one fixed we're good from an OE-Core perspective to move to gcc 9.

I have to recognise the work Khem has put in getting us this close!

Cheers,

Richard

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core