View previous topic :: View next topic |
Author |
Message |
nightcast2000 n00b
Joined: 01 Apr 2014 Posts: 55 Location: Birmingham
|
Posted: Sat Aug 03, 2024 3:51 pm Post subject: gcc-14 compile fail |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1949
|
Posted: Sun Aug 04, 2024 7:26 am Post subject: |
|
|
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 |
|
|
|