public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* objc/6958: ObjC compiler doesn't corretly work with -fconstant-string-class=
@ 2002-06-07  9:36 daa
  0 siblings, 0 replies; 3+ messages in thread
From: daa @ 2002-06-07  9:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6958
>Category:       objc
>Synopsis:       ObjC compiler doesn't corretly work with -fconstant-string-class=
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 09:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Aleksey Dukhnyakov
>Release:        gcc3.1
>Organization:
>Environment:
RedHat Linux
>Description:
Linker fails !
Please see minimized testcase bug1.m:

$ gcc -v
Reading specs from /home/daa/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ./configure  : (reconfigured) ./configure
Thread model: single
gcc version 3.1
$ gcc bug1.m -fconstant-string-class=NSConstantString -lobjc
bug1.m:1:2: warning: #import is obsolete, use an #ifndef wrapper in the header f
ile
/tmp/cciVxsfG.o(.data+0x280): relocation truncated to fit: R_386_16 .rodata
collect2: ld returned 1 exit status

There is workaround for this :

$ gcc bug.m -fconstant-string-class=NSConstantString -lobjc -DFIX
bug1.m:1:2: warning: #import is obsolete, use an #ifndef 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* RE: objc/6958: ObjC compiler doesn't corretly work with -fconstant-string-class=
@ 2002-06-13  8:06 Aleksey Dukhnyakov
  0 siblings, 0 replies; 3+ messages in thread
From: Aleksey Dukhnyakov @ 2002-06-13  8:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: "Aleksey Dukhnyakov" <daa@orcsoftware.spb.ru>
To: <lerdsuwa@gcc.gnu.org>, <daa@orcsoftware.spb.ru>, <gcc-bugs@gcc.gnu.org>,
   <gcc-prs@gcc.gnu.org>, <nobody@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: RE: objc/6958: ObjC compiler doesn't corretly work with -fconstant-string-class=
Date: Thu, 13 Jun 2002 19:01:57 +0400

 I am sorry for these mistakes...
 
 Thanks,
 Aleksey
 
 -----Original Message-----
 From: lerdsuwa@gcc.gnu.org [mailto:lerdsuwa@gcc.gnu.org] 
 Sent: Thursday, June 13, 2002 6:36 PM
 To: daa@orcsoftware.spb.ru; gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org;
 nobody@gcc.gnu.org
 Subject: Re: objc/6958: ObjC compiler doesn't corretly work with
 -fconstant-string-class=
 
 Synopsis: ObjC compiler doesn't corretly work with
 -fconstant-string-class=
 
 State-Changed-From-To: open->closed
 State-Changed-By: lerdsuwa
 State-Changed-When: Thu Jun 13 07:36:15 2002
 State-Changed-Why:
     Duplicate of PR6957.  PR6957 contains a testcase.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=g
 cc&pr=6958
 


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

* Re: objc/6958: ObjC compiler doesn't corretly work with -fconstant-string-class=
@ 2002-06-13  7:36 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-06-13  7:36 UTC (permalink / raw)
  To: daa, gcc-bugs, gcc-prs, nobody

Synopsis: ObjC compiler doesn't corretly work with -fconstant-string-class=

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Thu Jun 13 07:36:15 2002
State-Changed-Why:
    Duplicate of PR6957.  PR6957 contains a testcase.

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


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

end of thread, other threads:[~2002-06-13 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-07  9:36 objc/6958: ObjC compiler doesn't corretly work with -fconstant-string-class= daa
2002-06-13  7:36 lerdsuwa
2002-06-13  8:06 Aleksey Dukhnyakov

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