public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
@ 2020-07-28 20:16 nicholas.h.briggs at gmail dot com
2020-07-28 20:17 ` [Bug c/96362] " nicholas.h.briggs at gmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: nicholas.h.briggs at gmail dot com @ 2020-07-28 20:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
Bug ID: 96362
Summary: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails
compiling libgcc2.c (.group in output)
Product: gcc
Version: 9.3.0
Status: UNCONFIRMED
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&action=edit
Intermediate output from gcc-9.3.0 compiling libgcc2 during bootstrap
Attempting to bootstrap gcc 9.3.0 (and same problem with gcc 10.2.0) on
sparc-sun-solaris2.11 system fails at the point of compiling libgcc2.c for
_ffssi2 as the compiler generates a .group directive which is not understood by
the binutils-2.35 as.
Configured with:
'../gcc/configure' '--prefix=/opt/gcc-9.3' '--disable-werror'
'--disable-checking' 'CC=gcc' 'CXX=g++' '--disable-multilib'
'--build=sparc-sun-solaris2.11' 'buil
d_alias=sparc-sun-solaris2.11' '--enable-languages=c,c++,lto'
Where it attempts to execute:
/export/home/briggs/gcc-9.3-objdir/./gcc/xgcc
-B/export/home/briggs/gcc-9.3-objdir/./gcc/
-B/opt/gcc-9.3/sparc-sun-solaris2.11/bin/
-B/opt/gcc-9.3/sparc-sun-solaris2.11/lib/ -isystem
/opt/gcc-9.3/sparc-sun-solaris2.11/include -isystem
/opt/gcc-9.3/sparc-sun-solaris2.11/sys-include -fno-checking -g -O2 -O2 -g
-O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-fPIC -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -DHAVE_CC_TLS
-o _ffssi2.o -MT _ffssi2.o -MD -MP -MF _ffssi2.dep -DL_ffssi2 -c
../../../gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
it fails with
_ffssi2.s: Assembler messages:
_ffssi2.s:1536: Error: unknown pseudo-op: `.group'
The complete _ffssi2.i and _ffssi2.s are attached. The problematic section in
the _ffssi2.s is:
.LLASF11:
.asciz "__seekable"
.ident "GCC: (GNU) 9.3.0"
.section
".text.__sparc_get_pc_thunk.l7%__sparc_get_pc_thunk.l7",#alloc,#execinstr,#progbits
.group
__sparc_get_pc_thunk.l7,".text.__sparc_get_pc_thunk.l7%__sparc_get_pc_thunk.l7",#comdat
.align 4
.weak __sparc_get_pc_thunk.l7
.hidden __sparc_get_pc_thunk.l7
.type __sparc_get_pc_thunk.l7, #function
.proc 020
__sparc_get_pc_thunk.l7:
.cfi_startproc
jmp %o7+8
add %o7, %l7, %l7
.cfi_endproc
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/96362] bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
@ 2020-07-28 20:17 ` nicholas.h.briggs at gmail dot com
2020-07-28 20:20 ` nicholas.h.briggs at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nicholas.h.briggs at gmail dot com @ 2020-07-28 20:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #1 from Nick Briggs <nicholas.h.briggs at gmail dot com> ---
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/96362] bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
2020-07-28 20:17 ` [Bug c/96362] " nicholas.h.briggs at gmail dot com
@ 2020-07-28 20:20 ` nicholas.h.briggs at gmail dot com
2020-07-29 1:54 ` [Bug target/96362] " nicholas.h.briggs at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nicholas.h.briggs at gmail dot com @ 2020-07-28 20:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #2 from Nick Briggs <nicholas.h.briggs at gmail dot com> ---
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 of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.11'.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/96362] bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
2020-07-28 20:17 ` [Bug c/96362] " nicholas.h.briggs at gmail dot com
2020-07-28 20:20 ` nicholas.h.briggs at gmail dot com
@ 2020-07-29 1:54 ` nicholas.h.briggs at gmail dot com
2020-07-29 1:55 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nicholas.h.briggs at gmail dot com @ 2020-07-29 1:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #3 from Nick Briggs <nicholas.h.briggs at gmail dot com> ---
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 avoided this?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/96362] bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
` (2 preceding siblings ...)
2020-07-29 1:54 ` [Bug target/96362] " nicholas.h.briggs at gmail dot com
@ 2020-07-29 1:55 ` pinskia at gcc dot gnu.org
2020-07-29 1:56 ` pinskia at gcc dot gnu.org
2020-07-29 2:05 ` nicholas.h.briggs at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-07-29 1:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need to use --with-gnu-as if you are using the GNU as on Solaris.
Note if you are using GNU ld, you might also need to use --with-gnu-ld .
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/96362] bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
` (3 preceding siblings ...)
2020-07-29 1:55 ` pinskia at gcc dot gnu.org
@ 2020-07-29 1:56 ` pinskia at gcc dot gnu.org
2020-07-29 2:05 ` nicholas.h.briggs at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-07-29 1:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is documented on https://gcc.gnu.org/install/configure.html too:
Confusion may also result if the compiler finds the GNU assembler but has not
been configured with --with-gnu-as.
...
The following systems are the only ones where it makes a difference whether you
use the GNU assembler. On any other system, --with-gnu-as has no effect.
‘hppa1.0-any-any’
‘hppa1.1-any-any’
‘sparc-sun-solaris2.any’
‘sparc64-any-solaris2.any’
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/96362] bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output)
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
` (4 preceding siblings ...)
2020-07-29 1:56 ` pinskia at gcc dot gnu.org
@ 2020-07-29 2:05 ` nicholas.h.briggs at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: nicholas.h.briggs at gmail dot com @ 2020-07-29 2:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #6 from Nick Briggs <nicholas.h.briggs at gmail dot com> ---
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?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-07-29 2:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 20:16 [Bug c/96362] New: bootstrapping gcc 9.3.0 on sparc-sun-solaris2.11 fails compiling libgcc2.c (.group in output) nicholas.h.briggs at gmail dot com
2020-07-28 20:17 ` [Bug c/96362] " nicholas.h.briggs at gmail dot com
2020-07-28 20:20 ` nicholas.h.briggs at gmail dot com
2020-07-29 1:54 ` [Bug target/96362] " nicholas.h.briggs at gmail dot com
2020-07-29 1:55 ` pinskia at gcc dot gnu.org
2020-07-29 1:56 ` pinskia at gcc dot gnu.org
2020-07-29 2:05 ` nicholas.h.briggs at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).