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 And i did this one to solve : my web site: http://www.heliofrota.com/blog/2013/06/25/building-openjdk8-plus-gcc-4-dot-8-1-plus-manjaro-gnu-linux-x86/ Regards, Helio 2013/7/24 Helio Frota <heliofr...@gmail.com> > Hi, > > Configure "ok" > > > ==================================================== > A new configuration has been successfully created in > /home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release > using default settings. > > Configuration summary: > * Debug level: release > * JDK variant: normal > * JVM variants: server > * OpenJDK target: OS: linux, CPU architecture: x86, address length: 32 > > Tools summary: > * Boot JDK: java version "1.7.0_25" Java(TM) SE Runtime Environment > (build 1.7.0_25-b15) Java HotSpot(TM) Server VM (build 23.25-b01, mixed > mode) (at /home/hf/java/jdk) > * C Compiler: gcc (GCC) 4.8.1 20130603 (Red Hat-1) version 4.8.1-1) > (at /usr/bin/gcc) > * C++ Compiler: g++ (GCC) 4.8.1 20130603 (Red Hat-1) version 4.8.1-1) > (at /usr/bin/g++) > > Build performance summary: > * Cores to use: 3 > * Memory limit: 3449 MB > * ccache status: not installed (consider installing) > > Build performance tip: ccache gives a tremendous speedup for C++ > recompilations. > You do not have ccache installed. Try installing it. > You might be able to fix this by running 'sudo yum install ccache'. > > Going to build with make all > > Regards, > Helio > > > > > 2013/7/24 Helio Frota <heliofr...@gmail.com> > >> Hi Omair, >> >> Thanks for the tips ! >> >> About freetype: >> >> Just change to sudo yum install freetype-devel >> This solve the problem.. >> >> Going to validate the "alsa" now... >> >> Regards, >> Helio >> >> >> 2013/7/24 Omair Majid <oma...@redhat.com> >> >>> On 07/24/2013 03:44 PM, Helio Frota wrote: >>> > Hi, >>> > >>> > Another problem: >>> > >>> > configure: error: Could not find all X11 headers (shape.h Xrender.h >>> > XTest.h). You might be able to fix this by running 'sudo yum install >>> > libXtst-devel'. >>> > configure exiting with result code 1 >>> > >>> > I did this, but the error persists. >>> > >>> > Going to investigate... >>> > >>> >>> The package manager suggestions are very unlikely to be exactly right >>> for all versions of all distributions. You can follow the error message >>> to get better results and install the files it is complaining about. >>> >>> For example, using yum, you can ask to install the package that provides >>> this file (eg XTest.h) by name: >>> >>> # yum install '*/XTest.h' >>> >>> You should do the same for all other header file dependencies configure >>> complains about. >>> >>> If you are on Fedora 19, you can also get all the dependencies faster by >>> getting all the dependencies that java-1.8.0-openjdk (that's what the >>> OpenJDK 8 package is called in Fedora) declares: >>> >>> # yum-builddep java-1.8.0-openjdk >>> >>> This may not be as up-to-date as what configure expects, though. It >>> should be faster. >>> >>> Cheers, >>> Omair >>> >>> -- >>> PGP Key: 66484681 (http://pgp.mit.edu/) >>> Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 >>> >> >> >> >> -- >> Helio Frota >> JUG Leader - CEJUG >> http://www.cejug.org/ <http://www.linuxgames.com.br/> >> http://www.linkedin.com/in/heliofrota >> >> >> > > > -- > Helio Frota > JUG Leader - CEJUG > http://www.cejug.org/ <http://www.linuxgames.com.br/> > http://www.linkedin.com/in/heliofrota > > > -- Helio Frota JUG Leader - CEJUG http://www.cejug.org/ <http://www.linuxgames.com.br/> http://www.linkedin.com/in/heliofrota