This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [PATCH ppc] memset to 0 is broken on PPC405/440/464


On Tue, Sep 25, 2012 at 11:19:24AM -0500, Ryan S. Arnold wrote:
> Please check out and test my rsa/405memset branch for correctness on 405.

I'm going to say it looks OK, provisionally. The memset seems to be
working, but 2.19 is not running correctly for me (we are using 2.13
presently). I'm not sure if I will have time to investigate this or
not.

Symptom: All exec's segv immediately with no corefile, running
ld.so.1 directly works, running apps through ld.so.1 works:

$ /lib/ld.so.1 /app/bin/strace /app/bin/strace
execve("/app/bin/strace", ["/app/bin/strace"], [/* 3 vars */]) = -1
ENOMEM (Cannot allocate memory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
+++ killed by SIGSEGV +++

Special :)

Nothing stood out to me in the kernel, or in the elf construction as
an obvious 'duh' that would trigger only when loading ld.so through
the interpreter path, I'll let you know if I decide to track it down.

Regards,
Jason


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