All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Glibc cvs: ld segmentation fault
@ 2002-06-13  9:53 joel.soete
  2002-06-13 17:04 ` John David Anglin
  0 siblings, 1 reply; 3+ messages in thread
From: joel.soete @ 2002-06-13  9:53 UTC (permalink / raw)
  To: John David Anglin; +Cc: parisc-linux

Hi Dave,

To compile toolchaine with gcc-3.2, I also try cvs glibc.

I also apply your "patch glibc-2.2.5 for gcc-3.2"

After applying similar patch to "sysdeps/hppa/dl-machine.h", I always got ld
segmetation fault:

/Develop/parisc-linux/build/glibc/elf/ld.so.1 --library-path
/Develop/parisc-linux/build/glibc:/Develop/parisc-linux/build/glibc/math:/Develop/parisc-linux/build/glibc/elf:/Develop/parisc-linux/build/glibc/dlfcn:/Develop/parisc-linux/build/glibc/nss:/Develop/parisc-linux/build/glibc/nis:/Develop/parisc-linux/build/glibc/rt:/Develop/parisc-linux/build/glibc/resolv:/Develop/parisc-linux/build/glibc/crypt:/Develop/parisc-linux/build/glibc/linuxthreads
/Develop/parisc-linux/build/glibc/sunrpc/rpcgen -Y ../scripts -c
rpcsvc/bootparam_prot.x -o
/Develop/parisc-linux/build/glibc/sunrpc/xbootparam_prot.T
make[2]: *** [/Develop/parisc-linux/build/glibc/sunrpc/xbootparam_prot.stmp]
Segmentation fault
make[2]: Leaving directory `/Develop/parisc-linux/src/glibc/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/Develop/parisc-linux/src/glibc'
make: *** [all] Error 2

### Thu Jun 13 09:12:24 2002 ###


Don't you have additional advice?

Thanks in advance,
    Joel

PS: I got the same result whatever the env I choose:

unset LD_LIBRARY_PATH
unset LD_RUN_PATH

or

export LD_LIBRARY_PATH=$DEST/lib
export LD_RUN_PATH=$DEST/bin


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Glibc cvs: ld segmentation fault
  2002-06-13  9:53 [parisc-linux] Glibc cvs: ld segmentation fault joel.soete
@ 2002-06-13 17:04 ` John David Anglin
  2002-06-14  5:27   ` joel.soete
  0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2002-06-13 17:04 UTC (permalink / raw)
  To: joel.soete; +Cc: parisc-linux

> Don't you have additional advice?

Did you start with the debian version of glibc?  I have built 2.2.5-6
with 3.2 and am using it.  It's possible you need to update binutils.
Some linux versions also seem to have a tendency to cause random
segfaults.

Since I don't think I can duplicate your environment, you will have
to run ld under gdb to find out where it's segfaulting and get some
sense as to what's causing the problem.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Glibc cvs: ld segmentation fault
  2002-06-13 17:04 ` John David Anglin
@ 2002-06-14  5:27   ` joel.soete
  0 siblings, 0 replies; 3+ messages in thread
From: joel.soete @ 2002-06-14  5:27 UTC (permalink / raw)
  To: John David Anglin; +Cc: joel.soete, parisc-linux

Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:

> > Don't you have additional advice?
> 
> Did you start with the debian version of glibc?  I have built 2.2.5-6
> with 3.2 and am using it.  It's possible you need to update binutils.
> Some linux versions also seem to have a tendency to cause random
> segfaults.
> 
> Since I don't think I can duplicate your environment, you will have
> to run ld under gdb to find out where it's segfaulting and get some
> sense as to what's causing the problem.

Dave,

Thanks a lot.
As my first object (right now) is to help to understand why linux crash with
network connection  when compile with gcc-3.[12], I will also work with glibc-2.2.5.

Joel


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-14  5:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-13  9:53 [parisc-linux] Glibc cvs: ld segmentation fault joel.soete
2002-06-13 17:04 ` John David Anglin
2002-06-14  5:27   ` joel.soete

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.