public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/10663: [Solaris] New configure check aborts with Sun tools.
@ 2003-05-07 12:26 ebotcazou
  0 siblings, 0 replies; 3+ messages in thread
From: ebotcazou @ 2003-05-07 12:26 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: target/10663: [Solaris] New configure check aborts with Sun tools.
@ 2003-05-08  8:16 Eric Botcazou
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Botcazou @ 2003-05-08  8:16 UTC (permalink / raw)
  To: jakub; +Cc: gcc-prs

The following reply was made to PR target/10663; it has been noted by GNATS.

From: Eric Botcazou <ebotcazou@libertysurf.fr>
To: gcc-gnats@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: target/10663: [Solaris] New configure check aborts with Sun tools.
Date: Thu, 8 May 2003 10:18:46 +0200

 > 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.
 
 Well, it's not much better on Solaris 7 with GNU Binutils 2.13.2.1:
 
 checking linker read-only and read-write section mixing... grep: illegal 
 option -- A
 grep: illegal option -- 1
 Usage: grep -hblcnsviw pattern file . . .
 
 -- 
 Eric Botcazou


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: target/10663: [Solaris] New configure check aborts with Sun tools.
@ 2003-05-07 12:44 ebotcazou
  0 siblings, 0 replies; 3+ messages in thread
From: ebotcazou @ 2003-05-07 12:44 UTC (permalink / raw)
  To: ebotcazou, gcc-bugs, gcc-prs, jakub, nobody

Synopsis: [Solaris] New configure check aborts with Sun tools.

Responsible-Changed-From-To: unassigned->jakub
Responsible-Changed-By: ebotcazou
Responsible-Changed-When: Wed May  7 12:44:55 2003
Responsible-Changed-Why:
    Author of the patch.
    
    Jakub, what do you think about the proposed fix? Is it too gross?
State-Changed-From-To: open->analyzed
State-Changed-By: ebotcazou
State-Changed-When: Wed May  7 12:44:55 2003
State-Changed-Why:
    Confirmed on the 3.3 branch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10663


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-08  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 12:26 target/10663: [Solaris] New configure check aborts with Sun tools ebotcazou
2003-05-07 12:44 ebotcazou
2003-05-08  8:16 Eric Botcazou

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).