codon icon indicating copy to clipboard operation
codon copied to clipboard

gcc: error: unrecognized command line option ‘-no-pie’

Open darklord1807 opened this issue 3 years ago • 3 comments

Hello,

Getting error:

gcc: error: unrecognized command line option ‘-no-pie’

Using : codon build -release codon.py

Any advise

darklord1807 avatar Mar 24 '23 08:03 darklord1807

Hi @darklord1807 -- I believe this is due to an old gcc version. Which version of gcc do you have (i.e. gcc --version)? Is it possible to upgrade it?

arshajii avatar Mar 24 '23 22:03 arshajii

[root@ec-mt-mu-rb-bigdata-rpa-prod-1 ~]# gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I am on Centos 7

I did a yum update but its saying that it is the latest version.

darklord1807 avatar Mar 26 '23 07:03 darklord1807

Which version you support?

darklord1807 avatar Mar 26 '23 07:03 darklord1807