On 19 February 2017 at 22:30, Stéphane Aulery <[email protected]> wrote: > Hello, > > Le 17/02/2017 à 13:18, Lucas C. Villa Real a écrit : > > On Fri, Feb 17, 2017 at 6:02 AM, sali <[email protected]> wrote: >> >> >> When trying to Compile MC >> I get the following errors: >> >> --- snip --- >> >> cd src; /bin/make elf >> make[2]: Entering directory '/Data/Compile/Sources/slang-2.3.1/src' >> /Data/Compile/Sources/slang-2.3.1/autoconf/mkinsdir.sh >> /Data/Compile/Sources/slang-2.3.1/src/elfobjs >> mkdir -p -- /Data/Compile/Sources/slang-2.3.1/src/elfobjs >> touch /Data/Compile/Sources/slang-2.3.1/src/elfobjs/tstamp >> cp sysconf.h config.h >> cp terminfo/default.inc terminfo.inc >> cd /Data/Compile/Sources/slang-2.3.1/src/elfobjs && gcc -c -g -O2 -fPIC >> -Dunix -DSLANG -DMISC_TERMINFO_DIRS='""' >> /Data/Compile/Sources/slang-2.3.1/src/sltermin.c >> cd /Data/Compile/Sources/slang-2.3.1/src/elfobjs && gcc -c -g -O2 -fPIC >> -Dunix -DSLANG /Data/Compile/Sources/slang-2.3.1/src/sldisply.c >> cd /Data/Compile/Sources/slang-2.3.1/src/elfobjs && gcc -c -g -O2 -fPIC >> -Dunix -DSLANG /Data/Compile/Sources/slang-2.3.1/src/slutty.c >> cd /Data/Compile/Sources/slang-2.3.1/src/elfobjs && gcc -c -g -O2 -fPIC >> -Dunix -DSLANG /Data/Compile/Sources/slang-2.3.1/src/slang.c >> cd /Data/Compile/Sources/slang-2.3.1/src/elfobjs && gcc -c -g -O2 -fPIC >> -Dunix -DSLANG /Data/Compile/Sources/slang-2.3.1/src/slarray.c >> /Data/Compile/Sources/slang-2.3.1/src/slarray.c: In function >> ‘inline_implicit_floating_array’: >> /Data/Compile/Sources/slang-2.3.1/src/slarray.c:3030:9: internal compiler >> error: Illegal instruction >> n = (int)(1.5 + ((xmax - xmin) / dx)); >> ^ >> 0x9c530f crash_signal >> /Data/Compile/Sources/gcc-6.3.0/./gcc/toplev.c:333 >> 0x7f424e05a0af ??? >> >> /sources/glibc-2.24/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 >> Please submit a full bug report, >> with preprocessed source if appropriate. >> Please include the complete backtrace with any bug report. >> See <http://gcc.gnu.org/bugs.html> for instructions. >> make[2]: *** [Makefile:493: >> /Data/Compile/Sources/slang-2.3.1/src/elfobjs/slarray.o] Error 1 >> make[2]: Leaving directory '/Data/Compile/Sources/slang-2.3.1/src' >> make[1]: *** [Makefile:58: elf] Error 2 >> make[1]: Leaving directory '/Data/Compile/Sources/slang-2.3.1' >> make: *** [Makefile.gobo:2: all] Error 2 >> Compile: Slang 2.3.1 - Build process failed. >> >> --- snip --- >> >> It's the same with gcc-6.2.0 and slang-2.3.1a >> >> Any idea ? >> >> Also when I tried to compile GCC-6.3.0 with GCC-6.2.0 I got 'internal >> compiler' >> errors. >> >> Greetings, >> >> Martin. > > > > I was unable to reproduce it on my end. I wonder if this is something to do > with optimized code being incorrectly handled by your processor? If that's > the case, then the following trick may help you: > > 1. Type 'EditRecipe Slang' > 2. Add the following lines to the Recipe file: > environment=( > CFLAGS="-O0" > ) > 3. Type "Compile Slang". When asked, [r]emove the sources. > > > I have just installed GoboLinux (full install with the last live ISO) on a > portable to give it a try and I am stuck with the very first step. > > I try also to Compile MC and have the same error. I have applied the trick > of Lucas about optimization Livel and got the same error. > > I have also tried to compile XFE and GLU library compilation failed. > > My dmesg output is attached if that can help you.
Martin and Stéphane, Could you send the contents of the file /proc/cpuinfo? These internal compiler errors may be related to a specific kind of CPU. -- Hisham _______________________________________________ gobolinux-users mailing list [email protected] http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
