FreeBSD Bugzilla – Attachment 209577 Details for
Bug 242343
devel/glog: fix build on powerpc64 elfv2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
glog.patch (text/plain), 2.42 KB, created by
Piotr Kubaj
on 2019-12-01 19:26:20 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-12-01 19:26:20 UTC
Size:
2.42 KB
patch
obsolete
>Index: files/patch-m4_pc__from__ucontext.m4 >=================================================================== >--- files/patch-m4_pc__from__ucontext.m4 (nonexistent) >+++ files/patch-m4_pc__from__ucontext.m4 (working copy) >@@ -0,0 +1,10 @@ >+--- m4/pc_from_ucontext.m4.orig 2019-09-01 20:36:55 UTC >++++ m4/pc_from_ucontext.m4 >+@@ -21,6 +21,7 @@ AC_DEFUN([AC_PC_FROM_UCONTEXT], >+ pc_fields="$pc_fields uc_mcontext.gregs[[R15]]" # Linux (arm old [untested]) >+ pc_fields="$pc_fields uc_mcontext.arm_pc" # Linux (arm new [untested]) >+ pc_fields="$pc_fields uc_mcontext.mc_eip" # FreeBSD (i386) >++ pc_fields="$pc_fields uc_mcontext.mc_srr0" # FreeBSD (powerpc, powerpc64) >+ pc_fields="$pc_fields uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested]) >+ pc_fields="$pc_fields uc_mcontext.__gregs[[_REG_EIP]]" # NetBSD (i386) >+ pc_fields="$pc_fields uc_mcontext.__gregs[[_REG_RIP]]" # NetBSD (x86_64) > >Property changes on: files/patch-m4_pc__from__ucontext.m4 >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_stacktrace__powerpc-inl.h >=================================================================== >--- files/patch-src_stacktrace__powerpc-inl.h (nonexistent) >+++ files/patch-src_stacktrace__powerpc-inl.h (working copy) >@@ -0,0 +1,11 @@ >+--- src/stacktrace_powerpc-inl.h.orig 2019-12-01 18:35:43 UTC >++++ src/stacktrace_powerpc-inl.h >+@@ -107,7 +107,7 @@ int GetStackTrace(void** result, int max_depth, int sk >+ // Link Register is. For DARWIN and AIX (used by apple and >+ // linux ppc64), it's in sp[2]. For SYSV (used by linux ppc), >+ // it's in sp[1]. >+-#if defined(_CALL_AIX) || defined(_CALL_DARWIN) >++#if defined(_CALL_AIX) || defined(_CALL_DARWIN) || defined(_CALL_ELF) >+ result[n++] = *(sp+2); >+ #elif defined(_CALL_SYSV) >+ result[n++] = *(sp+1); > >Property changes on: files/patch-src_stacktrace__powerpc-inl.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pkubaj
:
maintainer-approval?
(
sunpoet
)
Actions:
View
|
Diff
Attachments on
bug 242343
: 209577