pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/openjdk7



From: "Thomas Klausner" <wiz%netbsd.org@localhost>, Date: Mon, 17 Feb 2014 
23:16:16 +0000

> Module Name:  pkgsrc
> Committed By: wiz
> Date:         Mon Feb 17 23:16:16 UTC 2014
> 
> Modified Files:
>       pkgsrc/lang/openjdk7: Makefile
> 
> Log Message:
> Remove -fcheck-new and -fpch-deps flags for all compilers, not only
> clang. Requested by joerg.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.61 -r1.62 pkgsrc/lang/openjdk7/Makefile

Hi,

Is this commit tested?

I have gotten the following errors, and I cannot build openjdk7
under NetBSD/amd64 6.99.32 and GCC 4.5.4 anymore.

I will revert this.

Thank you.


IBPATH=\"/usr/pkg/lib/jni:/usr/pkg/lib:/lib:/usr/lib\" -c -fpch-deps -MMD -MP -M
F ../generated/dependencies/allocation.o.d -o allocation.o /usr/tmp/pkgsrc/lang/
openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocation.cpp
cc1plus: warnings being treated as errors
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp: In static member function 'static void* StackObj::operator new(size_t)':
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp:49:74: error: 'operator new' must not return NULL unless it is declared 't
hrow()' (or -fcheck-new is in effect)
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp: In static member function 'static void* _ValueObj::operator new(size_t)':
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp:51:75: error: 'operator new' must not return NULL unless it is declared 't
hrow()' (or -fcheck-new is in effect)
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp: In static member function 'static void* Arena::operator new(size_t)':
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp:417:10: error: 'operator new' must not return NULL unless it is declared '
throw()' (or -fcheck-new is in effect)
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp: In static member function 'static void* Arena::operator new(size_t, const
 std::nothrow_t&)':
/usr/tmp/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocatio
n.cpp:422:10: error: 'operator new' must not return NULL unless it is declared '
throw()' (or -fcheck-new is in effect)


--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index