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
>Organization:
	
>Environment:
	
	
System: NetBSD hermes.lorenz.place 8.99.1 NetBSD 8.99.1 (RPI2) #1: Sat Jul 1 14:10:03 CEST 2017 bjjl@hermes.lorenz.place:/home/bjjl/obj/sys/arch/evbarm/compile/RPI2 evbarm
Architecture: earmv7hf
Machine: evbarm
>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;
           ^
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.
>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index