On 04/05/10 12:30, Andrew Benton wrote:
On 05/04/10 03:40, James Richard Tyrer wrote:
I made the error of updating my GLibc to 2.11.1 and my GCC to 4.4.3 and
all HELL (DLL HELL that is) has broken loose. :-(
The major problem appears to be with various "locale" objects in the
headers for GLibc and possibly in the headers for LibStdC++-4.4.3.
Do we, I hope, have a patch in the works for this problem, or it it
possible that down grading to GCC-4.4.1 would improve the problem (I
consider this to be very low probability unless there is a specific
regression).
I would suggest that you start again from the beginning. Even if you do somehow
get your system functional again, there's no way of knowing what else is broken
and you just haven't found that brokenness yet. Everytime something doesn't work
you'll be thinking "Is that because I tried to reinstall glibc?"
Just start again and don't try and reinstall glibc again - it never makes
anything
better.
While I appreciate your suggestion, I have upgraded GLibC many times
over the past few years without any problems.
Now I have the specific issue that I can not build things due to the
issues with the GLibC headers. Unfortunately, this includes rebuilding
GCC as well.
For example, building PCRE (now trying 8.0.2) I get specific errors [see
attached] with a header file.
Don't know how this could be caused by BinUtils, but I will borrow a
compiler and try reinstalling it.
--
James Tyrer
Linux (mostly) From Scratch
make all-am
make[1]: Entering directory `/usr/src/pcre-8.02'
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/g++ -DHAVE_CONFIG_H -I.
-I/usr/gnome-2/include -I/usr/include/mysql -I/usr/lib/xulrunner-1.9.1.7
-march=athlon -mtune=athlon -O2 -m128bit-long-double -MT pcrecpp.lo -MD -MP -MF
.deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
libtool: compile: /usr/bin/g++ -DHAVE_CONFIG_H -I. -I/usr/gnome-2/include
-I/usr/include/mysql -I/usr/lib/xulrunner-1.9.1.7 -march=athlon -mtune=athlon
-O2 -m128bit-long-double -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c
pcrecpp.cc -fPIC -DPIC -o .libs/pcrecpp.o
In file included from /usr/include/stdio.h:909,
from pcrecpp.cc:37:
/usr/include/bits/stdio.h: In function '__ssize_t getline(char**, size_t*,
FILE*)':
/usr/include/bits/stdio.h:118: error: '__getdelim' was not declared in this
scope
In file included from /usr/include/c++/4.4.3/bits/localefwd.h:42,
from /usr/include/c++/4.4.3/string:45,
from pcrecpp.cc:42:
/usr/include/c++/4.4.3/i686-pld-linux/bits/c++locale.h: At global scope:
/usr/include/c++/4.4.3/i686-pld-linux/bits/c++locale.h:52: error: 'uselocale'
was not declared in this scope
/usr/include/c++/4.4.3/i686-pld-linux/bits/c++locale.h:52: error: invalid type
in declaration before ';' token
/usr/include/c++/4.4.3/i686-pld-linux/bits/c++locale.h: In function 'int
std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)':
/usr/include/c++/4.4.3/i686-pld-linux/bits/c++locale.h:72: error:
'__gnu_cxx::__uselocale' cannot be used as a function
/usr/include/c++/4.4.3/i686-pld-linux/bits/c++locale.h:97: error:
'__gnu_cxx::__uselocale' cannot be used as a function
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/usr/src/pcre-8.02'
make: *** [all] Error 2
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page