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

building glibc 2.5 or glibc HEAD on gcc 4.2 on linux-ppc


Hello,

Can anyone try to build glibc 2.5 or glibc HEAD using recent gcc 4.2 snapshots 
on linux ppc 32bit to confirm the problem?

In my case:
gcc-4.2.0-0.20070207.1.ppc (version from ~ October 2006 was afaik OK)
binutils-2.17.50.0.12-1.ppc (tried 2.17.50.0.5, 0.7, 0.11, too)

[builder2@forge sunrpc]$ CPP='gcc -E -x c-header' 
gdb --args /home/users/builder2/libc/build/elf/ld.so.1 --library-path /home/users/builder2/libc/build:/home/users/builder2/libc/build/math:/home/users/builder2/libc/build/elf:/home/users/builder2/libc/build/dlfcn:/home/users/builder2/libc/build/nss:/home/users/builder2/libc/build/nis:/home/users/builder2/libc/build/rt:/home/users/builder2/libc/build/resolv:/home/users/builder2/libc/build/crypt:/home/users/builder2/libc/build/nptl /home/users/builder2/libc/build/sunrpc/rpcgen -Y ../scripts -c 
rpcsvc/bootparam_prot.x -o /home/users/builder2/libc/build/sunrpc/xbootparam_prot.T
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "ppc-pld-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting 
program: /home/users/builder2/libc/build/elf/ld.so.1 --library-path /home/users/builder2/libc/build:/home/users/builder2/libc/build/math:/home/users/builder2/libc/build/elf:/home/users/builder2/libc/build/dlfcn:/home/users/builder2/libc/build/nss:/home/users/builder2/libc/build/nis:/home/users/builder2/libc/build/rt:/home/users/builder2/libc/build/resolv:/home/users/builder2/libc/build/crypt:/home/users/builder2/libc/build/nptl /home/users/builder2/libc/build/sunrpc/rpcgen -Y ../scripts -c 
rpcsvc/bootparam_prot.x -o /home/users/builder2/libc/build/sunrpc/xbootparam_prot.T
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x0801778c in _start ()
(gdb) bt
#0  0x0801778c in _start ()
#1  0x08017778 in _start ()
Cannot access memory at address 0x0
(gdb) quit


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/


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