Building GCC in C++

This page documents the testing plan and status of all the targets that should be tested with C++. This page is maintained by Diego Novillo ( dnovillo@google.com ).

If you have access to any of the targets mentioned in this page, and can spare a few machine cycles, you can help by testing your target in C++ mode. Setting the build in C++ mode is trivial:

$ svn co svn://gcc.gnu.org/svn/gcc/trunk

$ mkdir bld && cd bld && ../gcc/configure --enable-build-with-cxx [... plus any other configure flags for your target ...]

$ make

C++ Build Status

This table contains targets that should be tested in C++ mode. The target list was gathered from three sources:

  1. List of primary targets for GCC 4.8

  2. List of secondary targets for GCC 4.8

  3. List of all the targets that reported build results during 2011 (collected from the GCC test results mailing list archives.

The list is sorted by target popularity. I defined popularity based on the number of postings made to gcc-testresults@gcc.gnu.org during all of 2011. It is an imperfect metric, but it captures the commonly built and reported targets.

How to work with this list:

  1. To claim a target, simply write down your name in the 'Tester' column.
  2. Once your target is built:
    1. Write PASS or FAIL in the 'Status' column.
    2. Send mail to gcc@gcc.gnu.org and dnovillo@google.com describing the results you obtained or simply write them down in the 'Notes' column.

  3. If you find a bug during the build, please file it in Bugzilla and add it as a dependency to the meta-bug 44433.

The criteria for switching the default to C++ is:

  1. All the primary targets work.
  2. All the secondary targets work.
  3. Targets with a popularity index larger than 0.01% work.

If you have access to a target not referenced in this table, feel free to add it and post results here.

Target

Status

Tester

Popularity (%)

Notes

Primary targets

i686-pc-linux-gnu

PASS

dnovillo@google.com

29.83%

x86_64-unknown-linux-gnu

PASS

dnovillo@google.com

27.60%

arm-linux-gnueabi

PASS

Ramana Radhakrishnan

3.81%

powerpc64-unknown-linux-gnu

PASS

dnovillo@google.com

2.05%

sparc-sun-solaris2.10

PASS

Rainer Orth

1.38%

Fails with CC prior to 12.3 (http://gcc.gnu.org/ml/gcc/2012-04/msg00344.html)

i386-unknown-freebsd

PASS

gerald@pfeifer.com

0.87%

mipsisa64-elf

PASS

dnovillo@google.com

0.00%

Target currently broken due to VTA issues. This target is not really used. Most important mips target is mipsisa64-unknown-linux-gnu, which works fine.

Secondary targets

hppa2.0w-hp-hpux11.11

0.71%

powerpc-ibm-aix5.3.0.0

PASS

dje.gcc@gmail.com

0.18%

G++ PASS, xlC FAIL

i686-apple-darwin

PASS

fxcoudert@gmail.com

0.19%

i686-apple-darwin11 passes with Apple's gcc-4.2 and Apple's clang-3.1

i686-pc-cygwin

PASS

Dave Korn

0.02%

~20% increase in wall time

i686-mingw32

PASS

Aaron Gray

0.01%

s390x-linux-gnu

PASS

Andreas Krebbel

4.32%

r186244

Targets reported to gcc-testresults@gcc.gnu.org in 2011

powerpc-apple-darwin9

PASS

Denis Excoffier

1.84%

using gcc-4.8-20120826 under Apple's gcc-4.0.1 (Xcode 3.1.4)

s390-ibm-linux-gnu (z10)

PASS

Andreas Krebbel

1.23%

r186244

s390-ibm-linux-gnu (default)

PASS

Andreas Krebbel

1.23%

r186244

s390-ibm-linux-gnu (z196)

PASS

Andreas Krebbel

1.15%

r186244

mips-unknown-elf

PASS

dnovillo@google.com

1.12%

Assumed to be working because main mips variant (mips64-unknown-linux-gnu) works fine.

m32r-unknown-elf

1.05%

avr-unknown-none

1.04%

x86_64-suse-linux-gnu

0.96%

mmix-knuth-mmixware

PASS

Hans-Peter Nilsson

0.94%

r188349, host g++ 4.4.5-8, Debian x86_64

x86_64-unknown-freebsd8.2

0.94%

i386-pc-solaris2.11

PASS

Rainer Orth

0.83%

i386-pc-solaris2.10

PASS

Rainer Orth

0.81%

ia64-hp-hpux11.23

0.77%

i386-pc-solaris2.9

PASS

Rainer Orth

0.75%

s390-ibm-linux-gnu

PASS

Andreas Krebbel

0.70%

r186244

cris-axis-elf

PASS

Hans-Peter Nilsson

0.69%

r188349 + c188362, host g++ 4.4.3-4, Fedora 12 x86_64

m32c-unknown-elf

0.67%

sparc-sun-solaris2.9

PASS

Rainer Orth

0.64%

hppa64-hp-hpux11.11

0.63%

ia64-linux-gnu

PASS

dnovillo@google.com

1.34%

Grouped ia64-suse-linux-gnu, ia64-debian-linux-gnu, ia64-unknown-linux-gnu and ia64-redhat-linux-gnu

hppa-unknown-linux-gnu

0.59%

sparc64-unknown-linux-gnu

0.52%

sh4-unknown-linux-gnu

PASS

Kaz Kojima

0.48%

Both x86 cross on Fedora 13 and native on sh4-linux

spu-unknown-elf

0.46%

mn10300-unknown-elf

0.45%

m68k-unknown-linux-gnu

0.40%

sparc-unknown-elf

0.36%

m68k-unknown-elf

0.23%

moxie-unknown-elf

0.22%

v850-unknown-elf

0.20%

sh-unknown-elf

PASS

olegendo@gcc.gnu.org

0.18%

Host i686-linux-gnu gcc version 4.5.2

mips64el-unknown-linux-gnu

PASS

dnovillo@google.com

0.17%

Assumed to be working because main mips variant (mips64-unknown-linux-gnu) works fine.

alphaev68-unknown-linux-gnu

PASS

Uros Bizjak

0.16%

Host gcc version 4.5.3.

arm-none-eabi

0.16%

x86_64-pc-linux-gnu

0.15%

hppa2.0-unknown-linux-gnu

0.14%

i486-pc-linux-gnu

0.13%

sparc-unknown-linux-gnu

0.12%

x86_64-apple-darwin10

PASS

pkoning@gcc.gnu.org

0.19%

powerpc-unknown-linux-gnu

0.11%

powerpc-unknown-eabisim

0.10%

x86_64-pc-kfreebsd-gnu

0.08%

i486-pc-kfreebsd-gnu

0.08%

hppa2.0w-hp-hpux11.00

0.08%

*-rtems4*

PASS

Ralf Corsepius

0.34%

http://gcc.gnu.org/ml/gcc/2012-04/msg00507.html

mips-unknown-linux-gnu

PASS

dnovillo@google.com

0.07%

Assumed to be working because main mips variant (mips64-unknown-linux-gnu) works fine.

alphaev6-unknown-linux-gnu

0.07%

xtensa-unknown-elf

PASS

weath@tensilica.com

0.07%

Host 64-bit linux GCC 4.6.3

picochip-unknown-none

0.06%

hppa64-hp-hpux11.00

0.06%

mipsel-unknown-linux-gnu

PASS

dnovillo@google.com

0.06%

hppa1.1-hp-hpux10.20

0.03%

alpha-unknown-linux-gnu

0.03%

x86_64-redhat-linux-gnu

0.03%

sparcv9-sun-solaris2.11

PASS

Rainer Orth

0.02%

x86_64-pc-solaris2.11

PASS

Rainer Orth

0.02%

powerpc-apple-darwin8

0.02%

mips64-unknown-linux-gnu

PASS

Richard Sandiford

0.02%

x86_64-linux-gnu host with trunk GCC, --enable-werror

score-unknown-elf

0.02%

x86_64-unknown-freebsd10.0

PASS

Andreas Tobler

0.01%

x86_64-pc-solaris2.10

PASS

Rainer Orth

0.01%

powerpc-unknown-freebsd9.0

PASS

Andreas Tobler

0.01%

Build time increase of 60%

powerpc-ibm-aix6.1.0.0

0.01%

i386-pc-mingw32

PASS

Aaron Gray

0.01%

sparcv9-sun-solaris2.10

PASS

Rainer Orth

0.01%

x86_64-apple-darwin11

PASS

fxcoudert@gmail.com

0.01%

passes with Apple's gcc-4.2 and Apple's clang-3.1

sparc64-sun-solaris2.9

PASS

Rainer Orth

0.01%

arm-unknown-linux-gnueabihf

0.01%

sh4a-unknown-linux-gnu

0.01%

powerpc64-unknown-freebsd9.0

PASS

Andreas Tobler

0.01%

x86_64-unknown-netbsd5.1

0.01%

alpha64-dec-openvms

FAIL

Tristan Gingold

0.00%

Trigger bugs in GAS

ia64-hp-openvms

PASS

Tristan Gingold

0.00%

(Need patches) Build time increase

pdp11-aout

PASS

pkoning@gcc.gnu.org

0.00%

i686-pc-gnu

PASS

tschwinge

-

http://gcc.gnu.org/ml/gcc/2012-06/msg00107.html

None: CppBuildStatus (last edited 2012-09-02 20:15:11 by 78)