This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't use weak linkage for symbols in COMDAT groups

Nathan Sidwell <> writes:

> Daniel Jacobowitz wrote:
>> On Sat, Feb 26, 2005 at 11:22:49PM -0500, Andrew Pinski wrote:
>>> Before this change, a::f in the TU of file b and a were both marked as
>>> weak so
>>>that they would not complain when you link the two files together.
>> Why isn't a::f in a COMDAT group, anyway?
> probably because the latest releast binutils does this on i686 during
> configure
> configure:13492: checking assembler for COMDAT group support
> configure:13506: /usr/local/bin/as --fatal-warnings -o conftest.o conftest.s >&5
> /home/nathan/egcs/HEAD/gcc/gcc/configure: line 1:  3254 Segmentation fault      (core dumped) $gcc_cv_as --fatal-warnings -o conftest.o conftest.s 1>&5
> configure:13509: $? = 139
> configure: failed program was
> .section .text,"axG",@progbits,.foo,comdat
> configure:13520: result: no

But this is unrelated to the libjava failure, because even if COMDAT is
supported libjava still fails to link.


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]