This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: FAQ entries on new binutils requirements for glibc-2-2-branch


Ulrich,
    Can we add something along the lines of the attached to the FAQ in
glibc-2-2-branch to document the new requirements for binutils. I wrote
the text more broadly than just ppc-specific because I think as other
arches backport libgcc-compat changes into glibc-2-2-branch they will
fall under the same restrictions in what binutils can be used. I wasn't
sure how to do a FAQ.in so I don't have that. Thanks in advance.
                                          Jack
-------------------------------------------------------------------------
--- libc/FAQ	Fri May 11 06:09:38 2001
+++ libc/FAQ.new	Fri Aug 23 14:46:07 2002
@@ -47,6 +47,7 @@
 1.19.	`make' complains about a missing dlfcn/libdl.so when building
 	malloc/libmemprof.so.  How can I fix this?
 1.20.	Which tools should I use for MIPS?
+1.21.	Where can I get H.J. Lu's binutils specific to Linux?
 
 2. Installation and configuration issues
 
@@ -164,6 +165,8 @@
 3.22.	My program segfaults when I call fclose() on the FILE* returned
 	from setmntent().  Is this a glibc bug?
 3.23.	I get "undefined reference to `atexit'"
+3.24	I get "multiple definition of `__divdi3@GLIBC_2.0'" when I try
+	build with gcc < 3.1 against current glibc-2-2-branch glibc.
 
 4. Miscellaneous
 
@@ -573,6 +576,12 @@
 
 For details check also my page <http://www.suse.de/~aj/glibc-mips.html>.
 
+1.21.   Where can I get H.J. Lu's binutils specific to Linux?
+
+{JH} You can obtain the latest Linux-specific binutils release
+prepared by H.J. Lu <hjl@lucon.org> from the following URL;
+ftp://ftp.kernel.org/pub/linux/devel/binutils.
+
 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 
@@ -1696,6 +1705,14 @@
 DSO is not linked against libc.  This can cause problems since 'atexit' is
 not exported anymore.
 
+3.24    I get "multiple definition of `__divdi3@GLIBC_2.0'" when I try
+        build with gcc < 3.1 against current glibc-2-2-branch glibc.
+
+{JH} This suggests that you need to upgrade your binutils. The binutils
+releases prior to 2.13.90.0.4 (a Linux specific release) have a bug
+in elf_merge_symbol which causes these false error messages. Updating
+to binutils >= 2.13.90.0.4 will solve this problem. 
+
 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 
---------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]