Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-14 compile fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nightcast2000
n00b
n00b


Joined: 01 Apr 2014
Posts: 55
Location: Birmingham

PostPosted: Sat Aug 03, 2024 3:51 pm    Post subject: gcc-14 compile fail Reply with quote

Hi All,
I have been trying to build gcc-14. with the "d" option. I had emerged gdc with the "d" useflag and had symlinked to
Code:
ln -s /usr/x86_64-pc-linux-gnu/gcc-bin/10/x86_64-pc-linux-gnu-gdc /usr/local/bin/gdc


I tried to emerge again, but the build failed again! I looked into the build log the error was
Code:
gdc: error: unrecognized command-line option ‘-fno-harden-control-flow-redundancy’
make[3]: *** [/var/tmp/notmpfs/portage/sys-devel/gcc-14.2.0/work/gcc-14.2.0/gcc/d/Make-lang.in:412: d/access.o] Error 1
Code:


Thanks in advance to anyone who can help me.

Regards,
              nightcast2000
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1945

PostPosted: Sun Aug 04, 2024 7:26 am    Post subject: Reply with quote

I've dropped that from the eclass given I hit the same thing the other day, but I recommend setting GDC=/path/to/gdc via an env var temporarily to bootstrap instead FWIW (not that it would've fixed this). It should be OK when you sync in a few hours.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum