Compiling gcc-4.1.0 on a system with glibc-2.4 installed
So, I managed to get glibc-2.4 installed and everything works fine except for a compile error I've been getting when I build gcc-4.1.0.
Here is the error: Code:
ranlib ./libgcov.a Peace... |
you did
--enable-threads=posix ? |
Quote:
Peace... |
Well, it looks like an issue with the current gcc-4.1.0 release. I'm building a gcc-4.1 snapshot dated 04072006 and I'm in the stage2 part of the build and all is well. :)
I'll update this thread as I discover more. Peace... |
Well, I got gcc-20060407 built against glibc-2.4. It reports itself as gcc 4.1.1, so I'm thinking the next maintenance release of gcc-4.1 will work fine.
I couldn't get the java frontend (GCJ) built, but the C and C++ frontends built fine. Peace... |
gcc 4.1.0 with glibc2.4
Can you post how you resolved this problem?
I've tried the newer gcc 4.1.1 with glibc2.5 and it has the same problem. Thanks. In file included from ../../gcc-4.1.0/gcc/unwind-dw2-fde-glibc.c:435: ../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: missing braces around initializer ../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: (near initialization for 'object_mutex.__data' ../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: error: '__LOCK_INITIALIZER' undeclared here (not in a f ../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: missing initializer ../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: (near initialization for 'object_mutex.__data. ') make[2]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1 |
Hi all
I am install FC4,but not install gcc. When i am look system,i found gcc-4.0.0 I will install gcc-4.1.1. How i had reinstall gcc-4.1.1 |
All times are GMT -5. The time now is 11:04 AM. |