On 8/29/16 11:47 AM, Konstantin Belousov wrote:
> Author: kib
> Date: Mon Aug 29 18:47:51 2016
> New Revision: 305012
> URL: https://svnweb.freebsd.org/changeset/base/305012
> 
> Log:
>   Rewrite ptrace(2) wrappers in C.
>   Besides removing hand-translation to assembler, this also adds missing
>   wrappers for arm64 and risc-v.
>   
>   Reviewed by:        emaste, jhb
>   Sponsored by:       The FreeBSD Foundation
>   MFC after:  1 week
>   Differential revision:      https://reviews.freebsd.org/D7694
> 
> Added:
>   head/lib/libc/sys/ptrace.c   (contents, props changed)
> Deleted:
>   head/lib/libc/amd64/sys/ptrace.S
>   head/lib/libc/arm/sys/ptrace.S
>   head/lib/libc/i386/sys/ptrace.S
>   head/lib/libc/mips/sys/ptrace.S
>   head/lib/libc/powerpc/sys/ptrace.S
>   head/lib/libc/powerpc64/sys/ptrace.S
>   head/lib/libc/sparc64/sys/ptrace.S

There is a known bug with "FAST_DEPEND" (which is default and the only
way now) which may result in something like:

> cc: error: no such file or directory: '/usr/src/lib/libc/amd64/sys/ptrace.S'

I am working on a fix, but in the meantime a workaround is 'make
cleandepend', or removing the .depend.ptrace.* files in the lib/libc
object directories.



-- 
Regards,
Bryan Drewery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to