This is the mail archive of the gcc@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]

GLIBC 2.3.3 build failure on i686-pc-linux-gnu


"Sam Lauber" <sam124@operamail.com> wrote:
Today I built GLIBC 2.3.3 with GLIBC 2.3. The linker seems to have balked on iconv:
...
/home/sam/build-glibc/csu/crtn.o(.text+0x0): In function `dummy':
/home/sam/build-glibc/csu/crtn.S:14: multiple definition of `dummy'
/home/sam/build-glibc/csu/crti.o(.text+0x0):/home/sam/build-glibc/csu/crti.S:33: first defined here
/home/sam/build-glibc/csu/crtn.o(.text+0x14): In function `_init':
/home/sam/build-glibc/csu/crtn.S:28: multiple definition of `_init'
/home/sam/build-glibc/csu/crti.o(.text+0x24):/home/sam/build-glibc/csu/crti.S:61: first defined here
/home/sam/build-glibc/csu/crtn.o(.init+0x8): In function `_fini':
/home/sam/build-glibc/csu/crtn.S:69: multiple definition of `_fini'
/home/sam/build-glibc/csu/crti.o(.init+0x4):/home/sam/build-glibc/csu/crti.S:36: first defined here
/home/sam/build-glibc/csu/crti.o(.init+0x16): In function `_fini':
/home/sam/build-glibc/csu/crti.S:43: undefined reference to `i_am_not_a_leaf'
/home/sam/build-glibc/csu/crtn.o(.init+0x2b): In function `_fini':
/home/sam/build-glibc/csu/crtn.S:37: undefined reference to `i_am_not_a_leaf'
/home/sam/build-glibc/csu/crtn.o(.init+0x30):/home/sam/build-glibc/csu/crtn.S:39: undefined reference to `i_am_not_a_leaf'

This sounds like a known issue compiling pre-2004 glibc with newer gcc's, rather than a bug. See http://kegel.com/crosstool/crosstool-0.28-rc37/patches/glibc-2.3.2/glibc-2.3.2-allow-gcc-3.4-nounit.patch http://kegel.com/crosstool/crosstool-0.28-rc37/patches/glibc-linuxthreads-2.3.2/glibc-linuxthreads-2.3.2-allow-3.4.patch for how to deal with it in glibc-2.3.2 / linuxthreads (actually, those patches were backported from glibc just about the time glibc-2.3.3 was tagged; see the comments at the top of the patches). - Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html


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