pkgsrc-Users archive

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

Re: lang/openjdk8 build failure on ARM



On Thu, May 04, 2017 at 09:02:25PM +0100, Robert Swindells wrote:
> 
> Trying to build lang/openjdk8 on NetBSD/evbarm I get:
> 
> Compiling /u4/pkgsrc/lang/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
> /u4/pkgsrc/lang/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp: In static member function 'static u_char* os::current_stack_pointer()':
> /u4/pkgsrc/lang/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:64:10: error: function returns address of local variable [-Werror=return-local-addr]
>    return dummy;

Just guessing from the function name: it should be using
__builtin_frame_address or so. There should be patches for that in lang/
already.

Joerg


Home | Main Index | Thread Index | Old Index