public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
@ 2003-07-08 14:10 Goeran dot Jerke at de dot bosch dot com
  2003-07-08 14:31 ` [Bug c++/11466] " bangerth at dealii dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Goeran dot Jerke at de dot bosch dot com @ 2003-07-08 14:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466

           Summary: '-mlittle-endian' doesn't work with GCC3.2.3 under
                    Solaris 2.x
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Goeran dot Jerke at de dot bosch dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: Sparc

The compiler option '-mlittle-endian' doesn't work under 
Sun Sparc/Solaris 2.x even with the CPU type selectors 
'-mcpu=ultrasparc -mtune=ultrasparc'.


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
@ 2003-07-08 14:31 ` bangerth at dealii dot org
  2003-07-08 14:47 ` Goeran dot Jerke at de dot bosch dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2003-07-08 14:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From bangerth at dealii dot org  2003-07-08 14:31 -------
This is because this option doesn't exist for SPARC, see the manual.
Why do you think it should work? And what exactly do you mean by
"does not work"?

W.


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
  2003-07-08 14:31 ` [Bug c++/11466] " bangerth at dealii dot org
@ 2003-07-08 14:47 ` Goeran dot Jerke at de dot bosch dot com
  2003-07-08 15:44 ` bangerth at dealii dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Goeran dot Jerke at de dot bosch dot com @ 2003-07-08 14:47 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466



------- Additional Comments From Goeran dot Jerke at de dot bosch dot com  2003-07-08 14:47 -------
Subject: Re:  '-mlittle-endian' doesn't work with GCC3.2.3 under 
 Solaris 2.x

Have a look at:

The option -mlittle-endian exists in the manual for SPARC !

http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/SPARC-Options.html#SPARC%20Options

For GCC 3.2.3 its the same. 

I was wondering anyway since SPARC processors run in big-endian mode.

Goeran



bangerth at dealii dot org wrote:
> 
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
> gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466
> 
> bangerth at dealii dot org changed:
> 
>            What    |Removed                     |Added
> ------------------------------------------------------------------------
> ----
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> ------- Additional Comments From bangerth at dealii dot org  2003-07-08
> 14:31 -------
> This is because this option doesn't exist for SPARC, see the manual.
> Why do you think it should work? And what exactly do you mean by
> "does not work"?
> 
> W.
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
  2003-07-08 14:31 ` [Bug c++/11466] " bangerth at dealii dot org
  2003-07-08 14:47 ` Goeran dot Jerke at de dot bosch dot com
@ 2003-07-08 15:44 ` bangerth at dealii dot org
  2003-07-08 15:55 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2003-07-08 15:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


------- Additional Comments From bangerth at dealii dot org  2003-07-08 15:44 -------
Ah I see, thanks. The docs are inconsistent: in the overall option
summary, -mlittle-endian is stated for several targets, but not for
sparc, whereas the sparc submodel section has such an entry.

I'll try to figure out who put it in there.

Thanks
  W.


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (2 preceding siblings ...)
  2003-07-08 15:44 ` bangerth at dealii dot org
@ 2003-07-08 15:55 ` ebotcazou at gcc dot gnu dot org
  2003-07-08 16:01 ` bangerth at dealii dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-08 15:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466



------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-07-08 15:55 -------
Note that the option is supposed to be supported on SPARC-V9 processors
(Ultrasparc, Ultrasparc3).


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (3 preceding siblings ...)
  2003-07-08 15:55 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-08 16:01 ` bangerth at dealii dot org
  2003-07-08 18:53 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2003-07-08 16:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at libertysurf dot
                   |                            |fr
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-08 16:01:12
               date|                            |


------- Additional Comments From bangerth at dealii dot org  2003-07-08 16:01 -------
OK, I did some archeology -- these options have been listed in invoke.texi
since the very first revision of this file under doc/invoke.texi. Before
that, the file existed in the gcc subdirectory, and there, the option
description dates back to the very first version, checked in by Jeff Law
in August 1997. So I guess these things predate the egcs era.

Eric, you have recently done all the sparc stuff. The compiler just
complains that this option doesn't exist, even if I give
  -mcpu=ultrasparc
so I guess the manual is plain wrong, or what is the answer. I admit that
the manual is at least a) inconsisten (w.r.t. option summary and the sparc
option listing) and b) confusing (w.r.t. which cpu switch has to be given
to allow -mlittle-endian). What do you suggest?

W.


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (4 preceding siblings ...)
  2003-07-08 16:01 ` bangerth at dealii dot org
@ 2003-07-08 18:53 ` ebotcazou at gcc dot gnu dot org
  2003-07-14 10:23 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-08 18:53 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at libertysurf dot|
                   |fr                          |
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-07-08 18:53 -------
I don't really know for the time being. I'll try to further investigate.


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

* [Bug c++/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (5 preceding siblings ...)
  2003-07-08 18:53 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-14 10:23 ` ebotcazou at gcc dot gnu dot org
  2003-07-17  7:30 ` [Bug other/11466] " cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-14 10:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466



------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-07-14 10:23 -------
It appears that the -mlittle-endian option is only supported for the triplets:
   sparc64-*-openbsd*
   sparc64-*-elf*
   sparclet-*-aout*

Additionally, -mlittle-endian-data is supported for the triplet:
   sparc86x-*-elf*

Only Linux, OpenBSD and NetBSD seem to be able to handle little-endian code on
SPARC processors.


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

* [Bug other/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (6 preceding siblings ...)
  2003-07-14 10:23 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-17  7:30 ` cvs-commit at gcc dot gnu dot org
  2003-07-17  7:34 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-17  7:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-07-17 07:30 -------
Subject: Bug 11466

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2003-07-17 07:30:08

Modified files:
	gcc            : ChangeLog 
	gcc/doc        : invoke.texi 

Log message:
	PR other/11466
	* doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
	and its restrictions for the SPARC64 port.
	Move the entry of "-mimpure-text" before that of "-mv8".

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.538&r2=2.539
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.319&r2=1.320


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

* [Bug other/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (7 preceding siblings ...)
  2003-07-17  7:30 ` [Bug other/11466] " cvs-commit at gcc dot gnu dot org
@ 2003-07-17  7:34 ` cvs-commit at gcc dot gnu dot org
  2003-07-17  7:39 ` ebotcazou at gcc dot gnu dot org
  2003-07-25 23:28 ` jbuck at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-17  7:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-07-17 07:34 -------
Subject: Bug 11466

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	ebotcazou@gcc.gnu.org	2003-07-17 07:34:34

Modified files:
	gcc            : ChangeLog 
	gcc/doc        : invoke.texi 

Log message:
	PR other/11466
	* doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
	and its restrictions for the SPARC64 port.
	
	Backport from mainline:
	2003-06-13  Florian Weimer  <fw@deneb.enyo.de>
	
	* doc/invoke.texi (SPARC Options): Document "-mimpure-text".

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.667&r2=1.16114.2.668
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.209.2.40&r2=1.209.2.41


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

* [Bug other/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (8 preceding siblings ...)
  2003-07-17  7:34 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-17  7:39 ` ebotcazou at gcc dot gnu dot org
  2003-07-25 23:28 ` jbuck at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-17  7:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-07-17 07:39 -------
See http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01548.html


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

* [Bug other/11466] '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x
  2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
                   ` (9 preceding siblings ...)
  2003-07-17  7:39 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-25 23:28 ` jbuck at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2003-07-25 23:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11466


jbuck at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |3.3.1


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

end of thread, other threads:[~2003-07-25 23:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-08 14:10 [Bug c++/11466] New: '-mlittle-endian' doesn't work with GCC3.2.3 under Solaris 2.x Goeran dot Jerke at de dot bosch dot com
2003-07-08 14:31 ` [Bug c++/11466] " bangerth at dealii dot org
2003-07-08 14:47 ` Goeran dot Jerke at de dot bosch dot com
2003-07-08 15:44 ` bangerth at dealii dot org
2003-07-08 15:55 ` ebotcazou at gcc dot gnu dot org
2003-07-08 16:01 ` bangerth at dealii dot org
2003-07-08 18:53 ` ebotcazou at gcc dot gnu dot org
2003-07-14 10:23 ` ebotcazou at gcc dot gnu dot org
2003-07-17  7:30 ` [Bug other/11466] " cvs-commit at gcc dot gnu dot org
2003-07-17  7:34 ` cvs-commit at gcc dot gnu dot org
2003-07-17  7:39 ` ebotcazou at gcc dot gnu dot org
2003-07-25 23:28 ` jbuck at gcc dot gnu dot org

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