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 Oct 18 08:47:43 2011  
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 Jul 28 20:08:25 2013, 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 Jul 28 10:39:45 2013, comment #9:

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

Julien √ČLIE <iulius>
Project Administrator
Sun Jan 29 09:59:50 2012, 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 Jan 24 21:47:05 2012, comment #7:

Upgrade to OpenBSD 5.0 planned. See

Matthieu Herrb <mattthieu>
Project Member
Sat Jan 21 21:59:44 2012, 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 Jan 13 19:54:18 2012, 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 Jan 12 21:05:15 2012, 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 Nov 29 18:20:11 2011, 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 Oct 18 09:38:57 2011, comment #2:

Also see:

Laurent GUERBY <guerby>
Project AdministratorIn charge of this item.
Tue Oct 18 09:38:13 2011, 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 Oct 18 08:47:43 2011, 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 Jul 28 20:08:25 2013mattthieuStatusIn Progress=>Postponed
    Tue Oct 18 09:38:13 2011guerbyStatusNone=>In Progress
      Assigned toNone=>guerby
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup