On 07/24/2013 04:11 PM, Helio Frota wrote: > Hi, > > I got the same problem with GCC 4.8.1 and Manjaro distribution ( distro > son of archlinux ) > > Generating precompiled header precompiled.hpp.gch > cc1plus: error: the "stabs" debug format cannot be used with > pre-compiled headers [-Werror=deprecated] > cc1plus: all warnings being treated as errors > gmake[6]: *** [precompiled.hpp.gch] Error 1 > gmake[5]: *** [the_vm] Error 2 > gmake[4]: *** [product] Error 2 > gmake[3]: *** [generic_build2] Error 2 > gmake[2]: *** [product] Error 2 > gmake[1]: *** > [/home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/hotspot/_hotspot.timestamp] > Error 2 > make: *** [hotspot-only] Error 2
from hotspot/make/linux/makefiles/gcc.make: # DEBUG_BINARIES uses full -g debug information for all configs ifeq ($(DEBUG_BINARIES), true) CFLAGS += -g else # Use the stabs format for debugging information (this is the default # on gcc-2.91). It's good enough, has all the information about line # numbers and local variables, and libjvm.so is only about 16M. # Change this back to "-g" if you want the most expressive format. # (warning: that could easily inflate libjvm.so to 150M!) The only problem is that modern gcc versions don't produce stabs either. Try: $ make DEBUG_BINARIES=true all Cheers, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681