Re: Errors compiling MidnightCommander (S-lang)
"Lucas C. Villa Real" <[email protected]> Fri, 17 Feb 2017 10:18:19 -0200
| Newsgroups | gmane.linux.distributions.gobo.general |
|---|---|
| Message-ID | <CAAvzgtazrBkyTFXLUy8z+9PFzsbpQd6TcMQi+gRVy5yw0JMZPA@mail.gmail.com> |
On Fri, Feb 17, 2017 at 6:02 AM, sali <[email protected]> wrote: > Dear All, > > 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. > Hi 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. Thanks, Lucas _______________________________________________ gobolinux-users mailing list [email protected] http://lists.gobolinux.org/mailman/listinfo/gobolinux-users