ubuntu hardy/gcc-4.3 build errors with b40

Dalibor Topic Dalibor.Topic at Sun.COM
Wed Nov 26 18:04:28 UTC 2008

Douglas Felt wrote:
> I'm running into multiple errors trying to build openjdk 7 on ubuntu
> 8.10.  I downloaded the  sources from
> http://www.java.net/download/openjdk/jdk7/promoted/b40/openjdk-7-ea-src-b40-20_nov_2008.zip
> as listed on http://download.java.net/openjdk/jdk7/.
> The problem appears to be that gcc flags are configured to map
> warnings to errors, and gcc 4.3 is issuing some warnings in some of
> the hotspot files.  here's a sample (as I worked around one, I hit
> another, and another):
> Anyway, what should I do?
sudo aptitude install gcc-4.1 g++-4.1

make all CC=gcc-4.1 CPP=g++-4.1

dalibor topic

Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring

More information about the build-dev mailing list