helpGCC Compile Farm - Support: sr #2812, gcc/g++ >= 4.2 on gcc64

Show feedback again

sr #2812: gcc/g++ >= 4.2 on gcc64

Submitted by:  Paul Zimmermann <zimmerma>
Submitted on:  Tue 18 Oct 2011 08:47:43 AM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: Postponed
Privacy: PublicAssigned to: Laurent GUERBY <guerby>
Open/Closed: ClosedOperating System: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sun 28 Jul 2013 08:08:25 PM UTC, comment #10:

Agreed. Changed status to 'Postponed'. Could be re-opened if there's a sparc64 machine running gcc available again in the farm in the future.

Matthieu Herrb <mattthieu>
Project Member
Sun 28 Jul 2013 10:39:45 AM UTC, comment #9:

Now that gcc64 is definitely shutdown (read <>), this issue related to gcc64 can probably be closed.

Julien √ČLIE <iulius>
Project Administrator
Sun 29 Jan 2012 09:59:50 AM UTC, comment #8:

Upgrade is done.

The base compiler in OpenBSD 5.0 is gcc 4.1.2. gcc 4.2.4 is installed from packages in /usr/local/bin/

Matthieu Herrb <mattthieu>
Project Member
Tue 24 Jan 2012 09:47:05 PM UTC, comment #7:

Upgrade to OpenBSD 5.0 planned. See

Matthieu Herrb <mattthieu>
Project Member
Sat 21 Jan 2012 09:59:44 PM UTC, comment #6:

Egcc? Why not gcc?
OTOH I'd prefer to use a cross-compiler hosted on some esiee machine like deluxe (gcc62) for the reason that the memory consumption of the native cc1 may easily reach RLIMIT_DATA, which is equal to 512MB for regular users (this limit is perfect, so I'm not asking to extend it).


Fri 13 Jan 2012 07:54:18 PM UTC, comment #5:

Trying to use egcc when building GCC 4.6.2 on gcc64 leads to:

../../gcc-core-4.6.2-src/lto-plugin/lto-plugin.c: In function 'exec_lto_wrapper':
../../gcc-core-4.6.2-src/lto-plugin/lto-plugin.c:525: warning: missing sentinel in function call
make[4]: *** [lto-plugin.lo] Error 1

Julien √ČLIE <iulius>
Project Administrator
Thu 12 Jan 2012 09:05:15 PM UTC, comment #4:

Since OpenBSD 4.9, the system compiler on sparc64 is gcc 4.2.1
I'd recommend upgrading to OpenBSD 5.0 (or to a pre-5.1 snapshot) and I can help with that.

Matthieu Herrb <mattthieu>
Project Member
Tue 29 Nov 2011 06:20:11 PM UTC, comment #3:

If gcc-4.2 is sufficient, then use egcc, eg++ etc. - OpenBSD provides a non-system compiler with the "e" prefix. Speaking of libstdc++, please note, I configure gcc (and its dependencies) using --disable-shared, everything should work.


Tue 18 Oct 2011 09:38:57 AM UTC, comment #2:

Also see:

Laurent GUERBY <guerby>
Project AdministratorIn charge of this item.
Tue 18 Oct 2011 09:38:13 AM UTC, comment #1:

I'm not familiar with OpenBSD, I will try to compile a more recent GCC but I have little free time in the next few weeks so I cannot promise anything fast.

Laurent GUERBY <guerby>
Project AdministratorIn charge of this item.
Tue 18 Oct 2011 08:47:43 AM UTC, original submission:

I need gcc/g++ >= 4.2 on gcc64. There is GCC/G++ 4.6 in
/home/mik/misc/gcc-4.6/bin but the corresponding libstdc++ is missing.

The goal is to compile cmake 2.8.6, which requires G++ >= 4.2:

CMake Error at CMakeLists.txt:407 (MESSAGE):
GXX 3.3 on OpenBSD is known to cause CPack to Crash.

Please use GXX 4.2 or greater to build CMake on OpenBSD

/usr/bin/g++ version is: 3.3.5

Paul Zimmermann

Paul Zimmermann <zimmerma>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by iulius (Posted a comment)
  • -unavailable- added by mattthieu (Posted a comment)
  • -unavailable- added by guerby (Posted a comment)
  • -unavailable- added by zimmerma (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Jul 2013 08:08:25 PM UTCmattthieuStatusIn Progress=>Postponed
    Tue 18 Oct 2011 09:38:13 AM UTCguerbyStatusNone=>In Progress
      Assigned toNone=>guerby
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup