pkgsrc-Bugs archive

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

Re: pkg/52356: lang/openjdk8 needs clang compiler



On Sun, Jul 02, 2017 at 08:25:01AM +0000, ben@pocket.services wrote:
> >Description:
> 	Compilation fails at 
> 
> /home/bjjl/current/pkgsrc/lang/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_zero/v
> m/os_bsd_zero.cpp:64:10: error: function returns address of local variable [-Werro
> r=return-local-addr]
>    return dummy;
>           ^
> /home/bjjl/current/pkgsrc/lang/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_zero/v
> m/os_bsd_zero.cpp:63:11: note: declared here
>    address dummy = (address) &dummy;

That should be using logic similar to the end of patch-bi.

Joerg


Home | Main Index | Thread Index | Old Index