[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19849] New: Solaris 11 as generated object incompatible wi
From: |
andrew at ishiboo dot com |
Subject: |
[Bug binutils/19849] New: Solaris 11 as generated object incompatible with 2.26 objcopy "no group info for section" during GCC 5.3.0 gccgo build |
Date: |
Sat, 19 Mar 2016 04:43:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19849
Bug ID: 19849
Summary: Solaris 11 as generated object incompatible with 2.26
objcopy "no group info for section" during GCC 5.3.0
gccgo build
Product: binutils
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: andrew at ishiboo dot com
Target Milestone: ---
Created attachment 9109
--> https://sourceware.org/bugzilla/attachment.cgi?id=9109&action=edit
gccgo + Solaris 11 as generated object
sparc-sun-solaris2.11
$ as -V
as: Sun Compiler Common 12 SunOS_sparc s11_2sru04_1 09/30/2014
$ objcopy -V | head -1
GNU objcopy (GNU Binutils) 2.26.20160125
During a build of GCC 5.3.0, the build only fails inside gccgo during an
objcopy operation. Disabling the Go language lets the build succeed. I raised
the issue in the GCC bugtracker and they suggested raising the issue with
objcopy here.
...
rm -f libgobegin.a
ar cru libgobegin.a libgobegin_a-go-main.o
ranlib libgobegin.a
rm -f libgolibbegin.a
ar cru libgolibbegin.a libgolibbegin_a-go-libmain.o
ranlib libgolibbegin.a
f=`echo errors.lo | sed -e 's/.lo$/.o/'`; objcopy -j .go_export $f
errors.gox.tmp && mv -f errors.gox.tmp errors.gox
objcopy: errors.o: no group info for section
.group%__go_pimt__I5_ErrorFrN6_stringeee__N18_errors.errorString
objcopy: errors.o: no group info for section
.group%__go_pimt__I5_ErrorFrN6_stringeee__N18_errors.errorString
objcopy:errors.o: Bad value
make[9]: *** [errors.gox] Error 1
make[9]: *** Waiting for unfinished jobs....
Attempting to objdump the .o file results in the same:
$ objdump -x errors.o | less
BFD: errors.o: no group info for section
.group%__go_pimt__I5_ErrorFrN6_stringeee__N18_errors.errorString
BFD: errors.o: no group info for section .group%__go_td_pN18_errors.errorString
BFD: errors.o: no group info for section .group%__go_td_S1_sN6_stringe$gc
BFD: errors.o: no group info for section
.group%__go_td_FppN18_errors.errorStringerN6_stringee
BFD: errors.o: no group info for section
.group%__go_td_FppN18_errors.errorStringerN6_stringee$gc
BFD: errors.o: no group info for section .group%__go_td_FrN6_stringee
BFD: errors.o: no group info for section .group%__go_tdn_string
BFD: errors.o: no group info for section .group%__go_td_pN6_string
BFD: errors.o: no group info for section .group%__go_td_pN6_string$gc
BFD: errors.o: no group info for section .group%__go_tdn_string$gc
BFD: errors.o: no group info for section .group%__go_td_z$gc
BFD: errors.o: no group info for section .group%go$zerovalue
BFD: errors.o: no group info for section .group%__go_td_FrN6_stringee$gc
BFD: errors.o: no group info for section
.group%__go_td_pN18_errors.errorString$gc
Attaching the errors.o objects.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19849] New: Solaris 11 as generated object incompatible with 2.26 objcopy "no group info for section" during GCC 5.3.0 gccgo build,
andrew at ishiboo dot com <=