Re: Errors compiling MidnightCommander (S-lang)
Stéphane Aulery <[email protected]> Tue, 21 Feb 2017 01:54:09 +0100
| Newsgroups | gmane.linux.distributions.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Le 20/02/2017 à 22:10, Hisham Muhammad a écrit : > On 19 February 2017 at 22:30, Stéphane Aulery <[email protected]> wrote: >> 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. > Could you send the contents of the file /proc/cpuinfo? > > These internal compiler errors may be related to a specific kind of CPU. Yes, cpupinfo output is attached. Thanks for you help. Regards, -- Stéphane Aulery _______________________________________________ gobolinux-users mailing list [email protected] http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
cpuinfo_lkppo.txt
(text/plain, 1.5 KB)
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T5550 @ 1.83GHz stepping : 13 microcode : 0xa3 cpu MHz : 1000.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm bugs : bogomips : 3657.41 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T5550 @ 1.83GHz stepping : 13 microcode : 0xa3 cpu MHz : 1000.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm bugs : bogomips : 3657.35 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: