Build failure 2.6.4 on Gentoo

Help
Nate Edel
2004-05-11
2004-05-11
  • Nate Edel

    Nate Edel - 2004-05-11

    gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \         -o linux arch/um/main.o vmlinux -L/usr/lib -lutil
    vmlinux(.text+0xec040): In function `strcpy':
    lib/string.c:71: multiple definition of `strcpy'
    arch/um/kernel/tt/unmap_fin.o(.text+0x3e858): first defined here
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strcpy' changed from 35
    in arch/um/kernel/tt/unmap_fin.o to 32 in vmlinux
    vmlinux(.text+0xec310): In function `strrchr':
    lib/string.c:266: multiple definition of `strrchr'
    arch/um/kernel/tt/unmap_fin.o(.text+0x18650): first defined here
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strrchr' changed from 441 in arch/um/kernel/tt/unmap_fin.o to 47 in vmlinux
    vmlinux(.text+0xec280): In function `strncmp':
    lib/string.c:231: multiple definition of `strncmp'
    arch/um/kernel/tt/unmap_fin.o(.text+0x5538): first defined here
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strncmp' changed from 171 in arch/um/kernel/tt/unmap_fin.o to 66 in vmlinux
    vmlinux(.text+0xed490): In function `sscanf':
    lib/vsprintf.c:813: multiple definition of `sscanf'
    arch/um/kernel/tt/unmap_fin.o(.text+0x31e04): first defined here
    vmlinux(.text+0xec250): In function `strcmp':
    lib/string.c:211: multiple definition of `strcmp'
    arch/um/kernel/tt/unmap_fin.o(.text+0x5510): first defined here
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strcmp' changed from 37
    in arch/um/kernel/tt/unmap_fin.o to 39 in vmlinux
    vmlinux(.text+0xec2d0): In function `strchr':
    lib/string.c:251: multiple definition of `strchr'
    arch/um/kernel/tt/unmap_fin.o(.text+0x53a0): first defined here
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strchr' changed from 359 in arch/um/kernel/tt/unmap_fin.o to 53 in vmlinux
    vmlinux(.text+0xec440): In function `strpbrk':
    lib/string.c:382: multiple definition of `strpbrk'
    arch/um/kernel/tt/unmap_fin.o(.text+0x34000): first defined here
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strpbrk' changed from 179 in arch/um/kernel/tt/unmap_fin.o to 82 in vmlinux
    /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.14.90.0.8 20040114 assertion fail elf.c:3465

     
    • Nate Edel

      Nate Edel - 2004-05-11

      Any help is much appreciated.  This was on a first clean build, though I did the make mrproper ARCH=um anyway.

      Happens on several of my Gentoo boxes... I'm thinking it's likely got to do with the GCC or GLIBC version, but I really don't want to have to roll them back if there's another option.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks