RE: [PATCH] makedumpfile.h: fix build on sparc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
> Fix the following build failure on sparc64:
> 
> /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-bu
> ildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: /tmp/ccylTux8.o: in function
> `find_kaslr_offsets':
> /home/giuliobenetti/autobuild/run/instance-0/output-1/build/makedumpfile-1.6.8/makedumpfile.c:4017:
> undefined reference to `get_kaslr_offset'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/1421f54f7599bba62c0a4bd5c65ce21c8cc7ee1a
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@xxxxxxxxx>
> ---
>  makedumpfile.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/makedumpfile.h b/makedumpfile.h
> index 97a5554..dfc1a77 100644
> --- a/makedumpfile.h
> +++ b/makedumpfile.h
> @@ -1139,6 +1139,7 @@ unsigned long long vaddr_to_paddr_sparc64(unsigned long vaddr);
>  #define get_machdep_info()      TRUE
>  #define get_phys_base()         get_phys_base_sparc64()
>  #define get_versiondep_info()   get_versiondep_info_sparc64()
> +#define get_kaslr_offset(X)     stub_false()
>  #define vaddr_to_paddr(X)       vaddr_to_paddr_sparc64(X)
>  #define paddr_to_vaddr(X)	paddr_to_vaddr_general(X)
>  #define is_phys_addr(X)		stub_true_ul(X)
> --
> 2.29.2
> 

Thanks for the patch, applied.
https://github.com/makedumpfile/makedumpfile/commit/f8348d3efa53c14c73a8f05c495680b7af2a7fe6

Kazu



_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux