[OE-core] gcc - internal compiler error: Segmentation failt
peter at berginkonsult.se
Tue Feb 26 08:19:47 UTC 2019
I'm working with thud branch and have run into a bug in gcc. I would
like help how to proceed with this.
Compiling the following C code gives Segmentation fault in gcc:
const int32_t BUFFER_MAX_LENGTH = 4096*1024;
if (strncmp(&buffer, "ABC", 3) == 0)
| during RTL pass: expand
| /work/yocto/metrum-r3/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/compiler-test/1.0-r0/work/git/tmp/strncmp.c: In function 'main':
| /work/yocto/metrum-r3/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/compiler-test/1.0-r0/work/git/tmp/strncmp.c:16:6: internal compiler error: Segmentation fault
| if (strncmp(&buffer, "ABC", 3) == 0)
| Please submit a full bug report,
| with preprocessed source if appropriate.
I would like this fixed in thud branch and took a quick look in gcc repo
for solutions. I had no luck finding anything useful. Anyone seeing this
before? Anyone having suggestion how to proceed? Shall I create a
bugzilla in Yocto?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openembedded-core