public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/30726]  New: bootstrap support for x86_64-*-solaris2.10
@ 2007-02-07  7:38 pdb_ml at yahoo dot com dot au
  2007-02-07  7:51 ` [Bug bootstrap/30726] " ebotcazou at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pdb_ml at yahoo dot com dot au @ 2007-02-07  7:38 UTC (permalink / raw)
  To: gcc-bugs

Request: Add x86_64-*-solaris2.10 support to the bootstrap process.

Additional Info:
While i386-*-solaris2.10 builds a compiler capable of build x86_64/amd64 object
files with the -m64 command line option, it was not possible (for me) to build
a compiler that default to 64-bit code generation for this platform. 

Support for this is available on Solaris/SPARC with sparc-sun-solaris2* vs
sparc64-sun-solaris2*, and all the hard work has been done (in that code
generation works) but I was unable to find the correct of flags to change in
gcc/config.gcc and gcc/config/i386/* to make 64-bit the default compilation
mode of the generated compiler.

I have been working at this myself for two days now and always seem to run into
problems, with either the generated compiler reverting to generating 32-bit
code, the assembler rejecting the generated code (various reasons, probably
related to incorrect flags being passed to 'as'), or 98% files generated in
64-bit mode and one or two being generated in 32-bit causing link errors.

To-date I have made new target in gcc/config.gcc for x86_64-*-solaris2.10 based
on the existing i*86-*-solaris2* code and tried modifying
gcc/config/i386-sol10.h to change the default multi-lib. Also I have looked at
TARGET_64BIT and tried setting TARGET_64BIT_DEFAULT by hacking the biarch.?
file.

Suggestions / Pointers / Patches I can could use or test would be greatly
appreciated!

Many thanks in Advance,
Peter Bray
Sydney, Australia

PS: Test system - Sun Ultra 40 (AMD Opteron 280) running Solaris 10 11/06,
    using gcc-4.1.2rc1 (20060128) and /usr/sfw/bin/{gcc,gas} and Sun's "ld"

PPS: To Mark and the 4.1.2 release team, I can confirm gcc-4.1.2rc1 builds fine
for sparc-sun-solaris2.10 (with and without --cpu=v9), sparcv9-sun-solaris2.10
and i386-pc-solaris2.10. The SPARC variant had to be built with Sun as/ld as
the recommended combination (several sources) of GNU as (2.17) and Sun ld
results in the DWARF2 debug(-g)/ld align bug is Sun's ld, according to
opensolaris.org snv53 has a fix for this issue, but that is not available as a
patch to Solaris 10 (yet).


-- 
           Summary: bootstrap support for x86_64-*-solaris2.10
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pdb_ml at yahoo dot com dot au
  GCC host triplet: i386-*-solaris2.10
GCC target triplet: x86_64-*-solaris2.10


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


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

* [Bug bootstrap/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
@ 2007-02-07  7:51 ` ebotcazou at gcc dot gnu dot org
  2007-02-09 18:58 ` [Bug target/30726] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-02-07  7:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2007-02-07 07:50 -------
> The SPARC variant had to be built with Sun as/ld as the recommended
> combination (several sources) of GNU as (2.17) and Sun ld results in
> the DWARF2 debug(-g)/ld align bug is Sun's ld,

A fix is available in the CVS tree of GNU binutils (2.17.x, 2.18).


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
  2007-02-07  7:51 ` [Bug bootstrap/30726] " ebotcazou at gcc dot gnu dot org
@ 2007-02-09 18:58 ` pinskia at gcc dot gnu dot org
  2008-01-13 19:32 ` grobian at gentoo dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-09 18:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
          Component|bootstrap                   |target


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


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

* [Bug target/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
  2007-02-07  7:51 ` [Bug bootstrap/30726] " ebotcazou at gcc dot gnu dot org
  2007-02-09 18:58 ` [Bug target/30726] " pinskia at gcc dot gnu dot org
@ 2008-01-13 19:32 ` grobian at gentoo dot org
  2008-01-13 21:06 ` grobian at gentoo dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: grobian at gentoo dot org @ 2008-01-13 19:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from grobian at gentoo dot org  2008-01-13 19:29 -------
*** Bug 34775 has been marked as a duplicate of this bug. ***


-- 

grobian at gentoo dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grobian at gentoo dot org


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


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

* [Bug target/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
                   ` (2 preceding siblings ...)
  2008-01-13 19:32 ` grobian at gentoo dot org
@ 2008-01-13 21:06 ` grobian at gentoo dot org
  2008-01-23  0:06 ` pdb_ml at yahoo dot com dot au
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: grobian at gentoo dot org @ 2008-01-13 21:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from grobian at gentoo dot org  2008-01-13 19:30 -------
In bug #34775 I've attached a configuration patch that works for me.


-- 


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


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

* [Bug target/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
                   ` (3 preceding siblings ...)
  2008-01-13 21:06 ` grobian at gentoo dot org
@ 2008-01-23  0:06 ` pdb_ml at yahoo dot com dot au
  2010-04-28 20:54 ` ro at gcc dot gnu dot org
  2010-04-28 20:55 ` ro at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pdb_ml at yahoo dot com dot au @ 2008-01-23  0:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pdb_ml at yahoo dot com dot au  2008-01-22 23:49 -------
As the originator of this request I can verify that the patch provided by
Fabian Groffen as part of Bug 34775 is functional and works as advertised. I
believe the patch should be reviewed and integrated.

The patch does required his associated patch to binutils-2.18 has documented at
http://sourceware.org/bugzilla/show_bug.cgi?id=5606

Testing Environment: Sun Solaris 10 Update 4 running on Sun Ultra 40 M2, with a
single patch (mentioned above) applied to binutils-2.18 released tar ball.
Bootstrapping compiler was gcc-4.1.2. GCC testsuite not run.


-- 


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


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

* [Bug target/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
                   ` (4 preceding siblings ...)
  2008-01-23  0:06 ` pdb_ml at yahoo dot com dot au
@ 2010-04-28 20:54 ` ro at gcc dot gnu dot org
  2010-04-28 20:55 ` ro at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-28 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ro at gcc dot gnu dot org  2010-04-28 20:54 -------
Mine.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ro at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-28 20:54:01
               date|                            |


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


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

* [Bug target/30726] bootstrap support for x86_64-*-solaris2.10
  2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
                   ` (5 preceding siblings ...)
  2010-04-28 20:54 ` ro at gcc dot gnu dot org
@ 2010-04-28 20:55 ` ro at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-28 20:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ro at gcc dot gnu dot org  2010-04-28 20:54 -------


*** This bug has been marked as a duplicate of 39150 ***


-- 

ro at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-04-28 20:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07  7:38 [Bug bootstrap/30726] New: bootstrap support for x86_64-*-solaris2.10 pdb_ml at yahoo dot com dot au
2007-02-07  7:51 ` [Bug bootstrap/30726] " ebotcazou at gcc dot gnu dot org
2007-02-09 18:58 ` [Bug target/30726] " pinskia at gcc dot gnu dot org
2008-01-13 19:32 ` grobian at gentoo dot org
2008-01-13 21:06 ` grobian at gentoo dot org
2008-01-23  0:06 ` pdb_ml at yahoo dot com dot au
2010-04-28 20:54 ` ro at gcc dot gnu dot org
2010-04-28 20:55 ` ro 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).