resios / lightweight-java-profiler

Automatically exported from code.google.com/p/lightweight-java-profiler
Apache License 2.0
0 stars 0 forks source link

build error on Red Hat Enterprise Linux Server release 5.7 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. svn chekcout code 
2. vi MAKE file change BITS?=32 to BITS?=64
3. make all

What is the expected output? What do you see instead?

cc1plus: error: unrecognized command line option "-Wframe-larger-than=16384"
cc1plus: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1plus: error: unrecognized command line option "-Wunused-but-set-parameter"
cc1plus: error: unrecognized command line option "-Wvla"
cc1plus: error: unrecognized command line option "-Wno-conversion-null"
cc1plus: error: unrecognized command line option "-Wno-builtin-macro-redefined"
cc1plus: error: unrecognized command line option "-Wno-strict-overflow"
cc1plus: error: unrecognized command line option "-std=gnu++0x"

gcc version 

Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --disable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic 
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)

Original issue reported on code.google.com by fuyou...@gmail.com on 30 Sep 2014 at 2:12

GoogleCodeExporter commented 8 years ago
One fix for this issue is to update the gcc version. ex: module load gcc/4.9.1

Original comment by ananttib...@gmail.com on 3 Aug 2015 at 8:50