Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc failing with lto, pgo and graphite turned on
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
arogue_linux_user
n00b
n00b


Joined: 07 Nov 2024
Posts: 1
Location: Trenton, Ontario

PostPosted: Wed Dec 11, 2024 10:21 pm    Post subject: gcc failing with lto, pgo and graphite turned on Reply with quote

Hello - I'm reinstalling gcc with pgo, lto and graphine and it's failing with the following error.

[bug=]
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/gcc'
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -pie -Wl,-z,now -DDEF_GENTOO_SCP -DDEF_GENTOO_ZNOW -DEXTRA_OPTIONS_CF -m64 -march=native -pipe -O2 -fno-checking -flto=jobserver -frandom-seed=1 -fcf-protection -fprofile-generate -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -pie -Wl,-z,now -static-libstdc++ -static-libgcc -Wl,-m -Wl,elf_x86_64 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -o cc1plus \
cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/class.o cp/constexpr.o cp/constraint.o cp/coroutines.o cp/cp-gimplify.o cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/contracts.o cp/cxx-pretty-print.o cp/decl.o cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/mapper-client.o cp/mapper-resolver.o cp/method.o cp/module.o cp/name-lookup.o cp/optimize.o cp/parser.o cp/pt.o cp/ptree.o cp/rtti.o cp/search.o cp/semantics.o cp/tree.o cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o i386-c.o glibc-c.o cc1plus-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcody/libcody.a \
libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a -lisl -lmpc -lmpfr -lgmp -rdynamic -lz -Lyes/lib -lzstd
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc: In function ‘lto_obj_begin_section’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc:333:15: warning: ‘err’ may be used uninitialized [-Wmaybe-uninitialized]
333 | if (err == 0)
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc:320:7: note: ‘err’ declared here
320 | int err;
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc:334:21: warning: ‘errmsg’ may be used uninitialized[-Wmaybe-uninitialized]
334 | fatal_error (input_location, "%s", errmsg);
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc:319:15: note: ‘errmsg’ declared here
319 | const char *errmsg;
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc: In function ‘lto_obj_append_data’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc:357:15: warning: ‘err’ may be used uninitialized [-Wmaybe-uninitialized]
357 | if (err == 0)
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/lto-object.cc:348:7: note: ‘err’ declared here
348 | int err;
| ^
{standard input}: Assembler messages:
{standard input}: Internal error (Segmentation fault).
Please report this bug.
make[4]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccT4u9LO.mk:350: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccPo8wsz.ltrans116.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/Make-lang.in:96: lto1] Error 1
make[3]: *** Waiting for unfinished jobs....
In member function ‘operator=’,
inlined from ‘__ct_base ’ at /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/analyzer/record-layout.cc:53:21:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h:1002:3: warning: ‘MEM <long int> [(struct fixed_wide_int_storage *)&D.35998 + 8B]’ may be used uninitialized [-Wmaybe-uninitialized]
1002 | storage::operator = (x);
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h: In member function ‘__ct_base ’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h:1002:23: note: ‘<anonymous>’ declared here
1002 | storage::operator = (x);
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/expmed.cc: In function ‘extract_bit_field_1’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/expmed.cc:1813:29: warning: ‘MEM[(struct scalar_int_mode *)&imode]’ may be used uninitialized [-Wmaybe-uninitialized]
1813 | op0 = gen_lowpart (imode, op0);
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/expmed.cc:1805:19: note: ‘MEM[(struct scalar_int_mode *)&imode]’ was declared here
1805 | scalar_int_mode imode;
| ^
In member function ‘operator=’,
inlined from ‘__ct_base ’ at /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/analyzer/record-layout.cc:53:21:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h:1002:3: warning: ‘MEM <long int> [(struct fixed_wide_int_storage *)&D.33413 + 8B]’ may be used uninitialized [-Wmaybe-uninitialized]
1002 | storage::operator = (x);
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h: In member function ‘__ct_base ’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h:1002:23: note: ‘<anonymous>’ declared here
1002 | storage::operator = (x);
| ^
during GIMPLE pass: pre
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/ira-color.cc: In function ‘improve_allocation’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/ira-color.cc:3150: internal compiler error: Segmentation fault
3150 | improve_allocation (void)
0x55ee3a668fa6 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t)
???:0
0x55ee3a6697d4 internal_error(char const*, ...)
???:0
0x55ee394a4a17 crash_signal(int)
???:0
0x55ee396a7998 do_rpo_vn_1(function*, edge_def*, bitmap_head*, bool, bool, bool, vn_lookup_kind)
???:0
0x55ee396a8287 run_rpo_vn(vn_lookup_kind)
???:0
0x55ee39671e57 (anonymous namespace)::pass_pre::execute(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
make[4]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccuF4iPj.mk:98: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccx5pSkW.ltrans32.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In member function ‘operator=’,
inlined from ‘__ct_base ’ at /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/analyzer/record-layout.cc:53:21:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h:1002:3: warning: ‘MEM <long int> [(struct fixed_wide_int_storage *)&D.15671 + 8B]’ may be used uninitialized [-Wmaybe-uninitialized]
1002 | storage::operator = (x);
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h: In member function ‘__ct_base ’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/wide-int.h:1002:23: note: ‘<anonymous>’ declared here
1002 | storage::operator = (x);
| ^
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/cp/Make-lang.in:145: cc1plus] Error 1
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc: In function ‘get_edit_distance’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc:71:61: warning: argument 1 value ‘18446744073709551615’exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
71 | edit_distance_t *v_two_ago = new edit_distance_t[len_s + 1];
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++/new:133:26: note: in a call to allocation function‘operator new []’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc:72:61: warning: argument 1 value ‘18446744073709551615’exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
72 | edit_distance_t *v_one_ago = new edit_distance_t[len_s + 1];
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++/new:133:26: note: in a call to allocation function‘operator new []’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc:73:58: warning: argument 1 value ‘18446744073709551615’exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
73 | edit_distance_t *v_next = new edit_distance_t[len_s + 1];
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++/new:133:26: note: in a call to allocation function‘operator new []’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
{standard input}: Assembler messages:
{standard input}: Internal error (Segmentation fault).
Please report this bug.
make[4]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/cc7YHQ0E.mk:347: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccBG2D2h.ltrans115.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/lto/Make-lang.in:102: lto-dump] Error 1
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc: In function ‘get_edit_distance’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc:71:61: warning: argument 1 value ‘18446744073709551615’exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
71 | edit_distance_t *v_two_ago = new edit_distance_t[len_s + 1];
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++/new:133:26: note: in a call to allocation function‘operator new []’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc:72:61: warning: argument 1 value ‘18446744073709551615’exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
72 | edit_distance_t *v_one_ago = new edit_distance_t[len_s + 1];
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++/new:133:26: note: in a call to allocation function‘operator new []’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/spellcheck.cc:73:58: warning: argument 1 value ‘18446744073709551615’exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
73 | edit_distance_t *v_next = new edit_distance_t[len_s + 1];
| ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libstdc++-v3/libsupc++/new:133:26: note: in a call to allocation function‘operator new []’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
lto1: internal compiler error: Illegal instruction
0x55bff8dfefa6 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t)
???:0
0x55bff8dff7d4 internal_error(char const*, ...)
???:0
0x55bff7c3aa17 crash_signal(int)
???:0
0x7f760a3b84c3 ZSTD_decompress_usingDDict
???:0
0x7f760a3b85c8 ZSTD_decompress
???:0
0x55bff7a9cd7b lto_end_uncompression(lto_compression_stream*, lto_compression)
???:0
0x55bff7a9b3d2 lto_get_section_data(lto_file_decl_data*, lto_section_type, char const*, int, unsigned long*, bool)
???:0
0x55bff7773dac cgraph_node::get_untransformed_body()
???:0
0x55bff777f1fd cgraph_node::expand()
???:0
0x55bff7780fb6 symbol_table::compile() [clone .part.0]
???:0
0x55bff76de1f3 lto_main()
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
make[4]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccxsKhXY.mk:143: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/cc3UWs0c.ltrans47.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
during RTL pass: sched2
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/omp-low.cc: In function ‘lower_rec_input_clauses’:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/omp-low.cc:6990:1: internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.cc:925
6990 | }
| ^
0x56104c7f9fa6 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t)
???:0
0x56104c7fa7d4 internal_error(char const*, ...)
???:0
0x56104b0a05c7 fancy_abort(char const*, int, char const*)
???:0
0x56104b09c22f maybe_add_or_update_dep_1(_dep*, bool, rtx_def*, rtx_def*) [clone .constprop.0] [clone .isra.0] [clone .cold]
???:0
0x56104c67de47 haifa_note_dep(rtx_insn*, unsigned int)
???:0
0x56104c6749e2 add_dependence_1(rtx_insn*, rtx_insn*, reg_note)
???:0
0x56104b5dedff sched_rgn_compute_dependencies(int)
???:0
0x56104b5e0dae schedule_insns() [clone .part.0]
???:0
0x56104b5e13c1 (anonymous namespace)::pass_sched2::execute(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
make[4]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccM6s1Jy.mk:86: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/ccvJcSTK.ltrans28.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/fortran/Make-lang.in:98: f951] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/gcc/c/Make-lang.in:87: cc1] Error 1
rm gfdl.pod gcc.pod gfortran.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod
make[2]: *** [Makefile:4876: all-stageprofile-gcc] Error 2
make[1]: *** [Makefile:24632: stageprofile-bubble] Error 2
make: *** [Makefile:24870: profiledbootstrap] Error 2
* ERROR: sys-devel/gcc-14.2.1_p20241116::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-14.2.1_p20241116::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-14.2.1_p20241116::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/build'
* S: '/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116'
*
* Please include /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-build-logs.tar.xz in your bug report.
*
[/bug]


This is my make.conf
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native"
MAKEOPTS="-j16 -l16"

# NOTE: This stage was built with the bindist USE flag enabled
USE="kde bluetooth -gtk"


# Portage Opts
ACCEPT_KEYWORDS="amd64"
FEATURES="parallel-fetch parallel-install candy"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --complete-graph y --quiet-build --verbose"
AUTOCLEAN="yes"



# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
VIDEO_CARDS="amdgpu"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
GRUB_PLATFORMS="efi-64"


package.us
Code:

cat /etc/portage/package.use
*/* CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
sys-devel/gcc pgo lto graphite zstd


Do I file for a bug report or is there anything wrong with my setup? Kindly advise. Thank you.
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 398

PostPosted: Wed Dec 11, 2024 11:04 pm    Post subject: Reply with quote

Compiling lead to an internal compiler error, which is most often a compiler bug, but could be a hardware fault.
Was your current gcc compiled with the same flags?
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Thu Dec 12, 2024 1:01 am    Post subject: Reply with quote

Plz post
Code:
emerge --info sys-devel/gcc
output.
RAM size?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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