public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/37977]  New: System.Address size stays 64 bit with -m31
@ 2008-10-31  8:28 krebbel at gcc dot gnu dot org
  2008-10-31  8:44 ` [Bug ada/37977] " ebotcazou at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-10-31  8:28 UTC (permalink / raw)
  To: gcc-bugs

Ada currently doesn't bootstrap on s390x due to a pointer size mismatch when
building the 32 bit version of a-except.o:

/build2/gcc-build/./gcc/xgcc -B/build2/gcc-build/./gcc/
-B/build2/gcc-install/s390x-ibm-linux-gn      u/bin/
-B/build2/gcc-install/s390x-ibm-linux-gnu/lib/ -isystem
/build2/gcc-install/s390x-ibm-linux-gnu/include -isystem      
/build2/gcc-install/s390x-ibm-linux-gnu/sys-include -c -g -O2  -fPIC
-mlong-double-128  -W -Wall -gnatpg -m31 -g -O1 -fn      o-inline      
-fno-toplevel-reorder  a-except.adb -o a-except.o -fdump-tree-all -gnatf
a-exexpr.adb:169:04: warning: types for unchecked conversion have different
sizes
a-exexpr.adb:169:04: warning: size of "Address" is 64, size of
"Gnat_Gcc_Exception_Access" is 32
a-exexpr.adb:169:04: warning: 32 trailing bits of source will be ignored

in directory: gcc-build/gcc/ada/rts_32


-- 
           Summary: System.Address size stays 64 bit with -m31
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: krebbel at gcc dot gnu dot org
 GCC build triplet: s390x-ibm-linux
  GCC host triplet: s390x-ibm-linux
GCC target triplet: s390x-ibm-linux


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


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

* [Bug ada/37977] System.Address size stays 64 bit with -m31
  2008-10-31  8:28 [Bug ada/37977] New: System.Address size stays 64 bit with -m31 krebbel at gcc dot gnu dot org
@ 2008-10-31  8:44 ` ebotcazou at gcc dot gnu dot org
  2008-10-31  9:12 ` [Bug ada/37977] Missing ada multilib support for s390x krebbel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-10-31  8:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2008-10-31 08:42 -------
You need to add multilib support for s390 to gcc-interface/Makefile.in, see
for example SPARC/Solaris.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-10-31 08:42:53
               date|                            |


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


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

* [Bug ada/37977] Missing ada multilib support for s390x
  2008-10-31  8:28 [Bug ada/37977] New: System.Address size stays 64 bit with -m31 krebbel at gcc dot gnu dot org
  2008-10-31  8:44 ` [Bug ada/37977] " ebotcazou at gcc dot gnu dot org
@ 2008-10-31  9:12 ` krebbel at gcc dot gnu dot org
  2008-11-02 18:44 ` krebbel at gcc dot gnu dot org
  2008-11-02 18:49 ` krebbel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-10-31  9:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from krebbel at gcc dot gnu dot org  2008-10-31 09:11 -------
Ok. I'm bootstrapping a patch which mimics what has been done for Power.


-- 

krebbel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |krebbel at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-10-31 08:42:53         |2008-10-31 09:11:34
               date|                            |
            Summary|System.Address size stays 64|Missing ada multilib support
                   |bit with -m31               |for s390x


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


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

* [Bug ada/37977] Missing ada multilib support for s390x
  2008-10-31  8:28 [Bug ada/37977] New: System.Address size stays 64 bit with -m31 krebbel at gcc dot gnu dot org
  2008-10-31  8:44 ` [Bug ada/37977] " ebotcazou at gcc dot gnu dot org
  2008-10-31  9:12 ` [Bug ada/37977] Missing ada multilib support for s390x krebbel at gcc dot gnu dot org
@ 2008-11-02 18:44 ` krebbel at gcc dot gnu dot org
  2008-11-02 18:49 ` krebbel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-11-02 18:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from krebbel at gcc dot gnu dot org  2008-11-02 18:43 -------
Subject: Bug 37977

Author: krebbel
Date: Sun Nov  2 18:42:04 2008
New Revision: 141537

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141537
Log:
2008-11-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

        PR target/37977
        * gcc-interface/Makefile.in: Add multilib handling for
        s390-linux and s390x-linux.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/Makefile.in


-- 


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


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

* [Bug ada/37977] Missing ada multilib support for s390x
  2008-10-31  8:28 [Bug ada/37977] New: System.Address size stays 64 bit with -m31 krebbel at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-11-02 18:44 ` krebbel at gcc dot gnu dot org
@ 2008-11-02 18:49 ` krebbel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-11-02 18:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from krebbel at gcc dot gnu dot org  2008-11-02 18:48 -------
Fixed with the patch above.


-- 

krebbel at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-11-02 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-31  8:28 [Bug ada/37977] New: System.Address size stays 64 bit with -m31 krebbel at gcc dot gnu dot org
2008-10-31  8:44 ` [Bug ada/37977] " ebotcazou at gcc dot gnu dot org
2008-10-31  9:12 ` [Bug ada/37977] Missing ada multilib support for s390x krebbel at gcc dot gnu dot org
2008-11-02 18:44 ` krebbel at gcc dot gnu dot org
2008-11-02 18:49 ` krebbel 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).