This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: some warnings (from Gentoos build process)
- From: Andrew Haley <aph at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 17 Feb 2007 17:31:13 +0000
- Subject: Re: some warnings (from Gentoos build process)
- References: <20070217175634.535bbc91.h.mth@web.de>
Keith, most of these warnings are yours. Please fix them.
Thanks,
Andrew.
Hanno Meyer-Thurow writes:
> I get some warnings from Gentoos build process. Could be cool to get
> them fixed somewhen. Well, just in case someone is interested in fixing this.
>
> _____
> * QA Notice: The following files contain executable stacks
> * Files with executable stacks will not work properly (or at all!)
> * on some architectures/operating systems. A bug should be filed
> * at http://bugs.gentoo.org/ to make sure the file is fixed.
> * For more information, see http://hardened.gentoo.org/gnu-stack.xml
> * Please include this file in your report:
> * /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/temp/scanelf-execstack.log
> * RWX --- --- usr/lib/gcj-4.3.0_alpha20070216/lib64/libffi.so.4.0.1
> RWX --- --- usr/lib/gcj-4.3.0_alpha20070216/lib64/libgcj.so.9.0.0
>
> # cat /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/temp/scanelf-execstack.log
> !WX --- --- work/build/x86_64-unknown-linux-gnu/libffi/src/x86/.libs/sysv.o
> !WX --- --- work/build/x86_64-unknown-linux-gnu/libffi/src/x86/.libs/unix64.o
>
> May be it could be fixed like OpenOffice.org's execstack issue:
> http://qa.openoffice.org/issues/show_bug.cgi?id=70845
>
> _____
> * QA Notice: Package has poor programming practices which may compile
> * fine but exhibit random runtime failures.
> * /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/jvmti.cc:1002: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/jvmti.cc:1009: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/jvmti.cc:1016: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc:105: warning: dereferencing type-punned pointer will break strict-aliasing rules
>
> * QA Notice: Package has poor programming practices which may compile
> * fine but exhibit random runtime failures.
> * /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/classpath/native/fdlibm/dtoa.c:913: warning: incompatible implicit declaration of built-in function 'free'
> /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/classpath/native/fdlibm/dtoa.c:918: warning: incompatible implicit declaration of built-in function 'free'
>
>
> Regards,
> Hanno