This is the mail archive of the libc-alpha@cygnus.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]

Problem building 2.0.111.. bug?


This is building glibc 2.0.111 (despite the dir name), with egcs 1.1.1,
and -fomit-frame-pointer.  Without the flag, it build successfully but I
get all sort of weird errors (ecc wont compile a simple main(){return 0;}
Running library is 2.0.106, under linux-2.2.0-pre9.

Any pointers of where could be the problem?  Same happened with 2.0.110,
and I think also with 2.0.109 (please CC)

ecc -nostdlib -nostartfiles -o
/root/build/glibc-2.0.109/obj/sunrpc/rpcinfo
-Wl,-dynamic-linker=/usr/glibc/lib/ld-linux.so.2
/root/build/glibc-2.0.109/obj/csu/crt1.o
/root/build/glibc-2.0.109/obj/csu/crti.o `ecc
--print-file-name=crtbegin.o`
/root/build/glibc-2.0.109/obj/sunrpc/rpcinfo.o
-Wl,-rpath-link=/root/build/glibc-2.0.109/obj:/root/build/glibc-2.0.109/obj/math:/root/build/glibc-2.0.109/obj/elf:/root/build/glibc-2.0.109/obj/nss:/root/build/glibc-2.0.109/obj/nis:/root/build/glibc-2.0.109/obj/db2:/root/build/glibc-2.0.109/obj/rt:/root/build/glibc-2.0.109/obj/resolv:/root/build/glibc-2.0.109/obj/linuxthreads
/root/build/glibc-2.0.109/obj/libc.so.6
/root/build/glibc-2.0.109/obj/libc_nonshared.a -lgcc `ecc
--print-file-name=crtend.o` /root/build/glibc-2.0.109/obj/csu/crtn.o
/root/build/glibc-2.0.109/obj/elf/ld-linux.so.2 --library-path
/root/build/glibc-2.0.109/obj:/root/build/glibc-2.0.109/obj/math:/root/build/glibc-2.0.109/obj/elf:/root/build/glibc-2.0.109/obj/nss:/root/build/glibc-2.0.109/obj/nis:/root/build/glibc-2.0.109/obj/db2:/root/build/glibc-2.0.109/obj/rt:/root/build/glibc-2.0.109/obj/resolv:/root/build/glibc-2.0.109/obj/linuxthreads
/root/build/glibc-2.0.109/obj/sunrpc/rpcgen -Y `ecc -print-file-name=cpp |
sed "s|/cpp$||"` \
              -c rpcsvc/bootparam.x -o
/root/build/glibc-2.0.109/obj/sunrpc/xbootparam.T
/root/build/glibc-2.0.109/obj/sunrpc/rpcgen: žV: make[2]: ***
[/root/build/glibc-2.0.109/obj/sunrpc/xbootparam.stmp] Segmentation fault
make[2]: Leaving directory `/root/build/glibc-2.0.109/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/root/build/glibc-2.0.109'
make: *** [all] Error 2

lightside:~/build/glibc-2.0.109/obj/elf# ./ld-linux.so.2 --library-path ..
/bin/ls
/bin/ls: žV: Segmentation fault

lightside:~/build/glibc-2.0.109/obj/elf# gdb ./ld-linux.so.2
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.15.1 (i486-slackware-linux), Copyright 1995 Free Software
Foundation, Inc...
(gdb) set args --library-path .. /bin/ls
(gdb) run
Starting program: /root/build/glibc-2.0.109/obj/elf/./ld-linux.so.2
--library-path .. /bin/ls
/bin/ls: žV:
Program received signal SIGSEGV, Segmentation fault.
0x2aab532c in _dl_pagesize ()

and

        libc.so.6 => /usr/glibc/lib/libc.so.6 (0x4001a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
 
-- 
____/|  Ragnar Hojland  (ragnar@lightside.ddns.org)      Fingerprint  94C4B
\ o.O|                                                   2F0D27DE025BE2302C
 =(_)=  "Thou shalt not follow the NULL pointer for      104B78C56 B72F0822
   U     chaos and madness await thee at its end."       hkp://keys.pgp.com



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