How to install whizard properly on rhel 7.6?

Asked by Igal

Happy New Year WHIZARD experts.

I would like to install whizard on rhel 7.6 which is coming with gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)

Is it a no go because the gcc version is too old or is there a way around?

If I commented out in the configure the lines related to old gcc, I can install whizard but if I run there is a segmetation fault.
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7F30020C8467
#1 0x7F30020C8AAE
#2 0x7F30013CB66F
#3 0x7F3003501306
#4 0x7F30030EC394
#5 0x7F30030E1170
#6 0x7F30030EE164
#7 0x7F3003137BD8
#8 0x7F300311AB65
#9 0x7F30030D54E5
#10 0x7F30030D4C02
#11 0x7F300743C8B9
#12 0x7F3007438ACE
#13 0x7F30013B7B14
Segmentation fault

Question information

English Edit question
WHIZARD Edit question
Juergen Reuter Edit question
Last query:
Last reply:
Revision history for this message
Juergen Reuter (j.r.reuter) said :

Happy New Year. Hi Igal,
unfortunately, 4.8 is really old, some Linux distributions allow you to install newer versions of gcc distributions as packages.
usually under the name gcc-5 or gcc-7 or similar. 4.8.5 we can testify that it has unresolvable compiler bugs, 4.9.4 might still work, but we haven't tested it for ages, and 5.1 we still guarantee to work. You can always install your own gcc version of course on your system. Hope that helps.

Revision history for this message
Juergen Reuter (j.r.reuter) said :

No, there is no other solution than to install your own compiler repo etc.