This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Re: evolution vs prelink on debian ppc sid


Jakub,
    I'm having problems getting your patch to build glibc. I get a
compile error...

gcc-3.2 dl-addr.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -pipe -Wa,-mppc -mpowerpc -mnew-mnemonics      -I../include -I. -I/home/howarth/debian-glibccvs/glibc-2.2.94/powerpc-linux/obj/elf -I.. -I../libio  -I/home/howarth/debian-glibccvs/glibc-2.2.94/powerpc-linux/obj -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc/powerpc32 -I../linuxthreads/sysdeps/powerpc -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I.!
./sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/powerpc-linux/3.2.1/include -isystem /usr/src/kernel-headers-2.4.20-pre7-ben0/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h      -o /home/howarth/debian-glibccvs/glibc-2.2.94/powerpc-linux/obj/elf/dl-addr.o
dl-addr.c: In function `_dl_addr':
dl-addr.c:87: warning: excess elements in scalar initializer
dl-addr.c:87: warning: (near initialization for `tags')


for the section...

      const static int tags = { DT_STRTAB, DT_JMPREL, DT_RELA, DT_REL, DT_HASH,
                          DT_INIT, DT_INIT_ARRAY, DT_FINI_ARRAY,
                          DT_PREINIT_ARRAY, ADDRIDX (DT_GNU_CONFLICT),
                          ADDRIDX (DT_GNU_LIBLIST), VERSYMIDX (DT_VERSYM),
                          VERSYMIDX (DT_VERDEF), VERSYMIDX (DT_VERNEED) };

...where I added the const as Roland suggested.
                                            Jack


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