[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GlibC 2.2.5 compilation problem -- Possible workaround
From: |
mathieu . mutz |
Subject: |
GlibC 2.2.5 compilation problem -- Possible workaround |
Date: |
Tue, 13 Aug 2002 13:52:16 +0200 |
Hello,
I recently decided to upgrade my Linux system. I was previously using GlibC
2.2.4 with GCC 2.95.3-2 and decided to compile a GlibC 2.2.5 with GCC 3.
Looking at the succesful build reports, I figured that GCC 3.1.1 could do the
job and compiled/installed
it. Then comes the tricky part: GlibC compilation.
Using only default flags (no strange optimization directive in a CFLAGS or
whatever else), I got a crash during the "make" pass reporting an error in
sysdeps/unix/sysv/linux/errlist.c at line 41. Theerror report was complaining
about a weak alias
following a strong alias, which was not allowed. Looking in that file, I
figured two possible problems !
- line 41: there was a missing ',' at the end of the line. It shouldn't be a
problem, but it's still better to add it ;)
- line 40 & 41: there is a strong alias declaration and just after it a weak
alias declaration... I don't know exactly what this exactly means, but I can
imagine only one of them is required. And GCC seems to complain about it anyway.
Here is how I fixed it: I simply swapped the weak alias and the strong alias,
placing the weak alias (line 41) just before the strong alias (line 40). The
library seemed to compile alright after that.
Is my modification right ? Should I do something else ? If there's really a
problem, please be kind enough to release a patch and keep me informed about
this issue.
Regards,
Matthieu Mutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GlibC 2.2.5 compilation problem -- Possible workaround,
mathieu . mutz <=