pkgsrc-Bugs archive

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

pkg/52356: lang/openjdk8 needs clang compiler

>Number:         52356
>Category:       pkg
>Synopsis:       lang/openjdk8 needs clang compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 02 08:25:00 +0000 2017
>Originator:     Benjamin Lorenz
>Release:        NetBSD 8.99.1
System: NetBSD 8.99.1 NetBSD 8.99.1 (RPI2) #1: Sat Jul 1 14:10:03 CEST 2017 evbarm
Architecture: earmv7hf
Machine: evbarm
	Compilation fails at 

m/os_bsd_zero.cpp:64:10: error: function returns address of local variable [-Werro
   return dummy;
m/os_bsd_zero.cpp:63:11: note: declared here
   address dummy = (address) &dummy;
cc1plus: all warnings being treated as errors
make[6]: *** [os_bsd_zero.o] Error 1

	Using clang from pkgsrc the package builds successfully.

	This holds for my RPI2, not sure about other platforms.


Home | Main Index | Thread Index | Old Index