This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95.2 ceases to produce workable executables after recompiling it with some optimization
- To: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>
- Subject: gcc-2.95.2 ceases to produce workable executables after recompiling it with some optimization
- From: "Nick Kurshev" <nickols_k at mail dot ru>
- Date: Mon, 03 Jul 2000 09:50:51 +0000 (:)
- Reply-To: "Nick Kurshev" <nickols_k at mail dot ru>
Hello!
My system: Linux Mandrake release 6.0 Russian Edition (Venus)
Kernel: 2.2.9-27mdk
CPU: K6/200
Problem:
Records in my /etc/profile:
CFLAGS="-g -O2 -fomit-frame-pointer -mschedule-prologue -march=k6 -mcpu=k6
-momit-leaf-frame-pointer -fmove-all-movables -freduce-all-givs
-foptimize-register-move -fregmove -ffunction-sections -fdata-sections
-fexpensive-optimizations -foptimize-register-move"
CXXFLAGS=$CFLAGS
export CFLAGS
export CXXFLAGS
After recompiling gcc-2.95.2 with such keys, it ceases to produce workable
executables. Each executable that builded by "new" gcc is produced coredump.
Also, anew compiled compiler does not compile itself. After reinstalling
gcc-2.7.2.3 and relinking of projects previously compiled by "new" 2.95.2
all work. IMHO, problem in stub or internal gcc libraries.
Best regards! Nick