target/10663: [Solaris] New configure check aborts with Sun tools.
ebotcazou@libertysurf.fr
ebotcazou@libertysurf.fr
Wed May 7 12:44:00 GMT 2003
>Number: 10663
>Category: target
>Synopsis: [Solaris] New configure check aborts with Sun tools.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 07 12:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Eric Botcazou
>Release: GCC 3.3pre and GCC 3.4exp
>Organization:
>Environment:
Sparc/Solaris 2.5.1, 2.6, 2.7, 2.8, 2.9 with Sun tools.
>Description:
The new configure check added by
2002-11-26 Jakub Jelinek <jakub@redhat.com>
* varasm.c (default_exception_section): Move to...
* except.c (default_exception_section): ... here. Make
.gcc_except_table read-only if it is not expected to have any
dynamic relocations and linker handles it.
* dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
if it is not expected to have any dynamic relocations and linker
handles it.
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
when linking read-only and read-write sections together.
* configure, config.in: Rebuilt.
* crtstuff.c (EH_FRAME_SECTION_CONST): Define.
(__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
is not portable.
On Solaris 2.5.1, 2.6, 2.7:
checking linker read-only and read-write section mixing... ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
'-shared' is not supported by Sun ld.
On Solaris 2.8, 2.9:
checking linker read-only and read-write section mixing... /usr/ccs/bin/as: "conftest1.s", line 1: error: statement syntax
'.section "myfoosect", "a"' is not supported by Sun as.
>How-To-Repeat:
Configure the compiler on the aforementioned Solaris versions with Sun tools.
>Fix:
Disable the check on non-Dwarf2 platforms?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list