problems with glibc-2.3.4-20040701 and gcc-3.4 (undef ref to .LC3)

Anthony de Almeida Lopes guerrilla_thought at gmx.de
Mon Nov 1 00:13:36 PST 2004


hi, i'm having trouble building glibc with gcc-3.4 (patch w/ propolice
ssp)  it's not building iconvconfig. i've pasted the output below. i'm
also going to post the contents of crtn.S because mine may differ from
other peoples's because of propolice. (it's breif) this is the
problematic line:

     15         leal    .LC2 at GOTOFF(%ebx), %eax


below are my configure options:
        ../configure --prefix=/usr \
        --disable-profile \
        --enable-add-ons=nptl \
        --enable-kernel=2.6.0 \
        --without-cvs \
        --libexecdir=/usr/lib \

Thank you for any support you can provide. 
                     Anthony
---------------------------------------------------------------------------------------------------------------------------------
make  -C iconv others
make[2]: Entering directory `/var/tmp/ports/work/src/glibc-2.3.4-
20040701/iconv'
make[2]: Leaving directory `/var/tmp/ports/work/src/glibc-2.3.4-
20040701/iconv'
make[2]: Entering directory `/var/tmp/ports/work/src/glibc-2.3.4-
20040701/iconv'
.
.
.
/usr/bin/gcc -nostdlib -nostartfiles -o /var/tmp/ports/work/src/glibc-
2.3.4-20040701/glibc-build/iconv/iconvconfig  -Wl,-dynamic-linker=/lib/
ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro /var/tmp/ports/work/src/
glibc-2.3.4-20040701/glibc-build/csu/crt1.o /var/tmp/ports/work/src/
glibc-2.3.4-20040701/glibc-build/csu/crti.o `/usr/bin/gcc --print-file-
name=crtbegin.o` /var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-
build/iconv/iconvconfig.o /var/tmp/ports/work/src/glibc-2.3.4-20040701/
glibc-build/iconv/strtab.o /var/tmp/ports/work/src/glibc-2.3.4-20040701/
glibc-build/iconv/xmalloc.o /var/tmp/ports/work/src/glibc-2.3.4-
20040701/glibc-build/iconv/hash-string.o  -Wl,-rpath-link=/var/tmp/
ports/work/src/glibc-2.3.4-20040701/glibc-build:/var/tmp/ports/work/src/
glibc-2.3.4-20040701/glibc-build/math:/var/tmp/ports/work/src/glibc-
2.3.4-20040701/glibc-build/elf:/var/tmp/ports/work/src/glibc-2.3.4-
20040701/glibc-build/dlfcn:/var/tmp/ports/work/src/glibc-2.3.4-20040701/
glibc-build/nss:/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-
build/nis:/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/rt:/
var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/resolv:/var/tmp/
ports/work/src/glibc-2.3.4-20040701/glibc-build/crypt:/var/tmp/ports/
work/src/glibc-2.3.4-20040701/glibc-build/nptl /var/tmp/ports/work/src/
glibc-2.3.4-20040701/glibc-build/libc.so.6 /var/tmp/ports/work/src/
glibc-2.3.4-20040701/glibc-build/libc_nonshared.a -lgcc -lgcc_eh `/usr/
bin/gcc --print-file-name=crtend.o` /var/tmp/ports/work/src/glibc-2.3.4-
20040701/glibc-build/csu/crtn.o

/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/csu/crtn.o(.
init+0xf):/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/csu/
crtn.S:15: undefined reference to `.LC2'

/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/csu/crtn.o(.
fini+0xf):/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/csu/
crtn.S:15: undefined reference to `.LC3'

collect2: ld returned 1 exit status

make[2]: *** [/var/tmp/ports/work/src/glibc-2.3.4-20040701/glibc-build/
iconv/iconvconfig] Error 1

crtn.S
      1         .file   "initfini.c"
      2 #APP
      3
      4 #include "defs.h"
      5
      6 /*@HEADER_ENDS*/
      7 /*@_init_EPILOG_BEGINS*/
      8         .section .init
      9 #NO_APP
     10         movl    -24(%ebp), %eax
     11         cmpl    (%esi), %eax
     12         je      .L11
     13         subl    $8, %esp
     14         pushl   -24(%ebp)
     15         leal    .LC2 at GOTOFF(%ebx), %eax
     16         pushl   %eax
     17         call    __stack_smash_handler at PLT
     18         addl    $16, %esp
     19         .p2align 2,,3
     20 .L11:






More information about the lfs-support mailing list