What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

Brenton Horne

Hi,

I maintain Vim packages in my Open Build Service home project, for example here are the packaging files I use to build it for CentOS/Fedora/Scientific Linux https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I would like to build Vim for CentOS 5 and 6, but I cannot presently do this, because the build fails and I think the reason why is that GCC is too old. So I am here to ask what's the minimum version of GCC required to build the latest Vim (so 8.0) and are there any ways to build Vim with an older GCC? The build log (showing the error from building Vim on 64-bit CentOS 6) can be found here, if you're wondering whether it's a bug. 

Thanks for your time,
Brenton

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

Brenton Horne
Sorry, I just read about how it can't be in HTML. Here is the message
without HTML

Hi,

I maintain Vim packages in my Open Build Service home project, for
example here are the packaging files I use to build it for
CentOS/Fedora/Scientific Linux
https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
would like to build Vim for CentOS 5 and 6, but I cannot presently do
this, because the build fails and I think the reason why is that GCC
is too old. So I am here to ask what's the minimum version of GCC
required to build the latest Vim (so 8.0) and are there any ways to
build Vim with an older GCC? The build log (showing the error from
building Vim on 64-bit CentOS 6) can be found here
(https://build.opensuse.org/build/home:fusion809/CentOS_6/x86_64/vim/_log),
if you're wondering whether it's a bug.

Thanks for your time,
Brenton

On 9 January 2017 at 00:38, Brenton Horne <[hidden email]> wrote:

> Hi,
>
> I maintain Vim packages in my Open Build Service home project, for example
> here are the packaging files I use to build it for CentOS/Fedora/Scientific
> Linux https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
> would like to build Vim for CentOS 5 and 6, but I cannot presently do this,
> because the build fails and I think the reason why is that GCC is too old.
> So I am here to ask what's the minimum version of GCC required to build the
> latest Vim (so 8.0) and are there any ways to build Vim with an older GCC?
> The build log (showing the error from building Vim on 64-bit CentOS 6) can
> be found here, if you're wondering whether it's a bug.
>
> Thanks for your time,
> Brenton



--
Thanks for your time,
Brenton

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

Nikolay Aleksandrovich Pavlov
2017-01-08 17:40 GMT+03:00 Brenton Horne <[hidden email]>:

> Sorry, I just read about how it can't be in HTML. Here is the message
> without HTML
>
> Hi,
>
> I maintain Vim packages in my Open Build Service home project, for
> example here are the packaging files I use to build it for
> CentOS/Fedora/Scientific Linux
> https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
> would like to build Vim for CentOS 5 and 6, but I cannot presently do
> this, because the build fails and I think the reason why is that GCC
> is too old. So I am here to ask what's the minimum version of GCC
> required to build the latest Vim (so 8.0) and are there any ways to
> build Vim with an older GCC? The build log (showing the error from
> building Vim on 64-bit CentOS 6) can be found here
> (https://build.opensuse.org/build/home:fusion809/CentOS_6/x86_64/vim/_log),
> if you're wondering whether it's a bug.

This does not look like something that has something to do with GCC:
apart from “may be used uninitialized” warnings there are only
“undefined reference” errors which indicate that your system has no
(not true: configure found it) or incompatible (most likely outdated)
ncurses library. First try to supply to configure script something
other then --with-tlib=ncurses: search for tlibs in src/configure.ac
for a list, but guess better start with absent --with-tlib argument
and check whether automatic detection succeeds.

>
> Thanks for your time,
> Brenton
>
> On 9 January 2017 at 00:38, Brenton Horne <[hidden email]> wrote:
>> Hi,
>>
>> I maintain Vim packages in my Open Build Service home project, for example
>> here are the packaging files I use to build it for CentOS/Fedora/Scientific
>> Linux https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
>> would like to build Vim for CentOS 5 and 6, but I cannot presently do this,
>> because the build fails and I think the reason why is that GCC is too old.
>> So I am here to ask what's the minimum version of GCC required to build the
>> latest Vim (so 8.0) and are there any ways to build Vim with an older GCC?
>> The build log (showing the error from building Vim on 64-bit CentOS 6) can
>> be found here, if you're wondering whether it's a bug.
>>
>> Thanks for your time,
>> Brenton
>
>
>
> --
> Thanks for your time,
> Brenton
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

Bram Moolenaar
In reply to this post by Brenton Horne

Brenton Horne wrote:

> I maintain Vim packages in my Open Build Service home project, for example
> here are the packaging files I use to build it for CentOS/Fedora/Scientific
> Linux https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I
> would like to build Vim for CentOS 5 and 6, but I cannot presently do this,
> because the build fails and I think the reason why is that GCC is too old.
> So I am here to ask what's the minimum version of GCC required to build the
> latest Vim (so 8.0) and are there any ways to build Vim with an older GCC?
> The build log (showing the error from building Vim on 64-bit CentOS 6) can
> be found here
> <https://build.opensuse.org/build/home:fusion809/CentOS_6/x86_64/vim/_log>,
> if you're wondering whether it's a bug.

Vim should build with old versions of GCC without a problem.
It's actually newer versions that could be a problem, especially early
minor releases of a major release.  These quite often have quirks or
bugs.

--
hundred-and-one symptoms of being an internet addict:
227. You sleep next to your monitor.  Or on top of it.

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC?

Ben Fritz
In reply to this post by Brenton Horne
On Sunday, January 8, 2017 at 8:38:15 AM UTC-6, Brenton Horne wrote:
> Hi,
> I maintain Vim packages in my Open Build Service home project, for example here are the packaging files I use to build it for CentOS/Fedora/Scientific Linux https://build.opensuse.org/package/show/home:fusion809/vim-redhat. I would like to build Vim for CentOS 5 and 6, but I cannot presently do this, because the build fails and I think the reason why is that GCC is too old. So I am here to ask what's the minimum version of GCC required to build the latest Vim (so 8.0) and are there any ways to build Vim with an older GCC? The build log (showing the error from building Vim on 64-bit CentOS 6) can be found here, if you're wondering whether it's a bug. 
> Thanks for your time,
> Brenton

I don't know what the oldest is, but I currently build Vim successfully on an old Solaris server using gcc 2.95.2, which according to https://gcc.gnu.org/releases.html is from 1999 (almost 20 years old)! I'm not sure whether you're trying to go older than that, but I'd expect old compilers to work fine in general terms. :-)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...