[cfarm-users] gcc220 upgrade to OpenBSD 6.5?

Jonathan Wakely jwakely.gcc at gmail.com
Wed Jul 3 08:38:04 CEST 2019


On Wed, 3 Jul 2019, 06:56 Assaf Gordon via cfarm-users, <
cfarm-users at lists.tetaneutral.net> wrote:

> Hello,
>
> On 2019-07-02 10:19 p.m., Christian Jullien wrote:
> > Thank you for this upgrade but what about gcc?
>
> TL;DR
> gcc-8.3.0 is now available on gcc302 as:
>
>     /usr/local/bin/x86_64-unknown-openbsd6.5-gcc-8.3.0
>
> or simply as:
>
>     egcc
>
> >> From this page https://www.openbsd.org/65.html I read that
> >> available gcc should be "GCC 4.9.4 and 8.3.0" but the installed
> >> version is quite old
>
> > obsd$ which -a gcc
> > /usr/bin/gcc
> > obsd$ gcc -v
> > Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.5/4.2.1/specs
> > Target: amd64-unknown-openbsd6.5
> > Configured with: OpenBSD/amd64 system compiler
> > Thread model: posix
> > gcc version 4.2.1 20070719
> >
>
> Notice above that this old version of gcc-4.2.1 *was* upgraded to kernel
> 6.5 (see the "Target:" and the "Reading specs from").
>
> I'm no OpenBSD expert, but I believe that gcc-4.2.1 is the last gcc
> version which is bundled as 'native' package in core OpenBSD sets -
> because it was the last version released under GPLv2 (not sure about the
> terminology of packages/sets here, but I hope you get the gist).
>

That's right. The system GCC is still 4.2.1 and newer versions have to be
installed from the ports collection (and are patched to change the
libstdc++ SONAME).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20190703/a33b1f2d/attachment.html>


More information about the cfarm-users mailing list