Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC 4.9 #2

Closed
h-2 opened this issue Sep 22, 2016 · 8 comments
Closed

GCC 4.9 #2

h-2 opened this issue Sep 22, 2016 · 8 comments

Comments

@h-2
Copy link

h-2 commented Sep 22, 2016

Wow, this project is really something we have been looking for and much simpler than our current collection of outdated centos virtualbox images. It even has up to date cmake 👍

But, we do require at least GCC 4.9, because GCC 4.8 is broken for really many C++11 features. Do you have any plans on updating? I actually think quite a few projects require GCC>=4.9 now...

Thank you very much!

@FooBarWidget
Copy link
Member

Unfortunately this is not possible. We depend on RPMs for GCC. There are no GCC 4.9 RPMs for CentOS 5.

@truatpasteurdotfr
Copy link

gcc-4.9 from devtoolset-3 (for CentOS-6 and CentOS-7) is not available for CentOS-5, and CentOS-5 is going EOL very soon https://wiki.centos.org/About/Product and upstream https://access.redhat.com/support/policy/updates/errata.

@FooBarWidget
Copy link
Member

I understand. But I'm using CentOS 5 for the purpose of being able to compile against an old glibc. I guess that we are fast approaching the point where I can abandon CentOS 5 and at least switch to CentOS 6, but we aren't there yet.

@h-2
Copy link
Author

h-2 commented Sep 27, 2016

and at least switch to CentOS 6, but we aren't there yet.

If the plan is to switch to a c6-based hbb anyways, could you maybe already offer it in parallel to the c5-based one? I don't want to sound demanding and I don't know how much work it would be, but if it is the plan for the future anyway? [we unfortunately can't use the current one at all]

Thank you!

@FooBarWidget
Copy link
Member

I could look into it in the near future, but since I am generally very busy
with my day job at Phusion I cannot make any guarantees as to when that
will happen. If I need it for something commercially Phusion related (which
isn't the case yet) then it will happen faster, but if not then it depends
on my free time and mood. If you need it within some sort of guaranteed
time frame then the best way to achieve that is to do it yourself.

Sent from my Android phone.

Op 27 sep. 2016 8:48 p.m. schreef "Hannes Hauswedell" <
notifications@github.com>:

and at least switch to CentOS 6, but we aren't there yet.

If the plan is to switch to a c6-based hbb anyways, could you maybe
already offer it in parallel to the c5-based one? I don't want to sound
demanding and I don't know how much work it would be, but if it is the plan
for the future anyway? [we unfortunately can't use the current one at all]

Thank you!


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAADM_J7LS9XfDYmBHKwrM-qRRrafKzEks5quWUAgaJpZM4KDwC4
.

@kdm9
Copy link

kdm9 commented Nov 30, 2016

Sorry to reopen this issue, but I've patched the build script and dockerfiles to use centos 6 base images, and use gcc 5.2.1 from software collections. I needed this to build static binaries of software using SeqAn (@h-2 et al.'s package). This is in the kdm-centos6 branch of mine.

@FooBarWidget Would you welcome this as a PR? Otherwise this work will be kept as a (probably unmaintained) fork. More than happy to make changes to ease merging of course.

@FooBarWidget
Copy link
Member

Thanks for the pull request.

Looking at how much other work I have to do, I think it is unwise to maintain two versions of Holy Build Box. I would definitely be interested in your PR, but I'd rather switch to CentOS 6 altogether rather than providing two versions in parallel.

I've re-evaluated the situation. CentOS 6 uses glibc 2.12. According to Wikipedia this means compatibility for Debian >= 7 and Ubuntu >= 12.04. Furthermore, CentOS 5 will be EOL'ed in March 2017. RHEL 5 will be fully EOL'ed in 2020 but I think it's too ridiculous to wait that long. So I suppose CentOS 6 is fine nowadays.

I'll reopen this ticket as a reminder and do something about it at my next opportunity.

As for your PR, I've got a couple of comments:

  • We use tabs, not spaces, for indenting. Your activate_func.sh has mixed tabs and spaces.
  • You use the python27 SCL, but Holy Build Box already installs Python by itself. You should either not use the python27 SCL, or you should make Holy Build Box not install Python by itself.
  • Have you double checked all documentation against your image? All documentation must be compatible with your changes.

@FooBarWidget FooBarWidget reopened this Nov 30, 2016
@kdm9 kdm9 mentioned this issue Nov 30, 2016
3 tasks
@FooBarWidget
Copy link
Member

We now have gcc 8.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants