pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48693: openjdk7 does not build with clang-3.5trunk201163 from NetBSD base
>Number: 48693
>Category: pkg
>Synopsis: openjdk7 does not build with clang-3.5trunk201163 from NetBSD
>base
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 31 08:55:00 +0000 2014
>Originator: Thomas Klausner
>Release: NetBSD 6.99.39
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
The build of openjdk7 with clang from NetBSD-current (6.99.39/amd64) stops with
In file included from
/disk/3/archive/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/precompiled/precompiled.hpp:36:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/ci/ciConstant.hpp:29:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/ci/ciNullObject.hpp:30:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/ci/ciUtilities.hpp:28:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/ci/ciEnv.hpp:30:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/classfile/systemDictionary.hpp:29:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/classfile/classLoader.hpp:28:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/classfile/classFileParser.hpp:29:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/memory/resourceArea.hpp:39:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/os/bsd/vm/thread_bsd.inline.hpp:30:
In file included from
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/runtime/thread.hpp:44:
/usr/obj/lang/openjdk7/work.x86_64/openjdk/hotspot/src/share/vm/services/memRecorder.hpp:64:5:
error: 'operator new' should not return a null pointer unless it is declared
'throw()' [-Werror,-Wnew-returns-null]
return NULL;
^
1 error generated.
Setting MAKE_JOBS_SAFE=no does not help.
>How-To-Repeat:
Compile NetBSD with clang, set:
PKGSRC_COMPILER= clang
CLANGBASE= /usr
HAVE_LLVM= yes
in your /etc/mk.conf and build lang/openjdk7.
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index