Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: nicholas.h.briggs at gmail dot com
Target Milestone: ---
Created attachment 48947
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48947&acti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #1 from Nick Briggs ---
Created attachment 48948
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48948&action=edit
Intermediate output from gcc-9.3.0 compiling libgcc2 during bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #2 from Nick Briggs ---
binutils/as version is:
/opt/binutils/bin/as --version
GNU assembler (GNU Binutils) 2.35
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #3 from Nick Briggs ---
Could not configuring with "--with-gnu-as" have caused this?
Also, since it seems to be related to COMDAT, would "--disable-comdat" (if such
an option exists, since only --enable-comdat is documented) have avo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #6 from Nick Briggs ---
Perhaps the info at https://gcc.gnu.org/install/specific.html could be updated
in the sparc*solaris section to include the notes about gnu as in the same way
that the x86*solaris section mentions it?
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: nicholas.h.briggs at gmail dot com
Target Milestone: ---
Created attachment 48952
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48952&acti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96378
--- Comment #2 from Nick Briggs ---
The initial gcc is:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/7/lib/gcc/sparcv9-solaris2.11/7.3.0/lto-wrapper
Target: sparcv9-solaris2.11
Configured with:
/builds/ulhg/workspa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96378
--- Comment #3 from Nick Briggs ---
This is still a problem, tested at commit
217d5beaff9987a9845155fc796322b5f8bb876d, Dec 17th, 2020
Starting with the same gcc (7.3.0) as before, but invoked with CC="gcc -m64" to
make sure that we're building
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96378
--- Comment #5 from Nick Briggs ---
Thanks! configuring with --enable-checking=release allowed it to compile.
The final configure that I used was:
../gcc-master/configure prefix=/opt/gcc --disable-werror
--enable-checking=release CC="gcc -m64